/* EG Teknoloji — orijinal marka tasarımına (app/globals.css) uyarlanmış tema. Build gerektirmez. */
:root {
    --eg-red: #f3131b;
    --eg-red-dark: #c90d14;
    --eg-red-soft: #fff0f1;
    --eg-ink: #16181d;
    --eg-charcoal: #24272e;
    --eg-steel: #626773;
    --eg-line: #e5e7eb;
    --eg-cloud: #f4f5f7;
    --eg-paper: #ffffff;
    --eg-success: #16834b;
    --eg-warning: #d97706;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
    --shadow-sm: 0 8px 28px rgba(19, 23, 31, 0.07);
    --shadow-lg: 0 28px 70px rgba(11, 15, 24, 0.17);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1440px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--eg-ink);
    background: var(--eg-paper);
    line-height: 1.55;
    font-size: .93rem;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; }
h1 { font-size: 1.55rem; font-weight: 800; } h2 { font-size: 1.15rem; font-weight: 800; } h3 { font-size: .95rem; font-weight: 700; }
img { max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.narrow { max-width: 460px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--eg-steel); font-size: .85rem; }

/* ===== Üst bar ===== */
.site-header { position: relative; z-index: 80; background: #fff; }
.top-strip { background: var(--eg-ink); color: rgba(255,255,255,.78); font-size: .77rem; }
.top-strip-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-strip-inner p { margin: 0; white-space: nowrap; flex: 0 0 auto; }
.top-strip nav { display: flex; gap: 24px; }
.top-strip a:hover { color: #fff; }

/* Üst barda canlı piyasa tikerı (BTC/USD) — ana sayfadan buraya taşındı */
.strip-marquee {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.strip-marquee__track {
    display: flex;
    width: max-content;
    animation: brand-scroll 34s linear infinite;
}
.strip-marquee:hover .strip-marquee__track { animation-play-state: paused; }
.strip-marquee__item {
    display: inline-flex;
    align-items: center;
    padding: 0 26px;
    font-family: 'Montserrat', var(--font-display);
    font-weight: 800;
    font-size: .77rem;
    letter-spacing: .03em;
    color: rgba(255,255,255,.92);
    white-space: nowrap;
    position: relative;
}
.strip-marquee__item::after {
    content: "";
    position: absolute;
    right: 0;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
}
.strip-marquee a.strip-marquee__item { text-decoration: none; }
.strip-marquee__item:hover { color: #fff; }
.strip-marquee .ticker-val { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: 6px; }
.strip-marquee .ticker-live { color: var(--eg-red); display: inline-flex; align-items: center; }

.header-inner { min-height: 98px; display: grid; grid-template-columns: 170px minmax(260px, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 36px); }
.brand-logo img { width: 100%; max-width: 150px; height: auto; display: block; }

.search-shell form {
    display: flex; align-items: center; gap: 10px;
    border: 2px solid var(--eg-line); border-radius: 999px; padding: 4px 6px 4px 18px;
    background: var(--eg-cloud); transition: border-color .15s ease;
}
.search-shell form:focus-within { border-color: var(--eg-red); background: #fff; }
.search-shell svg { color: var(--eg-steel); flex-shrink: 0; }
.search-shell input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 9px 0; outline: none; }
.search-shell button {
    border: 0; border-radius: 999px; padding: 10px 26px; cursor: pointer;
    background: var(--eg-red); color: #fff; font: 800 .84rem var(--font-body);
}
.search-shell button:hover { background: var(--eg-red-dark); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-action {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 13px; border: 0; border-radius: var(--radius-sm); background: transparent;
    font: inherit; cursor: pointer; color: var(--eg-ink);
}
.header-action:hover { background: var(--eg-cloud); }
.header-action svg { width: 23px; height: 23px; }
.header-action span { display: grid; text-align: left; font-weight: 800; line-height: 1.2; font-size: .82rem; }
.header-action small { color: var(--eg-steel); font-size: .7rem; font-weight: 500; }
.header-action em {
    position: absolute; right: 2px; top: 2px; min-width: 18px; height: 18px;
    display: grid; place-items: center; border-radius: 999px; padding: 0 5px;
    background: var(--eg-red); color: #fff; font: 800 .66rem var(--font-body); font-style: normal;
}
.inline-form { display: inline; }

/* Kategori navigasyonu */
.desktop-nav-wrap { border-block: 1px solid var(--eg-line); }
.desktop-nav { min-height: 54px; display: flex; align-items: center; gap: clamp(15px, 2vw, 32px); overflow: visible; }
.desktop-nav a { position: relative; font-size: .82rem; font-weight: 800; white-space: nowrap; padding: 16px 0; }
.desktop-nav a:hover { color: var(--eg-red); }
.desktop-nav .nav-all { display: inline-flex; align-items: center; gap: 9px; color: #fff; background: var(--eg-red); padding: 10px 18px; border-radius: var(--radius-sm); }
.desktop-nav .nav-all:hover { background: var(--eg-red-dark); color: #fff; }
.desktop-nav .nav-sale { color: var(--eg-red); }

main.container { padding: clamp(20px, 3vw, 34px) clamp(16px, 3vw, 40px) 64px; min-height: 60vh; }

/* ===== Bildirimler ===== */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; font-size: .87rem; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #ecfdf5; color: var(--eg-success); border: 1px solid #a7f3d0; }
.alert-error { background: var(--eg-red-soft); color: var(--eg-red-dark); border: 1px solid #fecaca; }

/* ===== Kart & bölümler ===== */
.card { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md); padding: 22px; margin-bottom: 16px; }
.section { margin-bottom: 42px; }
.section > h2 { margin: 0 0 16px; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.page-head { margin-bottom: 22px; }
.page-head p { color: var(--eg-steel); }
.empty-state { border: 1px dashed var(--eg-line); border-radius: var(--radius-md); padding: 40px; text-align: center; color: var(--eg-steel); background: var(--eg-cloud); }
.empty-state a { color: var(--eg-red); font-weight: 700; }

/* ===== Kategori kartları ===== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.category-card {
    display: block; background: var(--eg-cloud); border: 1px solid transparent;
    border-radius: var(--radius-md); padding: 22px 16px; text-align: center;
    font: 800 .9rem var(--font-display); transition: .18s ease;
}
.category-card:hover { background: var(--eg-red-soft); border-color: var(--eg-red); color: var(--eg-red); transform: translateY(-3px); }

/* ===== Ürün kartları ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.product-card {
    min-width: 0; overflow: hidden; border: 1px solid var(--eg-line); border-radius: var(--radius-md);
    background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: #d5d8de; box-shadow: var(--shadow-sm); }
.product-card > a { display: block; }
.product-card-media { position: relative; aspect-ratio: 1.18 / 1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f8f9fa, #eef0f3); }
.product-card-media img { width: 94%; height: 94%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-card-media img { transform: scale(1.035); }
.badge-discount {
    position: absolute; left: 12px; top: 12px; z-index: 2;
    background: var(--eg-red); color: #fff; border-radius: 999px; padding: 4px 11px;
    font: 800 .68rem var(--font-body);
}
.no-image { color: var(--eg-steel); font-size: .8rem; font-weight: 600; }
.no-image.large { aspect-ratio: 1.18/1; background: linear-gradient(145deg, #f8f9fa, #eef0f3); display: grid; place-items: center; border-radius: var(--radius-md); }
.product-card-body { padding: 15px; }
.product-card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--eg-steel); font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.product-card-title {
    min-height: 45px; display: -webkit-box; margin: 8px 0; overflow: hidden;
    font: 750 .86rem/1.42 var(--font-display);
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.product-card:hover .product-card-title { color: var(--eg-red); }
.product-card-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.product-card-price s { color: var(--eg-steel); font-size: .78rem; }
.product-card-price strong { font: 850 1.08rem var(--font-display); color: var(--eg-ink); display: block; }

/* ===== Ürün kartı - Sepete Ekle butonu ===== */
.product-card-price { gap: 8px; }
.product-card-cart { display: flex; align-items: center; margin-left: auto; }
.btn-cart-add {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--eg-red); color: #fff; cursor: pointer;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.btn-cart-add:hover { background: var(--eg-red-dark); transform: scale(1.08); }
.btn-cart-add:active { transform: scale(.95); }

/* ===== Ürün Carousel (sağdan sola kayan) ===== */
.product-carousel { overflow: hidden; }
.product-carousel__track {
    display: flex; gap: 16px;
    animation: product-scroll 30s linear infinite;
    width: max-content;
}
.product-carousel__track:hover { animation-play-state: paused; }
.product-carousel__item {
    flex: 0 0 calc((100vw - 80px) / 5);
    min-width: 0;
}
.product-carousel__track .product-card { width: 100%; }
@keyframes product-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 1024px) {
    .product-carousel__item { flex: 0 0 calc((100vw - 64px) / 4); }
}
@media (max-width: 768px) {
    .product-carousel__item { flex: 0 0 calc((100vw - 48px) / 3); }
}
@media (max-width: 480px) {
    .product-carousel__item { flex: 0 0 calc(100vw - 32px); }
    .product-carousel__track { gap: 12px; }
}
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--eg-cloud); color: var(--eg-charcoal); white-space: nowrap; }
.badge-muted { background: var(--eg-cloud); color: var(--eg-steel); }

/* ===== Ürün detay ===== */
.breadcrumb { font-size: .82rem; color: var(--eg-steel); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--eg-red); }
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 48px); background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); }
.main-image { width: 100%; aspect-ratio: 1.18/1; object-fit: contain; background: linear-gradient(145deg,#f8f9fa,#eef0f3); border-radius: var(--radius-md); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img { width: 66px; height: 66px; object-fit: contain; border: 1px solid var(--eg-line); border-radius: var(--radius-sm); cursor: pointer; background: #fafafa; }
.thumbs img:hover { border-color: var(--eg-red); }
.product-summary h1 { margin: 6px 0 4px; }
.product-brand { color: var(--eg-steel); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.sku { color: var(--eg-steel); font-size: .8rem; }
.product-price { margin: 12px 0; }
.product-price s { color: var(--eg-steel); margin-right: 10px; }
.product-price strong { font: 850 1.9rem var(--font-display); color: var(--eg-ink); }
.stock-ok { color: var(--eg-success); font-weight: 800; font-size: .86rem; }
.stock-out { color: var(--eg-red); font-weight: 800; }
.add-to-cart { display: flex; gap: 10px; margin: 16px 0; }
.add-to-cart input { width: 82px; padding: 12px; border: 1px solid var(--eg-line); border-radius: var(--radius-sm); font: inherit; }
.add-to-cart .btn { white-space: nowrap; }
.payment-note { background: var(--eg-red-soft); border: 1px solid #fecaca; color: var(--eg-red-dark); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; }
.product-description { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md); padding: 24px; }

/* ===== Butonlar & formlar ===== */
.btn {
    display: inline-block; padding: 12px 24px; border: 1px solid var(--eg-line);
    background: #fff; color: var(--eg-ink); border-radius: 999px;
    font: 800 .86rem var(--font-body); cursor: pointer; text-align: center;
    transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--eg-red); border-color: var(--eg-red); color: #fff; box-shadow: 0 10px 24px rgba(243, 19, 27, .2); }
.btn-primary:hover { background: var(--eg-red-dark); }
.btn-block { display: block; width: 100%; }
.btn-small { padding: 7px 16px; font-size: .78rem; }
.btn-danger { background: #c62828; color: #fff; border-color: #c62828; }
.btn-danger:hover { background: #a92222; }
.link-button { background: none; border: none; color: var(--eg-ink); cursor: pointer; font: 700 .85rem var(--font-body); padding: 0; }
.link-button:hover { color: var(--eg-red); }
.link-button.danger { color: var(--eg-red); }

label { display: block; margin-bottom: 13px; font-size: .84rem; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--eg-line); border-radius: var(--radius-sm);
    font: inherit; margin-top: 5px; background: #fff; color: var(--eg-ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--eg-red-soft); border-color: var(--eg-red); }
.checkbox { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.checkbox input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--eg-red); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 16px; }
.inline-fields { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-fields input, .inline-fields select { width: auto; margin: 0; }

/* ===== Tablolar ===== */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md); overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--eg-line); font-size: .86rem; vertical-align: middle; }
.table thead th { background: var(--eg-cloud); font: 800 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .04em; color: var(--eg-steel); }
.table tbody tr:last-child td { border-bottom: none; }
.thumb-cell img { width: 46px; height: 46px; object-fit: contain; background: var(--eg-cloud); border-radius: var(--radius-sm); }
.stock-low { color: var(--eg-red); font-weight: 800; }
.row-form-cell { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; }
.row-form input[type="text"] { width: auto; flex: 1; min-width: 140px; margin: 0; }
.row-form input[type="number"], .row-form select { width: auto; margin: 0; }
.row-form label { margin: 0; }

/* ===== Sepet & ödeme ===== */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product a { font-weight: 700; }
.cart-product a:hover { color: var(--eg-red); }
.cart-product img { width: 58px; height: 58px; object-fit: contain; background: var(--eg-cloud); border-radius: var(--radius-sm); }
.cart-table input[type="number"] { width: 74px; margin: 0; }
.cart-summary { position: sticky; top: 16px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: .88rem; }
.summary-row.total { font-size: 1.05rem; font-weight: 800; border-top: 1px solid var(--eg-line); padding-top: 12px; margin-top: 12px; }
.summary-row.total strong { color: var(--eg-red); font-family: var(--font-display); }
.payment-method { display: block; background: var(--eg-cloud); border: 1px solid var(--eg-line); border-radius: var(--radius-sm); padding: 15px; margin-bottom: 14px; cursor: pointer; }
.payment-method:has(input:checked) { border-color: var(--eg-red, #c62828); }
.payment-method input[type="radio"] { margin-right: 8px; }
.payment-method p { margin: 6px 0 0; color: var(--eg-steel); font-size: .84rem; }

/* ===== Filtre çubuğu ===== */
.filter-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar select, .filter-bar input { width: auto; margin: 0; min-width: 170px; }

/* ===== Durum rozetleri ===== */
.badge-awaiting_bank_transfer { background: #fef3c7; color: #92400e; }
.badge-paid { background: #dbeafe; color: #1e40af; }
.badge-preparing { background: #ede9fe; color: #5b21b6; }
.badge-shipped { background: #cffafe; color: #155e75; }
.badge-delivered { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: var(--eg-red-soft); color: var(--eg-red-dark); }

/* ===== Sipariş detay ===== */
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.order-totals { max-width: 340px; margin-left: auto; margin-top: 12px; }
.bank-info code { display: block; background: var(--eg-cloud); border: 1px solid var(--eg-line); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 6px; font-size: 1rem; letter-spacing: .05em; }
.bank-account { padding: 13px 0; border-bottom: 1px solid var(--eg-line); }
.bank-account:last-child { border-bottom: none; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 10px 0 10px 22px; border-left: 2px solid var(--eg-line); position: relative; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--eg-red); position: absolute; left: -6px; top: 16px; }
.timeline li p { margin: 4px 0 0; color: var(--eg-steel); font-size: .85rem; }
.timeline .muted { margin-left: 8px; }

/* ===== Sayfalama ===== */
.pagination { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.page-link { padding: 8px 14px; border: 1px solid var(--eg-line); border-radius: var(--radius-sm); background: #fff; font-weight: 700; font-size: .84rem; }
.page-link:hover { border-color: var(--eg-red); color: var(--eg-red); }
.page-link.current { background: var(--eg-red); border-color: var(--eg-red); color: #fff; }
.page-link.disabled { color: var(--eg-steel); pointer-events: none; }

/* ===== Alt bilgi ===== */
.site-footer { background: var(--eg-ink); color: rgba(255,255,255,.72); padding: 38px 0; margin-top: 56px; font-size: .85rem; }
.site-footer p { margin: 4px 0; }
.site-footer strong { color: #fff; font-family: var(--font-display); }
.footer-brand p { line-height: 1.7; }

/* ===== Yönetim paneli ===== */
.admin-body { display: flex; min-height: 100vh; margin: 0; background: var(--eg-cloud); }
.admin-sidebar { width: 225px; background: var(--eg-ink); color: #e5e7eb; padding: 20px 0; display: flex; flex-direction: column; flex-shrink: 0; }
.admin-sidebar .logo { color: #fff; padding: 0 20px 16px; display: block; font: 800 1.1rem var(--font-display); }
.admin-sidebar nav { display: flex; flex-direction: column; }
.admin-sidebar nav a { color: #9ca3af; padding: 10px 20px; font-weight: 600; font-size: .88rem; }
.admin-sidebar nav a:hover { color: #fff; background: var(--eg-charcoal); }
.admin-sidebar nav a.active { color: #fff; background: var(--eg-charcoal); border-left: 3px solid var(--eg-red); padding-left: 17px; }
.sidebar-footer { margin-top: auto; padding: 16px 20px 0; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.sidebar-footer a, .sidebar-footer .link-button { color: #9ca3af; }
.admin-main { flex: 1; padding: 28px 32px; max-width: 1150px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md); padding: 18px; display: flex; flex-direction: column; }
.stat-card:hover { border-color: var(--eg-red); }
.stat-card strong { font: 850 1.9rem var(--font-display); }
.stat-card span { color: var(--eg-steel); font-size: .84rem; }
.stat-card.attention { border-color: var(--eg-warning); background: #fffbeb; }
.admin-columns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.page-head-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.image-manage-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.image-manage { text-align: center; }
.image-manage img { width: 110px; height: 110px; object-fit: contain; background: var(--eg-cloud); border: 1px solid var(--eg-line); border-radius: var(--radius-sm); }

/* ===== Mobil ===== */
@media (max-width: 960px) {
    .top-strip nav { display: none; }
    .header-inner { grid-template-columns: 120px 1fr auto; min-height: 76px; gap: 12px; }
    .header-action span { display: none; }
    .search-shell button { padding: 9px 16px; }
}
@media (max-width: 860px) {
    .product-detail, .cart-layout, .checkout-layout, .admin-columns { grid-template-columns: 1fr; }
    .admin-body { flex-direction: column; }
    .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; }
    .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; }
    .admin-sidebar nav a.active { border-left: none; padding-left: 20px; }
    .sidebar-footer { margin: 0 0 0 auto; padding: 0; flex-direction: row; }
    .admin-main { padding: 20px 16px; }
    .cart-summary { position: static; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ===== Faz 2: Hero / vitrin ===== */
/* ===== Hero Grid ===== */
.hero-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 16px; margin-bottom: 42px; }
.hero-grid.hero-solo { grid-template-columns: 1fr; }
.hero-side { display: grid; gap: 16px; }
.hero-card {
    position: relative; display: flex; align-items: flex-end; overflow: hidden;
    min-height: 300px; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px);
    background: var(--eg-ink) center/cover no-repeat; color: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-card.hero-mini { min-height: 142px; padding: 20px; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,0) 20%, rgba(10,12,16,.72)); }
.hero-card.tone-red { background-color: var(--eg-red); }
.hero-card.tone-light { background-color: var(--eg-cloud); color: var(--eg-ink); }
.hero-card.tone-light::after { background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.6)); }
.hero-content { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: start; max-width: 520px; }
.hero-content h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.12; }
.hero-content h2 { margin: 0; font-size: 1.05rem; }
.hero-content p { margin: 0; opacity: .85; font-size: .92rem; }
.hero-content .btn { margin-top: 6px; }
@media (max-width: 640px) {
    .hero-card { min-height: 220px; padding: 20px; }
    .hero-content h1 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
    .hero-content p { font-size: .82rem; }
}
.hero-card.hero-mini { align-items: flex-start; }
.hero-card.hero-mini .hero-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.section-link { font-weight: 800; font-size: .84rem; color: var(--eg-red); white-space: nowrap; }
.section-link:hover { color: var(--eg-red-dark); }

.brand-row { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-row a {
    padding: 12px 26px; border: 1px solid var(--eg-line); border-radius: 999px;
    font: 800 .88rem var(--font-display); background: #fff; transition: .18s ease;
}
.brand-row a:hover { border-color: var(--eg-red); color: var(--eg-red); transform: translateY(-2px); }

/* ===== Mega menü ===== */
.mega-wrap { position: relative; }
.mega-menu {
    position: absolute; left: 0; top: calc(100% + 10px); z-index: 90;
    width: 240px; background: #fff; border: 1px solid var(--eg-line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px;
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-item { position: relative; }
.cat-item + .cat-item { border-top: 1px solid var(--eg-line); }
.cat-link {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 7px 10px; font-size: .85rem; font-weight: 600; color: var(--eg-ink); line-height: 1.15;
}
.cat-link:hover { background: var(--eg-soft, #f5f6f8); color: var(--eg-red); }
.cat-caret { color: var(--eg-steel); flex: 0 0 auto; }
.cat-item.has-children .cat-submenu {
    position: absolute; left: 100%; top: -1px; min-width: 220px;
    background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden;
    transform: translateX(-6px); transition: opacity .12s ease, transform .12s ease;
}
.cat-item.has-children:hover .cat-submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.cat-submenu ul { list-style: none; margin: 0; padding: 0; }
.cat-submenu li + li { border-top: 1px solid var(--eg-line); }
.cat-submenu a { display: block; padding: 7px 10px; font-size: .84rem; color: var(--eg-steel); font-weight: 600; }
.cat-submenu a:hover { color: var(--eg-red); background: var(--eg-soft, #f5f6f8); }
.nav-all svg:last-child { margin-left: 2px; }
button.nav-all { border: 0; cursor: pointer; font: 800 .82rem var(--font-body); }

/* ===== Filtreli listeleme ===== */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.filter-panel h3 { margin: 0 0 12px; }
.filter-panel fieldset { border: 0; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--eg-line); }
.filter-panel legend { font: 800 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .04em; color: var(--eg-steel); margin-bottom: 8px; }
.filter-panel .checkbox { margin-bottom: 7px; font-size: .86rem; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { margin: 0; }
.filter-clear { display: block; text-align: center; margin-top: 10px; font-size: .8rem; color: var(--eg-steel); }
.filter-clear:hover { color: var(--eg-red); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { padding: 7px 16px; border: 1px solid var(--eg-line); border-radius: 999px; font-weight: 700; font-size: .8rem; background: #fff; }
.chip:hover { border-color: var(--eg-red); color: var(--eg-red); }

/* ===== Favori butonu ===== */
.fav-form { position: absolute; right: 10px; top: 10px; z-index: 3; }
.fav-button {
    width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
    border: 1px solid var(--eg-line); border-radius: 50%; background: rgba(255,255,255,.93); color: var(--eg-steel);
    transition: .18s ease;
}
.fav-button:hover, .fav-button.is-active { border-color: var(--eg-red); color: var(--eg-red); }

/* ===== Yıldızlar & yorumlar ===== */
.stars { color: #f5a623; letter-spacing: 1px; }
.review-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.review-card { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 12px; }
.review-card p { margin: 8px 0 0; font-size: .9rem; }
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ===== Özellik tabloları ===== */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .85rem; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--eg-line); }
.spec-table th { color: var(--eg-steel); font-weight: 700; width: 42%; }
.spec-full th { width: 38%; background: var(--eg-cloud); }
.detail-columns { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.detail-columns h2 { margin-top: 0; }
.add-to-cart-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ===== Hesap menüsü ===== */
.account-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.account-nav a, .account-nav .link-button {
    padding: 9px 18px; border: 1px solid var(--eg-line); border-radius: 999px;
    font: 700 .84rem var(--font-body); background: #fff;
}
.account-nav a:hover { border-color: var(--eg-red); color: var(--eg-red); }
.account-nav a.active { background: var(--eg-ink); border-color: var(--eg-ink); color: #fff; }
.account-nav .link-button.danger { border-color: transparent; }

/* ===== Zengin footer ===== */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 22px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; }
.footer-tagline { opacity: .75; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .8rem; opacity: .7; }
/* incehesap tarzı üst bülten + sosyal şeridi */
.footer-news { border-bottom: 1px solid rgba(255,255,255,.08); padding: 16px 0; background: rgba(255,255,255,.02); }
.footer-news__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-news__text { display: flex; flex-direction: column; line-height: 1.3; }
.footer-news__text strong { color: #fff; font-size: .95rem; }
.footer-news__text span { font-size: .8rem; opacity: .7; }
.footer-news .newsletter-form { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; max-width: 420px; }
.footer-news .newsletter-form input { width: auto; flex: 1 1 auto; }
.footer-news .social-row { margin: 0 0 0 auto; }
/* güven / ödeme şeridi */
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.trust-badge { padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .78rem; color: #fff; }
.pay { padding: 6px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; font-size: .76rem; font-weight: 700; color: #fff; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.pay-ico { height: 12px; width: auto; display: inline-block; vertical-align: middle; }

@media (max-width: 960px) {
    .listing-layout { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .review-columns, .detail-columns { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Faz 3: blog, CMS, kupon, bülten */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.blog-cats a { padding: 6px 14px; border: 1px solid var(--eg-line); border-radius: 999px; font-size: .85rem; }
.blog-cats a.active { background: var(--eg-red, #c62828); color: #fff; border-color: var(--eg-red, #c62828); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.blog-card { padding: 0; overflow: hidden; }
.blog-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.blog-card h2, .blog-card h3 { font-size: 1.05rem; margin: 12px 14px 4px; }
.blog-card p { margin: 4px 14px; }
.blog-card .btn { margin: 10px 14px 14px; }
.blog-cover { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 16px; }
.cms-content { line-height: 1.7; }
.cms-content h2 { margin: 18px 0 8px; }
.cms-content p { margin: 0 0 12px; }
.cms-content ul, .cms-content ol { margin: 0 0 12px 20px; }
.cms-content img { max-width: 100%; height: auto; }
.coupon-form { margin: 12px 0; }
.newsletter-form input { padding: 8px 10px; border: 1px solid var(--eg-line); border-radius: var(--radius-sm); width: 100%; }

/* ===== Faz 4: iletişim, captcha, admin renklendirme, mobil ===== */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.contact-aside .card { margin-bottom: 16px; }
.contact-aside p { margin: 6px 0; }
.map-card { padding: 8px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.social-row a { padding: 6px 12px; border: 1px solid var(--eg-line); border-radius: 999px; font-size: .82rem; font-weight: 700; }
.social-row a:hover { border-color: var(--eg-red); color: var(--eg-red); }

/* İletişim kartı: firma logosu + adı */
.contact-brand { display: flex; align-items: center; gap: 16px; }
.contact-brand__logo { width: 68px; height: auto; flex: 0 0 auto; }
.contact-brand__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--eg-ink); }
.contact-brand__tag { margin: 4px 0 0; font-size: .85rem; color: var(--eg-steel); line-height: 1.45; }
@media (max-width: 480px) {
    .contact-brand { flex-direction: column; text-align: center; align-items: center; }
    .contact-brand__logo { width: 56px; }
}
.footer-bottom .social-row { margin-top: 10px; }
.footer-bottom .social-row a { border-color: rgba(255,255,255,.25); color: #fff; opacity: .9; }
.captcha-field { margin: 14px 0; padding: 12px 14px; background: var(--eg-cloud); border: 1px solid var(--eg-line); border-radius: var(--radius-sm); }
.captcha-field input { display: block; margin-top: 6px; }

/* Admin: ideasoft tarzı renkli görünüm */
.admin-sidebar { background: linear-gradient(180deg, #1b1e26 0%, #14161c 100%); }
.admin-sidebar .logo { border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.admin-sidebar nav a.active { background: linear-gradient(90deg, rgba(243,19,27,.16), transparent); }
.admin-main h1 { margin-bottom: 18px; }
/* Renkli istatistik kutuları (dashboard + raporlar) */
.stat-card { border-top: 4px solid var(--eg-red); position: relative; }
.stat-card strong { color: var(--eg-ink); }
.stat-grid .stat-card:nth-child(4n+1) { border-top-color: #2563eb; background: linear-gradient(180deg, #eff6ff, #fff); }
.stat-grid .stat-card:nth-child(4n+1) strong { color: #1e40af; }
.stat-grid .stat-card:nth-child(4n+2) { border-top-color: #16a34a; background: linear-gradient(180deg, #f0fdf4, #fff); }
.stat-grid .stat-card:nth-child(4n+2) strong { color: #15803d; }
.stat-grid .stat-card:nth-child(4n+3) { border-top-color: #d97706; background: linear-gradient(180deg, #fffbeb, #fff); }
.stat-grid .stat-card:nth-child(4n+3) strong { color: #b45309; }
.stat-grid .stat-card:nth-child(4n+4) { border-top-color: #dc2626; background: linear-gradient(180deg, #fef2f2, #fff); }
.stat-grid .stat-card:nth-child(4n+4) strong { color: #b91c1c; }
.stat-card.attention { box-shadow: 0 0 0 2px #fca5a5 inset; }

/* Mobil iyileştirme: geniş tablolar yatay kaydırılabilir */
@media (max-width: 760px) {
    .contact-layout { grid-template-columns: 1fr; }
    .table { display: block; overflow-x: auto; white-space: nowrap; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .admin-main { max-width: 100%; }
    .page-head-actions { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Faz 5: kampanya/üye indirimi, destek talepleri ===== */
.summary-row.campaign-row span { color: #1f8a4c; }
.summary-row.campaign-row strong { color: #1f8a4c; }

.ticket-thread { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; max-width: 720px; }
.ticket-message { border: 1px solid #e6e6e6; border-radius: 10px; padding: 12px 14px; background: #fff; }
.ticket-message.from-admin { background: #f2f7ff; border-color: #cfe0ff; }
.ticket-message.from-customer { background: #fafafa; }
.ticket-message-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; font-size: 13px; }
.ticket-message p { margin: 0; line-height: 1.5; }

@media (prefers-color-scheme: dark) {
    .ticket-message { background: #1b1b1d; border-color: #333; }
    .ticket-message.from-admin { background: #12233d; border-color: #24405f; }
    .ticket-message.from-customer { background: #202022; }
}

/* Yetki rolleri izin ızgarası */
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-bottom: 12px; }
@media (max-width: 640px) { .perm-grid { grid-template-columns: 1fr; } }

/* ===== Faz 6: mobil iyileştirmeler ===== */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }

@media (max-width: 760px) {
    /* Kategori nav: satır-içi kategori linkleri gizlenir (mega menü + Fırsatlar kalır) — kesik/taşan şerit temizlenir */
    .desktop-nav > a:not(.nav-sale) { display: none; }
    .top-strip-inner { flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
    .desktop-nav { min-height: 50px; gap: 10px; }
    .desktop-nav .nav-all { padding: 9px 14px; }
    /* Header: logo + aksiyonlar üstte, arama altta tam genişlik */
    .header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "search search";
        align-items: center;
        row-gap: 8px;
        min-height: 64px;
    }
    .brand-logo { grid-area: logo; align-self: center; }
    .header-actions { grid-area: actions; justify-self: end; align-items: center; gap: 2px; }
    .header-action { padding: 7px; }
    .header-action span { display: none; }
    .header-action svg { width: 22px; height: 22px; }
    .brand-logo img { max-width: 88px; height: auto; }
    .search-shell { grid-area: search; width: 100%; }
    .search-shell form { width: 100%; transition: box-shadow .2s ease, transform .2s ease, background .2s ease, border-color .2s ease; }
    .search-shell form:focus-within {
        border-color: var(--eg-red);
        background: #fff;
        box-shadow: 0 6px 20px rgba(198,40,40,.20);
        transform: scale(1.02);
        transform-origin: left center;
    }
    .search-shell button { padding: 8px 13px; }
    /* Uzun SKU'lu ürün adları taşmasın */
    .product-card-title { overflow-wrap: anywhere; }
    /* Hero yüksekliği mobile uygun */
    .hero-card { min-height: 210px; }
    .hero-card.hero-mini { min-height: 116px; }
    .hero-content h1 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
    /* Mega menü mobilde tam genişlik ve kaydırılabilir */
    .mega-menu { width: min(92vw, 360px); max-height: 70vh; overflow-y: auto; padding: 6px; }
    .cat-item.has-children .cat-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-top: 1px solid var(--eg-line); margin: 0; padding: 0 0 4px; min-width: 0; }
    .cat-caret { transform: rotate(90deg); }
}

@media (max-width: 430px) {
    .top-strip-inner p { display: none; }
    .header-action span { display: none; }
    .hero-content p { font-size: .85rem; }
    .product-card-body { padding: 12px; }
    .product-card-title { min-height: 38px; font-size: .82rem; }
    .mega-menu { width: 92vw; }
}

/* Fırsat Ürünleri mini banner: ilk banner fontu + yukarı hizala */

/* ===== Marka kayan şerit (sağdan sola) ===== */
.brand-marquee {
  overflow: hidden;
  border-top: 1px solid var(--eg-line);
  border-bottom: 1px solid var(--eg-line);
  background: var(--eg-paper);
  padding: 12px 0;
  margin-bottom: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-marquee__track {
  display: flex;
  width: max-content;
  animation: brand-scroll 32s linear infinite;
}
.brand-marquee__track:hover { animation-play-state: paused; }
.brand-marquee__item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  font-family: 'Montserrat', var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .04em;
  color: #000;
  white-space: nowrap;
  position: relative;
  transition: color .2s ease;
}
.brand-marquee__item::after {
  content: "";
  position: absolute;
  right: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--eg-line);
}
.brand-marquee__item:hover { color: #000; }
a.brand-marquee__item { text-decoration: none; cursor: pointer; }
a.brand-marquee__item:hover { color: var(--eg-red); }
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Canlı veri tickeri ekstra ===== */
.ticker-val { font-weight: 800; color: #111; font-variant-numeric: tabular-nums; margin-left: 6px; }
.ticker-live { color: var(--eg-red); display: inline-flex; align-items: center; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; margin-right: 7px; animation: livepulse 1.2s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ===== WhatsApp iletişim (üst şerit + ürün) ===== */
.wa-ico { width: 16px; height: 16px; flex: 0 0 auto; }
.strip-wa { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: .77rem; font-weight: 700; color: rgba(255,255,255,.82); white-space: nowrap; text-decoration: none; }
.strip-wa .wa-ico { fill: #25D366; }
.strip-wa:hover { color: #fff; }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; }
.btn-wa:hover { background: #1ebe5a; color: #fff; }
.btn-wa .wa-ico { fill: #fff; }
.add-favorite-row { margin-top: 10px; }
.add-favorite-row .btn { width: 100%; }

/* ===== Çerez onay banner'ı ===== */
.btn-ghost { background: #fff; color: var(--eg-ink); border: 1px solid var(--eg-line); }
.btn-ghost:hover { border-color: var(--eg-red); color: var(--eg-red); transform: translateY(-2px); }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #fff; border-top: 1px solid var(--eg-line); box-shadow: 0 -8px 30px rgba(0,0,0,.12); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner__text { flex: 1 1 320px; min-width: 0; }
.cookie-banner__text strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; color: var(--eg-ink); }
.cookie-banner__text p { margin: 0; font-size: .85rem; color: var(--eg-steel); line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-panel { border-top: 1px dashed var(--eg-line); padding: 16px 20px 4px; max-width: 1200px; margin: 0 auto; }
.cookie-panel[hidden] { display: none; }
.cookie-panel h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 10px; color: var(--eg-ink); }
.cookie-cats { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.cookie-cats li label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookie-cats input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.cookie-cats span { display: flex; flex-direction: column; }
.cookie-cats strong { font-size: .9rem; color: var(--eg-ink); }
.cookie-cats small { font-size: .8rem; color: var(--eg-steel); }
.cookie-panel__note { font-size: .82rem; color: var(--eg-steel); margin: 0 0 12px; }
.cookie-panel__note a, .cookie-panel__note a:visited { color: var(--eg-red); }
.cookie-panel__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-legal { margin: 6px 0 0; font-size: .8rem; }
.footer-legal a { color: var(--eg-steel); }
.footer-legal a:hover { color: var(--eg-red); }
@media (max-width: 600px) {
    .cookie-banner__inner { flex-direction: column; align-items: stretch; }
    .cookie-banner__actions .btn { flex: 1 1 auto; }
}

/* ===== Admin: gruplu flyout menü ===== */
.admin-nav__item, .admin-nav__head {
    color: #9ca3af; padding: 10px 20px; font-weight: 600; font-size: .88rem;
    text-decoration: none; border-left: 3px solid transparent; display: block;
}
.admin-nav__item:hover, .admin-nav__head:hover { color: #fff; background: var(--eg-charcoal); }
.admin-nav__item.active, .admin-nav__head.active {
    color: #fff; background: linear-gradient(90deg, rgba(243,19,27,.16), transparent);
    border-left-color: var(--eg-red);
}
.admin-nav__group { position: relative; }
.admin-nav__head {
    width: 100%; text-align: left; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-nav__head::after { content: "\203A"; margin-left: 8px; opacity: .55; font-size: 1rem; }
.admin-nav__flyout {
    position: absolute; left: 100%; top: 0; min-width: 215px; display: none;
    flex-direction: column; gap: 2px; padding: 6px;
    background: #fff; border: 1px solid var(--eg-line); border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 60; max-height: 80vh; overflow: auto;
}
.admin-nav__group:hover .admin-nav__flyout,
.admin-nav__group:focus-within .admin-nav__flyout { display: flex; }
.admin-sidebar .admin-nav__flyout a {
    color: #222; padding: 9px 12px; border-radius: 6px; font-weight: 600; font-size: .86rem;
    text-decoration: none; background: transparent; border-left: none;
}
.admin-sidebar .admin-nav__flyout a:hover { color: #111; background: var(--eg-cloud); }
.admin-sidebar .admin-nav__flyout a.active { color: #fff; background: var(--eg-red); }

@media (max-width: 860px) {
    .admin-nav__group { position: static; }
    .admin-nav__head::after { content: ""; }
    .admin-nav__flyout {
        position: static; display: flex; min-width: 0; box-shadow: none;
        background: transparent; border: none; padding: 0 0 0 10px; max-height: none; overflow: visible;
    }
    .admin-sidebar .admin-nav__flyout a { color: #9ca3af; padding: 8px 16px; }
    .admin-sidebar .admin-nav__flyout a:hover { background: var(--eg-charcoal); color: #fff; }
    .admin-sidebar .admin-nav__flyout a.active { background: rgba(243,19,27,.16); color: #fff; }
}

/* ===== Branded admin login (demo tarzı) ===== */
.admin-login { margin: 0; }
.login { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #0f1115; overflow: hidden; }
.login-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, #3274f0, #2b63d6); opacity: .9; box-shadow: 0 0 0 2000px rgba(0,0,0,.35) inset; }
.login-main { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-container { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 40px; max-width: 980px; width: 100%; align-items: center; }
.login-panel { background: #fff; border-radius: 16px; padding: 38px; box-shadow: 0 30px 60px rgba(0,0,0,.35); width: 100%; }
.login-logo { max-width: 200px; max-height: 54px; }
.logo-bg { margin-bottom: 22px; }
.login-panel-heading { margin-bottom: 14px; }
.panel-title { font-size: 13px; color: #777; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lock-ico { color: #3274f0; width: 15px; height: 15px; flex: 0 0 auto; }
.login .form-group { margin-bottom: 14px; }
.login label { display: block; font-weight: 600; color: #555; margin-bottom: 6px; font-size: 13px; }
.login input[type=email], .login input[type=password] { width: 100%; padding: 13px 15px; border: 2px solid #e9e9e9; border-radius: 6px; font-size: 14px; }
.login input:focus { border-color: var(--eg-red); outline: 0; box-shadow: 0 0 0 4px rgba(243,19,27,.15); }
.login-btn { width: 100%; padding: 13px; font-weight: 700; font-size: 15px; background: #3274f0 !important; border-color: #3274f0 !important; color: #fff !important; }
.login-comment { color: #fff; }
.login-comment h1 { font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.login-comment p { font-size: 16px; opacity: .9; }
.admin-login .alert { background: #fdecea; color: #b71c1c; padding: 10px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; }
@media (max-width: 800px) {
    .login-container { grid-template-columns: 1fr; }
    .login-comment { display: none; }
    .login-panel { max-width: 420px; margin: auto; }
}

.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .admin-cols { grid-template-columns: 1fr; } }

/* === MOBILE FIX: cart table === */
@media (max-width: 860px) {
    .cart-layout { grid-template-columns: 1fr !important; }
    .cart-table { 
        display: block !important; 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .cart-table thead { display: table-header-group; }
    .cart-table tbody { display: table-row-group; }
    .cart-table tr { display: table-row; }
    .cart-table td, .cart-table th { display: table-cell; padding: 10px 12px; }
    .cart-product { min-width: 220px; }
    .cart-summary { 
        position: static !important; 
        margin-top: 20px;
        order: 2;
    }
    .cart-layout { display: flex; flex-direction: column; }
}

/* === MOBILE FIX: checkout === */
@media (max-width: 860px) {
    .checkout-layout { 
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column;
    }
    .checkout-form { order: 1; }
    .cart-summary { 
        position: static !important;
        order: 2;
        margin-top: 20px;
    }
}

/* === MOBILE FIX: filter toggle === */
@media (max-width: 860px) {
    .listing-layout { 
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }
    .filter-panel {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }
    .filter-panel.open {
        max-height: 600px !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid var(--eg-line) !important;
    }
    .filter-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border: 1px solid var(--eg-line);
        border-radius: 999px;
        background: #fff;
        font: 700 .86rem var(--font-body);
        cursor: pointer;
        margin-bottom: 16px;
        transition: all 0.2s ease;
    }
    .filter-toggle-btn:hover { border-color: var(--eg-red); color: var(--eg-red); }
    .filter-toggle-btn svg { width: 16px; height: 16px; }
}
@media (min-width: 861px) {
    .filter-toggle-btn { display: none !important; }
}

/* === MOBILE FIX: cookie banner === */
@media (max-width: 600px) {
    .cookie-banner__inner { 
        flex-direction: column !important; 
        align-items: stretch !important;
        gap: 12px;
        padding: 14px 16px;
    }
    .cookie-banner__text { flex: 1 1 auto !important; min-width: 0; }
    .cookie-banner__actions { 
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }
    .cookie-banner__actions .btn { 
        flex: 1 1 auto !important;
        width: 100%;
        text-align: center;
    }
}

/* === MOBILE FIX: product lightbox === */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.main-image { cursor: zoom-in; }
@media (max-width: 430px) {
    .product-detail { padding: 12px !important; }
    .main-image { border-radius: 12px; }
    .thumbs img { width: 52px; height: 52px; }
}

/* === MOBILE FIX: extras === */
@media (max-width: 430px) {
    .add-to-cart-row { flex-direction: column; }
    .add-to-cart-row .btn { width: 100%; text-align: center; }
    .add-to-cart { flex-direction: column; width: 100%; }
    .add-to-cart input[type="number"] { width: 100%; }
    .add-to-cart .btn { width: 100%; }
    .product-price strong { font-size: 1.5rem; }
    .breadcrumb { font-size: .75rem; overflow-x: auto; white-space: nowrap; }
    .section-head { flex-direction: column; gap: 8px; }
}


/* === EG Teknoloji Cart Card === */
.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-card {
    background: var(--eg-paper);
    border: 1px solid var(--eg-line);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cart-card-top { display: flex; align-items: center; gap: 14px; }
.cart-card-img {
    width: 72px; height: 72px;
    object-fit: contain;
    background: var(--eg-cloud);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.cart-card-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-card-name { font-weight: 700; color: var(--eg-ink); text-decoration: none; }
.cart-card-name:hover { color: var(--eg-red); }
.cart-card-price { color: var(--eg-steel); font-size: .9rem; }

.cart-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cart-card-qty { display: flex; align-items: center; gap: 8px; }
.cart-card-qty label { margin: 0; font-size: .85rem; color: var(--eg-steel); }
.cart-card-qty input[type="number"] { width: 72px; text-align: center; }
.cart-card-total { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.cart-card-total span { font-size: .78rem; color: var(--eg-steel); }
.cart-card-total strong { font-size: 1.02rem; }
.cart-card-remove { white-space: nowrap; }

@media (max-width: 860px) {
    .cart-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
    .cart-items { gap: 12px; }
    .cart-card { padding: 14px !important; }
    .cart-card-top { flex-direction: row; gap: 10px; }
    .cart-card-img { width: 60px; height: 60px; border-radius: 8px; }
    .cart-card-info { min-width: 0; }
    .cart-card-name { font-size: .92rem; }
    .cart-card-price { font-size: .82rem; }
    .cart-card-bottom { gap: 8px; }
    .cart-card-qty input[type="number"] { width: 64px; padding: 6px 4px; text-align: center; }
    .cart-card-total { font-size: .98rem; }
    .cart-summary { padding: 16px !important; }
    .cart-summary h3 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
    .cart-card-top { flex-direction: column; align-items: flex-start; }
    .cart-card-img { width: 80px; height: 80px; }
    .cart-card-bottom { flex-direction: column; align-items: stretch; gap: 10px; }
    .cart-card-qty { justify-content: space-between; }
    .cart-card-total { text-align: right; }
}
/* === End EG Teknoloji Cart Card === */