:root {
    --color-primary: #f27a1a;
    --color-primary-dark: #e06c10;
    --color-primary-light: #fff4eb;
    --color-secondary: #1c1c1e;
    --color-accent: #f27a1a;
    --color-success: #16a34a;
    --color-error: #dc2626;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --container: 1200px;
    --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 9999;
    background: var(--color-primary); color: #fff; padding: 0.75rem 1rem;
    border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* Header — üst satır: logo + arama + bayi/satıcı/sepet; alt satır: menüler */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-wrap {
    display: flex;
    flex-direction: column;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem 0;
    min-height: 64px;
}

.logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-weight: 700; font-size: 1.25rem; color: var(--color-secondary);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px; height: 40px; background: var(--color-primary);
    color: #fff; border-radius: 10px;
    display: grid; place-items: center; font-weight: 700;
}

.header-search {
    flex: 1;
    max-width: 560px;
    display: flex;
    gap: .5rem;
    min-width: 0;
}

.header-search input {
    flex: 1;
    padding: .625rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: .9375rem;
}

.header-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(242,122,26,.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.header-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    transition: border-color .15s, color .15s, background .15s;
}

.header-portal-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.header-portal-icon { font-size: 1rem; line-height: 1; }

.header-nav {
    border-top: 1px solid var(--color-border);
    background: #fafbfc;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.header-nav li { flex-shrink: 0; }

.header-nav a,
.header-nav .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.header-nav-cta {
    color: var(--color-primary);
}

.header-nav a.header-nav-cta {
    font-weight: 600;
    border-bottom-color: var(--color-primary);
}

.header-nav-user {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

.header-nav-logout { display: flex; align-items: center; }

.user-greeting { font-size: 0.875rem; color: var(--color-text-muted); }

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.65rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
}

.cart-link:hover { border-color: var(--color-primary); color: var(--color-primary); }

.cart-icon { font-size: 1.125rem; line-height: 1; }

.cart-badge {
    background: var(--color-primary);
    color: #fff;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img { height: 40px; width: auto; object-fit: contain; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.625rem 1.25rem; border-radius: 8px;
    font-weight: 600; font-size: 0.9375rem;
    border: 2px solid transparent; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}

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

.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-ghost { background: transparent; color: var(--color-text); border: none; }
.btn-ghost:hover { color: var(--color-primary); }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.inline-form { display: inline; }

/* Alerts */
.alert {
    padding: 1rem 1.5rem; text-align: center; font-weight: 500;
}
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff; padding: 5rem 0;
}

.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin: 1rem 0; }
.hero-text { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.badge {
    display: inline-block; background: rgba(255,255,255,0.15);
    padding: 0.375rem 0.875rem; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600;
}

.badge-dealer { background: var(--color-accent); color: var(--color-secondary); }

.hero-card {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border-radius: var(--radius); padding: 2rem;
    display: grid; gap: 1.5rem;
}

.hero-card .stat strong { display: block; font-size: 1.75rem; }
.hero-card .stat span { opacity: 0.8; font-size: 0.875rem; }

.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--color-primary); }

/* Sections */
.section { padding: 4rem 0; }
.section-title { font-size: 2rem; margin-bottom: 0; }
.section-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.section-link { font-weight: 600; color: var(--color-primary); }
.section-link:hover { color: var(--color-primary-dark); }

.featured-products { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.product-card-body { padding: 0 0.25rem 0.5rem; }
.product-card h3 { font-size: 1rem; margin: 0.35rem 0 0.5rem; line-height: 1.4; color: var(--color-text); }
.product-category { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.product-price-old { text-decoration: line-through; color: var(--color-text-muted); font-size: 0.875rem; }
.product-card a:hover h3 { color: var(--color-primary); }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}

.features .section-title { text-align: center; width: 100%; margin-bottom: 2.5rem; }
.features .container > .section-title { margin-bottom: 2.5rem; }

.feature-card {
    background: var(--color-surface); padding: 2rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.feature-icon {
    width: 48px; height: 48px; background: var(--color-primary-light); color: var(--color-primary);
    border-radius: 10px; display: grid; place-items: center;
    font-weight: 700; margin-bottom: 1rem;
}

.feature-card h3 { margin-bottom: 0.5rem; }

/* CTA */
.cta { background: var(--color-secondary); color: #fff; }
.cta-inner { text-align: center; }
.cta h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta p { opacity: 0.8; margin-bottom: 1.5rem; }

/* Auth */
.auth-page { padding: 4rem 0; min-height: calc(100vh - var(--header-height) - 200px); display: grid; place-items: center; }
.auth-container { width: min(100% - 2rem, 440px); }
.auth-card {
    background: var(--color-surface); padding: 2.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.auth-card h1 { margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--color-text-muted); margin-bottom: 2rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--color-text-muted); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.375rem; font-size: 0.875rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--color-border); border-radius: 8px;
    font-size: 1rem; font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.15);
}

