/* ============ Araç Yedek Parça — Vitrin Stili ============ */
:root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --ink: #16202c;
    --ink-soft: #5a6a7d;
    --line: #e2e8f0;
    --brand: #10233c;
    --brand-2: #1b3a5f;
    --accent: #f0632a;
    --accent-dark: #d4531f;
    --success: #178a50;
    --danger: #cf3341;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(16, 35, 60, .07);
    --shadow-lg: 0 10px 30px rgba(16, 35, 60, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--ink-soft); }

/* ---------- Header (kompakt) ---------- */
.site-header {
    background: var(--brand);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    min-width: 0;
}
.logo-mark { color: var(--accent); flex-shrink: 0; width: 28px; height: 28px; }
.logo-img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 9px;
    display: block;
    background: #fff;
}
.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    padding: 8px 13px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.main-nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.main-nav .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    margin-left: 6px;
}
.main-nav .phone-btn:hover { background: var(--accent-dark); }

/* Sepet düğmesi */
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    color: rgba(255, 255, 255, .9);
    transition: background .15s;
}
.cart-btn:hover, .cart-btn.active { background: rgba(255, 255, 255, .12); color: #fff; }
.cart-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--accent);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero + arama kartı ---------- */
.hero {
    background:
        radial-gradient(ellipse at 80% -20%, rgba(240, 99, 42, .18), transparent 55%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, #24507f 100%);
    color: #fff;
    padding: 46px 0 30px;
}
.hero-text { text-align: center; margin-bottom: 26px; }
.hero h1 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin-bottom: 8px; letter-spacing: .2px; }
.hero p { font-size: clamp(.88rem, 1.8vw, 1.02rem); opacity: .78; max-width: 620px; margin: 0 auto; }

.search-card {
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(6, 16, 30, .28);
    padding: 18px 20px;
    margin-bottom: -58px;
    position: relative;
    z-index: 2;
}
.search-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Arama kartından sonra gelen bölümlere kartın taşma payı kadar boşluk */
.features-strip { padding-top: 78px; }

.filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 140px; flex: 1 1 140px; }
.filter-field.grow { flex: 2 1 220px; }
.filter-field label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }
.filter-field input,
.filter-field select {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .93rem;
    background: #fff;
    color: var(--ink);
}
.filter-field input:focus,
.filter-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.filter-actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------- Özellik şeridi ---------- */
.features-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 6px;
}
.feature-item svg { color: var(--accent); flex-shrink: 0; }
.feature-item strong { display: block; font-size: .88rem; }
.feature-item span { display: block; font-size: .74rem; color: var(--ink-soft); margin-top: 1px; }