.form-hint { display: block; margin-top: 0.375rem; font-size: 0.8125rem; color: var(--color-text-muted); }

/* Page header */
.page-header {
    background: var(--color-surface); padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}
.page-header h1 { font-size: 2rem; }
.page-header p { color: var(--color-text-muted); margin-top: 0.5rem; }

.empty-state {
    text-align: center; padding: 4rem 2rem;
    background: var(--color-surface); border-radius: var(--radius);
}

/* Error */
.error-page { text-align: center; padding: 6rem 0; }
.error-page h1 { font-size: 6rem; color: var(--color-primary); }
.error-page p { margin: 1rem 0 2rem; color: var(--color-text-muted); }

/* Footer */
.site-footer {
    background: var(--color-secondary); color: #cbd5e1;
    padding: 3rem 0 1.5rem; margin-top: auto;
}

.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; margin-bottom: 2rem;
}

.footer-grid h3, .footer-grid h4 { color: #fff; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: #94a3b8; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #334155; padding-top: 1.5rem;
    text-align: center; font-size: 0.875rem;
}

/* Hesap menüsü (müşteri çıkış) */
.account-menu { position: relative; }
.account-menu > summary { list-style: none; cursor: pointer; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-dropdown {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
    min-width: 220px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: .35rem;
}
.account-dropdown-head { padding: .75rem .85rem; border-bottom: 1px solid #f1f5f9; margin-bottom: .25rem; }
.account-dropdown-head strong { display: block; font-size: .9rem; color: #1c2331; }
.account-dropdown-head span { font-size: .78rem; color: #94a3b8; word-break: break-all; }
.account-dropdown a, .account-logout {
    display: block; width: 100%; text-align: left; padding: .6rem .85rem;
    border-radius: 7px; color: #334155; font-size: .9rem; background: none; border: none;
    cursor: pointer; font-family: inherit;
}
.account-dropdown a:hover { background: #f8fafc; }
.account-logout { color: #dc2626; font-weight: 600; }
.account-logout:hover { background: #fef2f2; }
.show-mobile-only { display: none; }
@media (max-width: 768px) {
    .account-dropdown { right: auto; left: 0; }
    .show-mobile-only { display: block; }
}

/* Rich footer (takiborsasi tarzı) */
.site-footer--rich { background: #2b3445; color: #c7cedb; padding: 3rem 0 0; }
.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem;
    position: relative; padding-bottom: .5rem;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 60px; height: 2px; background: #59749c; border-radius: 2px;
}
.footer-col { text-align: center; }
.footer-brand { text-align: left; }
.footer-brand .footer-logo-img { margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-logo-text { color: #fff; font-size: 1.6rem; font-weight: 300; letter-spacing: .02em; margin-bottom: 1rem; }
.footer-brand p { margin: .35rem 0; font-size: .9rem; line-height: 1.5; }
.footer-brand strong { color: #fff; font-weight: 600; }
.footer-muted { color: #9aa6b8; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .75rem; }
.footer-col a { color: #b9c2d0; font-size: .9rem; transition: color .15s; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-socials { display: flex; gap: .6rem; margin: 1.1rem 0; }
.footer-social {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); color: #fff; transition: transform .15s, background .15s;
}
.footer-social:hover { transform: translateY(-2px); background: var(--color-primary, #7c3aed); color: #fff; }

.footer-whatsapp {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #25d366; color: #fff; font-weight: 700; font-size: 1.05rem;
    padding: .7rem 1.6rem; border-radius: 8px; margin-top: .5rem;
}
.footer-whatsapp:hover { background: #1ebe5a; color: #fff; }
.footer-whatsapp-icon { font-size: 1.2rem; }

.footer-payments { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.pay-badge {
    background: #fff; color: #1c2331; font-weight: 700; font-size: .68rem;
    padding: .35rem .55rem; border-radius: 5px; letter-spacing: .02em;
}
.pay-visa { color: #1a1f71; } .pay-mc { color: #eb001b; } .pay-maestro { color: #0099df; } .pay-amex { color: #2e77bb; }

.footer-newsletter {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; margin-top: 1rem;
}
.footer-newsletter-title { color: #fff; font-weight: 600; font-size: 1rem; }
.footer-newsletter-form { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; flex: 1; }
.footer-newsletter-form input[type="email"],
.footer-newsletter-form input[type="tel"] {
    padding: .65rem .9rem; border: none; border-radius: 6px; min-width: 180px; font-size: .9rem;
}
.footer-consent { display: inline-flex; align-items: center; gap: .4rem; color: #c7cedb; font-size: .85rem; }
.footer-newsletter-form .btn { padding: .65rem 1.6rem; }

.footer-bottom-bar { background: rgba(0,0,0,.18); padding: 1rem 0; margin-top: 0; }
.footer-bottom-bar p { color: #9aa6b8; font-size: .85rem; margin: 0; }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
    .footer-newsletter { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-col h4::after { left: 50%; }
}

/* İçerik / blog sayfaları */
.content-page { max-width: 860px; margin: 0 auto; line-height: 1.8; color: #334155; }
.content-page h2 { margin: 1.5rem 0 .75rem; font-size: 1.4rem; color: #1c2331; }
.content-page p { margin-bottom: 1rem; }
.content-page ul { margin: 0 0 1rem 1.25rem; }
.legal-doc .legal-updated { color: #64748b; font-size: 0.95rem; margin-bottom: 1.5rem; }
.checkout-legal-consents {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.checkout-legal-intro { margin: 0 0 0.75rem; font-size: 0.9rem; color: #475569; }
.checkout-legal-check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.5rem 0; font-size: 0.92rem; }
.checkout-legal-check input { margin-top: 0.2rem; flex-shrink: 0; }
.checkout-legal-check a { color: #ea580c; font-weight: 600; }

.contact-support-card {
    max-width: 860px;
    margin: 2rem auto 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.contact-support-head h2 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    color: #1c2331;
}

.contact-support-head p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.contact-support-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-support-form .form-group--full {
    grid-column: 1 / -1;
}

.contact-support-form input[type="text"],
.contact-support-form input[type="email"],
.contact-support-form input[type="file"],
.contact-support-form textarea {
    width: 100%;
}

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.blog-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card-cat { align-self: flex-start; background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.blog-card h2 { font-size: 1.1rem; line-height: 1.35; }
.blog-card h2 a { color: #1c2331; }
.blog-card p { color: #64748b; font-size: .9rem; flex: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: #94a3b8; margin-top: auto; }
.blog-card-link { color: var(--color-primary, #7c3aed); font-weight: 600; }

.blog-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 2.5rem; }
.blog-detail h1 { font-size: 2rem; margin: .5rem 0 1rem; color: #1c2331; }
.blog-detail-meta { display: flex; gap: 1rem; align-items: center; color: #94a3b8; font-size: .85rem; margin-bottom: 1.5rem; }
.blog-detail-cover { width: 100%; border-radius: 12px; margin-bottom: 1.5rem; }
.blog-sidebar h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.blog-recent { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.blog-recent a { display: flex; gap: .75rem; align-items: center; color: #334155; }
.blog-recent img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.blog-recent span { font-size: .85rem; line-height: 1.3; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination-link { padding: .5rem .85rem; border: 1px solid #e5e7eb; border-radius: 6px; color: #334155; }
.pagination-link.is-active { background: var(--color-primary, #7c3aed); color: #fff; border-color: transparent; }
@media (max-width: 800px) { .blog-detail-layout { grid-template-columns: 1fr; } }

/* Responsive */
/* Hero slider */
.hero-slider { position: relative; overflow: hidden; background: var(--color-secondary); }
.hero-slider-track { position: relative; min-height: var(--hero-slider-height-desktop, 480px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide-bg { width: 100%; height: 100%; object-fit: cover; min-height: var(--hero-slider-height-desktop, 480px); }
.hero-slide-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); padding: 2rem 0; z-index: 2; }
.hero-slide-content h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: .75rem; max-width: 640px; }
.hero-slide-content p { font-size: 1.125rem; margin-bottom: 1.5rem; max-width: 520px; opacity: .95; }
.hero-slider-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.hero-slider-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-slider-dot.is-active { background: var(--color-primary); width: 28px; border-radius: 999px; }
.hero-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--color-secondary); font-size: 1.5rem; cursor: pointer; }
.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }
@media (max-width: 768px) {
    .hero-slider-track,
    .hero-slide-bg { min-height: var(--hero-slider-height-mobile, 320px); }
}

.account-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.account-nav a { padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--color-text-muted); text-decoration: none; background: #f1f5f9; }
.account-nav a.is-active, .account-nav a:hover { background: #fff7ed; color: #ea580c; }
.account-layout { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 900px) {
    .account-layout { grid-template-columns: 220px 1fr; align-items: start; }
    .account-nav { flex-direction: column; border-bottom: none; border-right: 1px solid var(--color-border); padding-right: 1rem; margin-bottom: 0; padding-bottom: 0; }
}
.account-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-top: 1rem; }
.account-card { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 1.25rem; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; text-decoration: none; color: inherit; }
.account-card strong { font-size: 1.5rem; color: #f27a1a; }
.account-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.account-list-item { padding: 1rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
.account-list-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.account-panel { background: #f8fafc; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem; }
.account-subtitle { margin-top: 1.5rem; }
.return-items-list { display: flex; flex-direction: column; gap: 0.75rem; }
.return-item-row { display: flex; gap: 0.75rem; padding: 0.85rem; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; background: #fff; }
.return-item-row input[type="checkbox"] { margin-top: 0.35rem; flex-shrink: 0; }
.return-item-body { flex: 1; min-width: 0; }
.return-item-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.return-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.875rem; }
.return-qty-select { max-width: 5rem; }
.order-status-timeline { display: flex; align-items: flex-start; gap: 0; margin: 0 0 1.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.order-status-step { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: 88px; text-align: center; }
.order-status-step-marker { width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; background: #e2e8f0; color: #64748b; border: 2px solid #cbd5e1; }
.order-status-step.is-done .order-status-step-marker { background: #16a34a; border-color: #16a34a; color: #fff; }
.order-status-step.is-current .order-status-step-marker { background: #f27a1a; border-color: #f27a1a; color: #fff; box-shadow: 0 0 0 4px rgba(242,122,26,.15); }
.order-status-step-label { font-size: 0.78rem; font-weight: 600; color: #64748b; line-height: 1.3; }
.order-status-step.is-current .order-status-step-label { color: #ea580c; }
.order-status-step.is-done .order-status-step-label { color: #15803d; }
.order-status-connector { flex: 1; min-width: 1.5rem; height: 2px; background: #cbd5e1; margin-top: 1rem; }
.order-status-connector.is-done { background: #16a34a; }
.order-status-history { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.order-status-history li { padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; display: grid; gap: 0.2rem; }
.order-status-history span { font-size: 0.85rem; color: var(--color-text-muted); }
.order-status-history em { font-size: 0.85rem; color: #475569; font-style: normal; }
.saved-address-picker { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.saved-address-option { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.75rem; border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer; }
.saved-address-option input { margin-top: 0.2rem; }
.trust-bar { background: #fff; border-bottom: 1px solid var(--color-border); }
.home-ticker { background: #fff8e7; border-bottom: 1px solid #fde68a; color: #1c1917; overflow: hidden; }
.home-ticker-viewport { width: 100%; overflow: hidden; }
.home-ticker-track { display: flex; width: max-content; animation: home-ticker-scroll var(--ticker-duration, 35s) linear infinite; }
.home-ticker-group { display: flex; align-items: center; gap: 2.5rem; padding: 0.65rem 1.25rem; white-space: nowrap; }
.home-ticker-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.home-ticker-icon { font-size: 1rem; line-height: 1; }
@keyframes home-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-ticker-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
    .home-ticker-group[aria-hidden="true"] { display: none; }
}
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1rem 0; text-align: center; font-size: .875rem; font-weight: 600; color: var(--color-text); }
.trust-item::before { content: '✓ '; color: var(--color-primary); }

.category-scroll { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.category-chip { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; padding: .625rem 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); font-weight: 500; white-space: nowrap; }
.category-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.category-chip-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }

.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.vendor-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.25rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); color: inherit; transition: box-shadow .2s, border-color .2s; }
.vendor-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }
.vendor-card-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), #ff9a4d); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; }
.vendor-card-meta { font-size: .75rem; color: var(--color-text-muted); margin-top: .25rem; }
.vendor-card-score { font-size: .75rem; color: var(--color-primary); font-weight: 600; margin-top: .15rem; }
.store-perf-badge { font-size: .875rem; color: var(--color-primary); }

.campaign-band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.campaign-card { padding: 1.25rem; background: var(--color-primary-light); border: 1px solid #ffd9b8; border-radius: var(--radius); }
.campaign-card strong { display: block; color: var(--color-primary-dark); margin-bottom: .35rem; }

.product-card-image { position: relative; }
.product-badge { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .2rem .5rem; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.product-badge--sale { background: var(--color-primary); color: #fff; }
.product-card-link { color: inherit; display: block; }
.section-title--center { text-align: center; width: 100%; margin-bottom: 2.5rem; }


.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--color-border); z-index: 90; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom, 0); }
.mobile-bottom-bar a { padding: .75rem .5rem; text-align: center; font-size: .75rem; color: var(--color-text-muted); }

.pwa-install-banner {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #1e293b;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}
.pwa-install-banner[hidden] { display: none !important; }
.pwa-install-banner__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.pwa-install-banner__text { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.82rem; min-width: 0; }
.pwa-install-banner__text strong { font-size: 0.92rem; }
.pwa-install-banner__actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }
.pwa-install-banner__cancel {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
}
.pwa-install-banner__cancel:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pwa-install-banner__steps {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    line-height: 1.45;
}
.pwa-install-banner__steps[hidden] { display: none !important; }
.pwa-install-banner__steps-lead { margin: 0 0 0.45rem; font-weight: 600; font-size: 0.82rem; }
.pwa-install-banner__steps-list { margin: 0; padding-left: 1.15rem; }
.pwa-install-banner__steps-list li + li { margin-top: 0.35rem; }
.pwa-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .header-top { flex-wrap: wrap; gap: 0.65rem; padding: 0.5rem 0; }
    .header-search { order: 3; width: 100%; max-width: none; flex-basis: 100%; }
    .header-portal-text { display: none; }
    .header-portal-link { padding: 0.45rem 0.55rem; }
    .header-nav {
        display: none;
        border-top: 1px solid var(--color-border);
        background: #fff;
        box-shadow: var(--shadow);
    }
    .header-nav.is-open { display: block; }
    .header-nav ul { flex-direction: column; align-items: stretch; overflow-x: visible; }
    .header-nav a,
    .header-nav .btn-ghost { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); }
    .header-nav-user { padding: 0.5rem 1rem; }
    .mobile-menu-toggle { display: block; }
    .hide-mobile { display: none !important; }
    .mobile-bottom-bar { display: grid; }
    body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0)); }
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-slider-nav { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-steps { flex-wrap: wrap; gap: 0.5rem; }
    .checkout-steps .step { font-size: 0.78rem; padding: 0.45rem 0.75rem; }
    .cart-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cart-table { min-width: 640px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
    .pwa-install-banner { left: 0.5rem; right: 0.5rem; }
    .pwa-install-banner__main { flex-direction: column; align-items: stretch; }
    .pwa-install-banner__actions { justify-content: flex-end; }
}

/* Shop */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.category-list { list-style: none; }
.category-list a { display: block; padding: 0.5rem 0; color: var(--color-text-muted); }
.category-list a.active, .category-list a:hover { color: var(--color-primary); font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--color-surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow 0.2s, transform 0.2s; padding: 0.75rem; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card a { color: inherit; display: block; }
.product-card a > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 0.75rem; background: #f1f5f9; }
.product-card .product-card-body { padding: 0 0.25rem 0.75rem; }
.product-price { font-weight: 700; color: var(--color-primary); font-size: 1.125rem; }
.search-form { display: flex; gap: 0.5rem; margin-top: 1rem; max-width: 400px; }
.search-form input { flex: 1; padding: 0.625rem 1rem; border: 1px solid var(--color-border); border-radius: 8px; }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.pagination a { padding: 0.5rem 0.875rem; border: 1px solid var(--color-border); border-radius: 6px; }
.pagination a.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.shop-filters h3 { font-size: 0.95rem; margin: 1.25rem 0 0.5rem; }
.shop-filters h3:first-child { margin-top: 0; }
.filter-price-row { display: flex; align-items: center; gap: 0.5rem; }
.filter-price-row input { width: 100%; padding: 0.5rem; border: 1px solid var(--color-border); border-radius: 6px; }
.filter-check-list { list-style: none; margin: 0 0 0.75rem; padding: 0; max-height: 180px; overflow-y: auto; }
.filter-check-list li { margin-bottom: 0.35rem; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.shop-sort-form select { margin-left: 0.5rem; padding: 0.35rem 0.5rem; border-radius: 6px; border: 1px solid var(--color-border); }
.product-brand { font-size: 0.8rem; color: var(--color-text-muted); margin: 0.25rem 0; }
.product-qa { padding: 2rem 0 3rem; }
.qa-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.qa-item { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.qa-meta { color: var(--color-text-muted); font-size: 0.8rem; }
.lang-switcher { display: inline-flex; gap: 0.25rem; align-items: center; }
.lang-link { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.4rem; border-radius: 4px; color: var(--color-text-muted); text-decoration: none; }
.lang-link.is-active, .lang-link:hover { color: var(--color-primary); background: #fff7ed; }
.product-badge--ad { background: #1e293b; color: #fff; }
.product-card--sponsored { border-color: #fcd34d; }

/* Product detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0; }
.product-gallery img { width: 100%; border-radius: var(--radius); background: #f1f5f9; }
.price-current { font-size: 2rem; font-weight: 700; color: var(--color-primary); }
.price-compare { text-decoration: line-through; color: var(--color-text-muted); margin-left: 0.5rem; }
.breadcrumb { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.add-to-cart-form { margin-top: 1.5rem; }

/* Cart & Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.cart-product { display: flex; gap: 1rem; align-items: center; }
.cart-product img { border-radius: 6px; object-fit: cover; }
.cart-summary { background: var(--color-surface); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); position: sticky; top: 90px; }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.cart-summary .total { font-weight: 700; font-size: 1.25rem; color: var(--color-primary); }
.text-success { color: var(--color-success); }
.coupon-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.coupon-form input { flex: 1; padding: 0.625rem; border: 1px solid var(--color-border); border-radius: 8px; }
.checkout-steps { display: flex; gap: 1rem; justify-content: center; margin: 1.5rem 0; }
.checkout-steps .step { padding: 0.5rem 1rem; border-radius: 999px; background: #e2e8f0; font-size: 0.875rem; }
.checkout-steps .step.active { background: var(--color-primary); color: #fff; }
.checkout-steps .step.done { background: var(--color-success); color: #fff; }
.payment-option { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 2px solid var(--color-border); border-radius: 8px; margin-bottom: 0.75rem; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-light); }
.address-summary { background: #f8fafc; padding: 1rem; border-radius: 8px; margin: 1rem 0; }
.success-page .success-icon { width: 80px; height: 80px; background: var(--color-success); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.bank-info { background: #f8fafc; padding: 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; text-align: left; }
.dealer-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.dealer-stats .stat-card { background: var(--color-surface); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); }
.dealer-stats strong { display: block; font-size: 1.5rem; color: var(--color-primary); margin-top: 0.25rem; }
.dealer-actions { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

.empty-store {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text-muted);
}

.empty-store p { margin-bottom: 1.25rem; max-width: 420px; margin-left: auto; margin-right: auto; }

/* Favori listesi */
.product-card { position: relative; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.wishlist-btn {
    border: 1px solid var(--color-border);
    background: #fff;
    color: #94a3b8;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.wishlist-btn.is-active,
.wishlist-btn:hover { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.wishlist-card-form,
.wishlist-remove-form { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; margin: 0; }
.wishlist-card-form .wishlist-btn,
.wishlist-remove-form .wishlist-btn { width: 2rem; height: 2rem; font-size: 1rem; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.product-card--wishlist .wishlist-add-cart { padding: 0 0.25rem 0.75rem; }
.product-rating { color: var(--color-text-muted); font-size: 0.9375rem; margin: 0.25rem 0 0.75rem; }
.product-rating .stars { color: #f59e0b; }

@media (max-width: 768px) {
    .shop-layout, .checkout-layout, .product-detail-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .contact-support-form { grid-template-columns: 1fr; }
}

/* --- Faz 1: Ücretsiz kargo progress --- */
.free-shipping-progress {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: var(--radius, 10px);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}
.free-shipping-progress__head {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.free-shipping-progress__head p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-text, #1e293b);
}
.free-shipping-progress__icon {
    font-size: 1.15rem;
    line-height: 1;
}
.free-shipping-progress__bar {
    height: 8px;
    background: rgba(242, 122, 26, 0.15);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}
.free-shipping-progress__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary, #f27a1a), #ea580c);
    border-radius: 999px;
    transition: width 0.3s ease;
}
.free-shipping-progress__hint {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted, #64748b);
}