/* ---------- Bildirimler (toast) ---------- */
.toast-stack {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(440px, calc(100vw - 28px));
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(6, 16, 30, .22);
    animation: toast-in .25s ease;
    background: #fff;
    border: 1px solid var(--line);
}
.toast span { flex: 1; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-link {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: underline;
    font-size: .84rem;
}
.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 2px 4px;
}
.toast-hide { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Form alan ipuçları ---------- */
.field-hint { font-size: .74rem; min-height: 1em; }
.hint-ok { color: var(--success); }
.hint-error { color: var(--danger); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb457; }

/* ---------- Ürün listesi ---------- */
.products-section { padding: 36px 0 60px; }
.featured-section { padding-bottom: 0; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.section-head h2 { font-size: 1.5rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: #eef1f5; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aeb9c6;
    font-size: .8rem;
}
.thumb-badge { position: absolute; top: 10px; left: 10px; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--brand);
    color: #fff;
    letter-spacing: .2px;
}
.tag-soft { background: #e8eef6; color: var(--brand-2); }
.product-body h3 { font-size: 1rem; line-height: 1.35; }
.product-body h3 a:hover { color: var(--accent-dark); }
.product-code { font-size: .78rem; color: var(--ink-soft); }
.product-foot {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.product-price { font-size: 1.08rem; font-weight: 700; color: var(--accent-dark); }
.btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}
.btn-add:hover { background: var(--accent); }
.btn-add:active { transform: scale(.94); }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
}
.badge-accent { background: var(--accent); color: #fff; }
.badge-success { background: #e2f5eb; color: var(--success); }
.badge-danger { background: #fbe4e6; color: var(--danger); }

/* ---------- Boş durum ---------- */
.empty-state {
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 60px 24px;
    text-align: center;
    color: var(--ink-soft);
}
.empty-state svg { margin: 0 auto 14px; opacity: .45; }
.empty-state h3 { color: var(--ink); margin-bottom: 6px; }
.empty-state .btn { margin-top: 16px; }

/* ---------- Sayfalama ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination a, .pagination .current {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: .9rem;
    font-weight: 600;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Ürün detay ---------- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--ink-soft);
    margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb strong { color: var(--ink); }

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.gallery-main {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f5;
    border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #aeb9c6; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
    width: 72px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--line);
    padding: 0;
    cursor: pointer;
    background: #eef1f5;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); }

.detail-info h1 { font-size: 1.5rem; margin: 10px 0 6px; }
.detail-price { font-size: 1.6rem; font-weight: 800; color: var(--accent-dark); margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.spec-table th, .spec-table td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
}
.spec-table th { color: var(--ink-soft); font-weight: 600; width: 42%; }
.detail-desc h3 { font-size: 1.02rem; margin-bottom: 8px; }
.detail-desc p { font-size: .93rem; color: #33404f; }
.detail-contact { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- İletişim ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.contact-card h3 { margin-bottom: 14px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.contact-list.big { font-size: .98rem; gap: 12px; }
.contact-list a:hover { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .82); margin-top: 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    padding: 40px 20px 30px;
}
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { font-size: .88rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 14px 0;
    font-size: .8rem;
    text-align: center;
}

/* ---------- Bildirimler ---------- */
.notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: .9rem;
    font-weight: 500;
}
.notice-success { background: #e2f5eb; color: #0e6a3c; border: 1px solid #bfe8d2; }
.notice-error { background: #fbe4e6; color: #a02531; border: 1px solid #f3c3c8; }
.notice-warning { background: #fff4e0; color: #8a5a00; border: 1px solid #f3ddb0; line-height: 1.6; }
.badge-warning { background: #fff4e0; color: #b46a00; }

/* ---------- Sayfa girişleri (Hakkımızda, SSS) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, #24507f 100%);
    color: #fff;
    padding: 36px 0 40px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 6px; }
.page-hero p { font-size: .92rem; opacity: .8; max-width: 560px; margin: 0 auto; }

.content-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 32px;
}
.about-content p { margin-bottom: 16px; font-size: .96rem; line-height: 1.75; color: #2a3644; }
.about-content p:first-of-type::first-letter {
    font-size: 2.6rem;
    font-weight: 800;
    float: left;
    line-height: 1;
    padding-right: 10px;
    color: var(--accent);
}
.about-content p:last-child { margin-bottom: 0; }
.about-cta { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.inline-link { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

/* ---------- SSS ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--ink-soft); transition: transform .2s; }
.faq-item[open] summary { color: var(--accent-dark); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p { font-size: .9rem; line-height: 1.7; color: #33404f; }
.faq-more {
    text-align: center;
    margin-top: 28px;
    padding: 24px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.faq-more p { margin-bottom: 12px; color: var(--ink-soft); }

/* ---------- Ödeme koşulu onayı ---------- */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .84rem;
    line-height: 1.6;
    color: #33404f;
    cursor: pointer;
}
.terms-check input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent); }

/* ---------- Satın alma kutusu (ürün detay) ---------- */
.buy-box {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.qty-field { display: flex; flex-direction: column; gap: 5px; }
.qty-field label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }
.qty-input {
    width: 76px;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .95rem;
    text-align: center;
    font-family: inherit;
}
.qty-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.btn-lg { padding: 12px 26px; font-size: 1rem; }
.btn-disabled { background: #e6eaf0; color: #9aa7b6; cursor: not-allowed; }

/* ---------- Sipariş adımları ---------- */
.checkout-steps {
    list-style: none;
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.checkout-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.checkout-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--line);
    color: var(--ink-soft);
    font-size: .74rem;
    font-weight: 700;
}
.checkout-steps li.active { border-color: var(--accent); color: var(--ink); }
.checkout-steps li.active span { background: var(--accent); color: #fff; }
.checkout-steps li.done { color: var(--success); border-color: #bfe8d2; }
.checkout-steps li.done span { background: var(--success); color: #fff; }

/* ---------- Sepet ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}
.cart-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.cart-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cart-table th, .cart-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.cart-table thead th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ink-soft);
    background: #f7f9fc;
}
.cart-img-cell { width: 64px; }
.cart-img-cell img, .cart-noimg {
    width: 56px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    display: block;
}
.cart-noimg { display: flex; align-items: center; justify-content: center; background: #f1f4f8; color: #aab5c2; }
.cart-name-cell a { font-weight: 600; }
.cart-name-cell a:hover { color: var(--accent-dark); }
.cart-name-cell small { display: block; margin-top: 2px; }
.cart-remove {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}
.cart-remove:hover { color: var(--danger); background: #fbe4e6; }
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    flex-wrap: wrap;
}

/* ---------- Sipariş özeti ---------- */
.cart-summary {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    position: sticky;
    top: 76px;
}
.cart-summary h3 { font-size: 1.02rem; margin-bottom: 14px; }
.summary-items { list-style: none; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .85rem;
    padding: 4px 0;
}
.summary-items em { font-style: normal; color: var(--ink-soft); }
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: .9rem;
}
.summary-total {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 1.05rem;
    font-weight: 700;
}
.summary-total span:last-child { color: var(--accent-dark); }
.cart-summary .btn-block { margin-top: 12px; width: 100%; }
.summary-note { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
.back-link { display: inline-block; margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }
.back-link:hover { color: var(--accent-dark); }

/* ---------- Ödeme (checkout) ---------- */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}
.checkout-main { display: flex; flex-direction: column; gap: 20px; }
.checkout-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 0;
}
.checkout-card + .checkout-card { margin-top: 20px; }
.checkout-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.form-grid-public {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-grid-public .form-field { display: flex; flex-direction: column; gap: 5px; }
.form-grid-public .form-field.span-2 { grid-column: span 2; }
.form-grid-public label { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.form-grid-public input,
.form-grid-public textarea {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .93rem;
    font-family: inherit;
}
.form-grid-public input:focus,
.form-grid-public textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-grid-public textarea { resize: vertical; }

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.payment-option + .payment-option { margin-top: 10px; }
.payment-option:hover { border-color: var(--accent); }
.payment-option.selected, .payment-option:has(input:checked) { border-color: var(--accent); background: #fdf3ee; }
.payment-option input { margin-top: 4px; accent-color: var(--accent); }
.payment-option-body { display: flex; flex-direction: column; gap: 3px; }
.payment-option-body small { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Sipariş onayı ---------- */
.order-success {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 24px;
    margin-bottom: 20px;
}
.order-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e2f5eb;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.order-success h1 { font-size: 1.4rem; margin-bottom: 8px; }
.order-no { color: var(--accent-dark); letter-spacing: .5px; }
.order-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.badge-status { background: #e8eef6; color: var(--brand-2); }
.order-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 16px; }
.order-table th, .order-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.order-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }
.order-table tfoot th { border-bottom: none; font-size: 1rem; white-space: nowrap; }
.order-table td:last-child, .order-table th:last-child { white-space: nowrap; }
.order-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.order-info-grid h4 { font-size: .86rem; margin-bottom: 6px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .5px; }
.order-info-grid p { font-size: .9rem; }
.order-footer-actions { display: flex; justify-content: center; margin-top: 20px; }
.checkout-card .btn-whatsapp { margin-top: 6px; }

/* ---------- Ödeme / IBAN ---------- */
.payment-note { font-size: .86rem; color: var(--ink-soft); margin-bottom: 14px; }
.iban-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.iban-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 11px 14px;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line);
}
.iban-bank { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--accent-dark); }
.iban-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--line);
}
.iban-field:last-child { border-bottom: none; }
.iban-field-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.iban-field-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }
.iban-field-value { font-size: .92rem; font-weight: 600; word-break: break-word; }
.iban-field-value.mono {
    font-family: "Consolas", "SF Mono", "Menlo", monospace;
    color: var(--brand-2);
    letter-spacing: .4px;
    word-break: break-all;
}
.btn-copy { flex-shrink: 0; }
.btn-copy.copied { border-color: var(--success); color: var(--success); background: #e2f5eb; }
.payment-steps { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.payment-steps h4 { font-size: .95rem; margin-bottom: 10px; }
.payment-steps ol { padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: .9rem; color: #33404f; }

/* ---------- Duyarlılık ---------- */
@media (max-width: 860px) {
    .product-detail { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
    .detail-info h1 { font-size: 1.25rem; }
    .detail-price { font-size: 1.35rem; }

    /* Kompakt mobil header + açılır menü */
    .header-inner { min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
    .logo-img { width: 30px; height: 30px; border-radius: 7px; }
    .logo-text { font-size: .98rem; }
    .logo-mark { width: 24px; height: 24px; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--brand-2);
        padding: 10px 14px 14px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
    .site-header { position: sticky; }
    .header-inner { position: relative; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 14px; font-size: .95rem; }
    .main-nav .phone-btn { margin: 8px 0 0; justify-content: center; }

    .hero { padding: 26px 0 24px; }
    .hero-text { margin-bottom: 18px; }
    .search-card { padding: 14px; margin-bottom: -40px; }
    .features-strip { padding-top: 56px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .feature-item { padding: 8px 4px; }
    .products-section { padding: 24px 0 44px; }
    .featured-section { padding-bottom: 0; }

    /* Sepet ve ödeme tek sütuna iner */
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .order-info-grid { grid-template-columns: 1fr; }
    .checkout-card { padding: 16px; }

    /* Sepet tablosu kart görünümüne dönüşür */
    .cart-table thead { display: none; }
    .cart-table tr {
        display: grid;
        grid-template-columns: 64px 1fr auto;
        grid-template-areas:
            "img name remove"
            "img price price"
            "img qty total";
        gap: 4px 10px;
        padding: 12px 14px;
        border-bottom: 1px solid var(--line);
        align-items: center;
    }
    .cart-table td { display: block; padding: 0; border: none; }
    .cart-img-cell { grid-area: img; }
    .cart-name-cell { grid-area: name; }
    .cart-remove-cell { grid-area: remove; text-align: right; }
    .cart-table td[data-label="Birim Fiyat"] { grid-area: price; font-size: .8rem; color: var(--ink-soft); }
    .cart-table td[data-label="Adet"] { grid-area: qty; }
    .cart-table td[data-label="Tutar"] { grid-area: total; text-align: right; }
    .qty-input { width: 64px; padding: 8px 6px; }
}
@media (max-width: 560px) {
    .search-row { flex-direction: column; align-items: stretch; }
    .filter-field { min-width: 0; flex: 0 0 auto; }
    .filter-field.grow { flex: 0 0 auto; }
    .filter-actions { display: flex; }
    .filter-actions .btn { flex: 1; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-item span { display: none; }
    .feature-item strong { font-size: .8rem; }
    .feature-item svg { width: 20px; height: 20px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .product-body { padding: 10px 12px 12px; }
    .product-body h3 { font-size: .88rem; }
    .product-price { font-size: .98rem; }
    .container { padding: 0 14px; }
    .section-head h2 { font-size: 1.2rem; }
    .iban-field { gap: 8px; }
    .btn-copy { padding: 6px 10px; font-size: .78rem; }
    .detail-contact { flex-direction: column; }
    .detail-contact .btn { width: 100%; }
    .footer-grid { padding: 28px 14px 20px; gap: 20px; }
    .buy-box .btn-lg { flex: 1; }
    .form-grid-public { grid-template-columns: 1fr; }
    .form-grid-public .form-field.span-2 { grid-column: span 1; }
    .checkout-steps li { padding: 7px 10px; font-size: .76rem; }
    .cart-actions { flex-direction: column; }
    .cart-actions .btn { width: 100%; }
}
