:root {
    --bg: #07090d;
    --bg-card: #0e1118;
    --bg-elevated: #141a24;
    --bg-input: #181f2b;
    --border: #232d3d;
    --border-light: #2f3d52;
    --text: #fff5eb;
    --text-muted: #c9a882;
    --text-warm: #fb923c;
    --text-gradient: linear-gradient(120deg, #ffffff 0%, #fde68a 28%, #fb923c 52%, #fff7ed 78%, #ffffff 100%);
    --accent: #00d4aa;
    --accent-dim: #00b894;
    --accent-glow: rgba(0, 212, 170, 0.22);
    --warm: #f59e0b;
    --warm-hover: #d97706;
    --orange: #fb923c;
    --purple: #00d4aa;
    --purple-dim: #00b894;
    --gold: #f59e0b;
    --gold-hover: #d97706;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    --header-h: 68px;
}

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

/* Font Awesome */
.ico {
    display: inline-block;
    line-height: 1;
    vertical-align: -.15em;
    flex-shrink: 0;
}
.ico-xs { font-size: 12px; }
.ico-sm { font-size: 14px; }
.ico-md { font-size: 16px; }
.ico-lg { font-size: 20px; }
.ico-xl { font-size: 24px; }
.ico-muted { opacity: .65; }
.ico-accent { color: var(--accent); }
.ico-warm { color: var(--warm); }

.btn-categories .ico,
.search-form button .ico { pointer-events: none; }
.listing-tab .ico { font-size: 14px; }
.profile-quick-item .ico { font-size: 22px; margin-bottom: 2px; color: var(--text-muted); }
.profile-quick-item:hover .ico { color: var(--accent); }
.profile-btn .ico { font-size: 15px; }
.profile-logout .ico { font-size: 16px; }
.header-profile-chevron.ico { font-size: 11px; opacity: .55; transition: transform .2s; }
.header-profile-trigger[aria-expanded="true"] .header-profile-chevron { transform: rotate(180deg); }

.qc-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    font-size: 17px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.qc-orange .qc-icon { color: var(--warm); border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.08); }
.qc-purple .qc-icon { color: #a78bfa; border-color: rgba(167,139,250,.25); background: rgba(167,139,250,.08); }
.qc-blue .qc-icon { color: #60a5fa; border-color: rgba(96,165,250,.25); background: rgba(96,165,250,.08); }
.qc-teal .qc-icon { color: var(--accent); border-color: rgba(0,212,170,.25); background: rgba(0,212,170,.08); }
.qc-pink .qc-icon { color: #f472b6; border-color: rgba(244,114,182,.25); background: rgba(244,114,182,.08); }
.qc-green .qc-icon { color: #4ade80; border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.08); }

.etbis-icon.ico { font-size: 28px; color: #1e3a5f; }
.footer-pill .ico { font-size: 13px; opacity: .8; }
.chat-fab .ico { font-size: 20px; }
.header-nav a { display: inline-flex; align-items: center; gap: 6px; }
.header-nav a .ico { font-size: 13px; opacity: .7; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

.site-main {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    padding-bottom: 40px;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.09), transparent),
        radial-gradient(ellipse 40% 30% at 100% 50%, rgba(245, 158, 11, 0.04), transparent),
        var(--bg);
    pointer-events: none;
}
.site-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    opacity: .35;
}

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

/* Turuncu–beyaz mətn qarışığı (yalnız yazılar) */
.text-warm-mix {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.logo-text strong,
.seo-brand-heading,
.site-main h1,
.site-main h2,
.listing-card-title,
.listing-seller-name,
.deals-title,
.cta-banner h2,
.auth-box h1,
.auth-brand h2,
.panel-page-head h1,
.listing-detail-info h1 {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.container {
    width: min(1280px, calc(100vw - 48px));
    max-width: 100%;
    margin-inline: auto;
    padding-inline: clamp(12px, 2vw, 20px);
    box-sizing: border-box;
}

/* Ana məzmun — bütün səhifələrdə mərkəz */
.site-main > .container,
.site-main > section.container,
.site-main section.container {
    margin-inline: auto;
}

.header-mobile-bar,
.mobile-menu-btn,
.mobile-bottom-nav,
.mobile-cat-sheet,
.btn-categories-icon {
    display: none;
}

/* Drawer: mobil.css-də display:block; masaüstündə gizlənir */
.mobile-drawer {
    display: none;
}

/* Flash (köhnə — toast istifadə olunur) */
.flash { display: none !important; }

/* Sağ üst toast bildirişləri */
.epin-toast-stack {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(400px, calc(100vw - 32px));
    pointer-events: none;
}
.epin-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 40px 14px 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(20, 24, 36, 0.98) 0%, rgba(14, 18, 28, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateX(24px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    position: relative;
}
.epin-toast.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.epin-toast.is-leaving {
    opacity: 0;
    transform: translateX(16px) scale(0.98);
    transition-duration: 0.28s;
}
.epin-toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}
.epin-toast--success .epin-toast-icon { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.epin-toast--error .epin-toast-icon { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.epin-toast--info .epin-toast-icon { background: rgba(124, 58, 237, 0.25); color: #a78bfa; }
.epin-toast--warning .epin-toast-icon { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.epin-toast--success { border-color: rgba(34, 197, 94, 0.35); }
.epin-toast--error { border-color: rgba(239, 68, 68, 0.35); }
.epin-toast-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
}
.epin-toast-text {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.45;
}
.epin-toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}
.epin-toast-close:hover { color: #e2e8f0; background: rgba(255,255,255,0.06); }

/* Kimlik onayı xatırlatması — sağ üst */
.kyc-reminder-toast {
    position: fixed;
    top: 76px;
    right: 16px;
    z-index: 9998;
    max-width: min(380px, calc(100vw - 32px));
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.kyc-reminder-toast.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.kyc-reminder-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(20, 24, 36, 0.98) 0%, rgba(14, 18, 28, 0.98) 100%);
    border: 1px solid rgba(251, 146, 60, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.kyc-reminder-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.kyc-reminder-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kyc-reminder-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff5eb;
}
.kyc-reminder-text span {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
}
.kyc-reminder-btn {
    flex-shrink: 0;
    align-self: center;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #041210;
    background: var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
    white-space: nowrap;
}
.kyc-reminder-btn:hover { background: var(--accent-dim); color: #fff; }
.kyc-reminder-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}
.kyc-reminder-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }

/* Profil — sadə modern */
.profile-page-grid {
    display: grid;
    gap: 16px;
    max-width: 640px;
}
.profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.profile-hero img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 170, 0.25);
}
.profile-hero-info h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
}
.profile-hero-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}
.profile-section {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.profile-section-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.profile-kyc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.profile-kyc-row p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.profile-kyc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
}
.profile-kyc-status--none { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.profile-kyc-status--pending { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }
.profile-kyc-status--approved { background: rgba(0, 212, 170, 0.12); color: #6ee7b7; border: 1px solid rgba(0, 212, 170, 0.3); }
.profile-kyc-status--rejected { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.profile-kyc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.profile-kyc-link:hover { border-color: var(--accent); background: rgba(0, 212, 170, 0.06); }
.profile-field-readonly {
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-muted);
}
.profile-save-btn { width: auto; padding: 12px 28px; margin-top: 4px; }
.kyc-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 560px) {
    .kyc-upload-grid { grid-template-columns: 1fr; }
    .kyc-reminder-toast { top: auto; bottom: 80px; right: 12px; left: 12px; max-width: none; }
}
.kyc-upload-box label {
    display: block;
    padding: 24px 16px;
    text-align: center;
    background: var(--bg-input);
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: border-color 0.15s, background 0.15s;
}
.kyc-upload-box label:hover { border-color: var(--accent); background: rgba(0, 212, 170, 0.04); }
.kyc-upload-box input { display: none; }
.kyc-upload-box strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 150;
    background: rgba(7, 9, 13, 0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 0;
    min-height: var(--header-h);
}

.logo {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; letter-spacing: -.04em;
    background: linear-gradient(145deg, var(--accent), #008f72);
    color: #041210;
    border-radius: 10px;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.logo-text {
    display: flex; flex-direction: column; line-height: 1.1;
}
.logo-text strong {
    font-size: 15px; font-weight: 800; letter-spacing: -.03em;
}
.logo-text small {
    font-size: 10px; font-weight: 600; letter-spacing: .12em;
    color: var(--text-warm);
}
.logo-sm .logo-mark { width: 32px; height: 32px; font-size: 10px; }
.logo-sm .logo-text strong { font-size: 13px; }

.logo--has-image {
    gap: 0;
}
.logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(180px, 42vw);
    object-fit: contain;
    object-position: left center;
}
.logo-sm .logo-img {
    height: 32px;
    max-width: 140px;
}
.auth-brand .logo {
    margin-bottom: 24px;
}
.auth-brand .logo-img {
    height: 48px;
    max-width: 220px;
}

.header-nav {
    display: flex; gap: 4px;
}
.header-nav a {
    padding: 8px 12px;
    font-size: 13px; font-weight: 600;
    color: var(--text-muted);
    border-radius: 8px;
    transition: color .15s, background .15s;
}
.header-nav a:hover {
    color: var(--text-warm);
    background: rgba(255,255,255,.04);
}

.header-cart {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    flex-shrink: 0;
}
.header-cart:hover { color: var(--accent); border-color: var(--border-light); }

.btn-header-accent {
    padding: 9px 16px;
    background: var(--accent);
    color: #041210;
    font-size: 13px; font-weight: 700;
    border-radius: var(--radius);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-header-accent:hover { background: var(--accent-dim); color: #fff; }
.btn-header-accent,
.btn-header-outline,
.link-login,
.header-admin-link,
.footer-pill,
.profile-balance-left,
.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.profile-btn { justify-content: center; }

.header-mid {
    flex: 1; display: flex; align-items: center; gap: 10px; max-width: 640px;
}

.cat-dropdown-wrap { position: relative; }

.btn-categories {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); font-family: inherit; font-size: 13px; font-weight: 500;
    cursor: pointer; white-space: nowrap;
}
.btn-categories:hover { border-color: var(--border-light); }

.cat-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 220px; background: var(--bg-elevated);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 8px; box-shadow: var(--shadow); z-index: 50;
}
.cat-dropdown.open { display: block; }
.cat-dropdown a {
    display: block; padding: 9px 12px; border-radius: 8px;
    font-size: 13px; color: var(--text-muted);
}
.cat-dropdown a:hover { background: var(--bg-input); color: var(--text); }
.cat-dd-all { color: var(--gold) !important; font-weight: 600; margin-top: 4px; }

.search-form {
    flex: 1; display: flex; align-items: center;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.search-form input {
    flex: 1; background: none; border: none; outline: none;
    padding: 11px 14px; color: var(--text); font-family: inherit; font-size: 14px;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
    padding: 10px 14px; background: none; border: none;
    color: var(--text-muted); cursor: pointer;
}
.search-form button:hover { color: var(--text); }

.header-auth { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.link-login { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.link-login:hover { color: var(--text); }
.link-muted { font-size: 13px; color: var(--text-muted); }
.btn-register {
    padding: 10px 20px; background: var(--gold); color: #0a0a0e;
    font-weight: 700; font-size: 13px; border-radius: var(--radius);
}
.btn-register:hover { background: var(--gold-hover); }

/* Logged-in header */
.header-inner--auth { gap: 10px; }
.header-inner--auth .header-mid { max-width: 420px; }

.btn-header-gold,
.btn-header-accent {
    padding: 9px 16px; background: var(--accent); color: #041210;
    font-size: 13px; font-weight: 700; border-radius: var(--radius);
    white-space: nowrap; flex-shrink: 0;
}
.btn-header-gold:hover { background: var(--accent-dim); color: #fff; }

.btn-header-outline {
    padding: 9px 14px; background: transparent;
    border: 1px solid var(--border-light); color: var(--text-muted);
    font-size: 12px; font-weight: 600; border-radius: var(--radius);
    white-space: nowrap; flex-shrink: 0;
}
.btn-header-outline:hover { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--accent); }

.header-balance-pill {
    display: flex; flex-direction: column; align-items: flex-end;
    padding: 4px 12px; line-height: 1.2; flex-shrink: 0;
}
.header-balance-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.header-balance-amount { font-size: 13px; font-weight: 700; color: #ffe8d4; white-space: nowrap; }

.header-notif {
    position: relative; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-muted); flex-shrink: 0;
}
.header-notif:hover { color: var(--text); border-color: var(--border-light); }
.header-notif-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
}

.header-profile-trigger {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 10px 4px 4px; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; flex-shrink: 0;
}
.header-profile-trigger:hover { border-color: var(--border-light); }
.header-profile-trigger img { border-radius: 8px; object-fit: cover; width: 36px; height: 36px; }
.header-admin-link { flex-shrink: 0; }

.badge-featured {
    position: absolute; top: 10px; left: 10px;
    padding: 5px 10px; font-size: 10px; font-weight: 800;
    letter-spacing: .04em; background: var(--gold); color: #0a0a0e;
    border-radius: 6px; text-transform: uppercase;
}
.badge-boost {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.95) 0%, rgba(56, 189, 248, 0.92) 100%);
    color: #0a0a0e;
    border-radius: 6px;
    text-transform: uppercase;
}
.badge-vitrin { /* legacy */ }

/* Profile modal */
.profile-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, visibility .25s;
}
.profile-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.profile-modal {
    width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-xl); padding: 24px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
    transform: scale(.96) translateY(8px);
    transition: transform .25s;
}
.profile-overlay.open .profile-modal { transform: scale(1) translateY(0); }

.profile-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.profile-modal-user { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.profile-modal-user img { border-radius: 10px; object-fit: cover; }

.profile-theme-btn {
    width: 40px; height: 40px; border-radius: var(--radius);
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.profile-theme-btn:hover { color: var(--text); }

.profile-modal-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.profile-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: var(--radius); font-size: 14px; font-weight: 700;
}
.profile-btn-gold { background: var(--accent); color: #041210; }
.profile-btn-gold:hover { background: var(--accent-dim); color: #fff; }
.profile-btn-outline {
    background: transparent; border: 1px solid var(--gold); color: var(--gold);
}
.profile-btn-outline:hover { background: rgba(255,180,0,.06); }

.profile-balance-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 20px; flex-wrap: wrap;
}
.profile-balance-left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.profile-balance-left strong { color: #ffe8d4; font-weight: 700; }
.profile-coin { font-size: 1.1rem; }
.profile-balance-btn {
    padding: 8px 14px; background: var(--accent); color: #041210;
    font-size: 12px; font-weight: 700; border-radius: 8px; white-space: nowrap;
}
.profile-balance-btn:hover { background: var(--accent-dim); color: #fff; }

.profile-quick-label {
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    color: var(--text-muted); margin-bottom: 12px;
}
.profile-quick-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px;
}
.profile-quick-item {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 16px 8px; min-height: 88px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 11px; font-weight: 600;
    color: var(--text-muted); text-align: center; transition: all .2s;
}
.profile-quick-item:hover {
    border-color: var(--border-light); color: var(--text);
    background: var(--bg-elevated);
}
.profile-q-badge {
    position: absolute; top: 8px; right: 8px;
    min-width: 18px; height: 18px; background: #ef4444; color: #fff;
    font-size: 10px; font-style: normal; font-weight: 700;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
}

.profile-logout {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    width: 100%; padding: 16px; background: #3d1515;
    border: 1px solid #5c2020; border-radius: var(--radius);
    color: #fecaca; font-size: 14px; font-weight: 700;
}
.profile-logout:hover { background: #4a1818; color: #fff; }

/* Panel pages */
.panel-page { padding: 28px 0 48px; }
.panel-page-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.panel-page-head h1 { font-size: 1.5rem; }
.panel-back { font-size: 13px; color: var(--text-muted); }
.panel-back:hover { color: var(--gold); }

.panel-page-grid {
    display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start;
}
.panel-page-nav {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 12px;
    position: sticky; top: 88px;
}
.panel-page-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px;
    font-size: 13px; color: var(--text-muted); margin-bottom: 2px;
}
.panel-page-nav a .ico { width: 18px; opacity: .65; }
.panel-page-nav a:hover, .panel-page-nav a.active {
    background: rgba(251, 146, 60, 0.1);
    color: var(--text-warm);
}
.panel-page-nav a:hover .ico,
.panel-page-nav a.active .ico { opacity: 1; color: var(--text-warm); }
.panel-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.panel-page-content { min-width: 0; }

.panel-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px; margin-bottom: 24px;
}
.panel-stat {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.panel-stat strong { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.panel-stat span { font-size: 12px; color: var(--text-muted); }

.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-item {
    padding: 16px 18px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.notif-item.unread { border-color: rgba(255,180,0,.3); background: rgba(255,180,0,.04); }
.notif-item h3 { font-size: 14px; margin-bottom: 4px; }
.notif-item p { font-size: 13px; color: var(--text-muted); }
.notif-item time { font-size: 11px; color: var(--text-muted); margin-top: 8px; display: block; }

.cart-row, .order-row {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 10px;
}
.cart-row img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cart-row-info { flex: 1; }
.cart-row-info h3 { font-size: 14px; margin-bottom: 4px; }
.cart-row-price { color: var(--gold); font-weight: 700; }

@media (max-width: 1100px) {
    .header-balance-pill { display: none; }
}

/* Hero banner */
.seo-intro {
    padding: 20px 0 8px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.seo-brand-heading {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.seo-brand-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.seo-brand-text strong {
    color: var(--text-warm);
}

.hero-section { padding: 24px 0 8px; }

.hero-tabs {
    display: flex; gap: 20px; margin-bottom: 12px; padding-left: 4px;
}
.hero-tab {
    font-size: 13px; color: var(--text-muted); cursor: pointer;
    background: none; border: none; font-family: inherit; padding: 0;
    transition: color .2s;
}
.hero-tab.active { color: var(--text-warm); font-size: 15px; font-weight: 600; }
.hero-tab:hover { color: #ffe8d4; }

/* Banner — container icinde sabit kutu, fotograf tam sigar */
.hero-banner-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero-banner-wrap .hero-banner {
    display: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.hero-banner-wrap .hero-banner.active {
    display: flex;
}

.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1280 / 360;
    max-height: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #07090d;
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}
.hero-banner-placeholder {
    width: 100%;
    min-height: 200px;
    aspect-ratio: 1280 / 360;
    background: linear-gradient(125deg, #0d1520 0%, #0a1f1a 45%, #12100a 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; letter-spacing: .08em;
    color: rgba(255,255,255,.12);
    text-transform: uppercase;
}

.hero-banner-wrap .hero-banner-placeholder {
    min-height: 0;
}

/* Listing section */
.section-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px 22px 24px;
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; flex-wrap: wrap; gap: 12px;
}

.listing-tabs { display: flex; gap: 6px; }
.listing-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius);
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    background: transparent; border: 1px solid transparent;
    cursor: pointer; font-family: inherit; transition: all .2s;
}
.listing-tab .ico { opacity: .6; }
.listing-tab.active {
    color: var(--orange); border-color: rgba(255,140,0,.35);
    background: rgba(255,140,0,.08);
}
.listing-tab.active .ico { opacity: 1; color: var(--orange); }

.link-see-all { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.link-see-all:hover { color: var(--gold); }

.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1024px) { .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Listing card */
.listing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    transition: transform .2s, border-color .2s;
}
.listing-card > a {
    display: block;
    min-width: 0;
}
.listing-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-light);
}

.listing-card-img {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    background: #0e0e14;
}
.listing-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}
/* Filigran — yalnız böyük, təmiz mətn (hologram/pill yoxdur; şəkilə basılan watermark istifadə olunur) */
.listing-card-img .badge-featured,
.listing-card-img .badge-boost { z-index: 3; }
.listing-detail-media {
    position: relative;
}
.badge-vitrin {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; font-size: 10px; font-weight: 700;
    letter-spacing: .06em; background: var(--purple-dim);
    color: #fff; border-radius: 6px; text-transform: uppercase;
}
.listing-card-body { padding: 12px 14px 14px; }
.listing-seller {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: var(--bg-input);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.listing-seller-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(0, 212, 170, 0.25);
}
.listing-seller-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.listing-seller-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.listing-seller-name {
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.listing-card-title {
    font-size: 14px; font-weight: 600; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-card-price {
    margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--gold);
}

/* Site komisyonu — ilan ekle & ilan detay */
.listing-commission-box {
    margin-top: 12px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--radius-lg);
}
.listing-commission-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--warm);
    margin-bottom: 12px;
}
.listing-commission-rows {
    margin: 0;
    padding: 0;
}
.listing-commission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.listing-commission-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.listing-commission-row dt {
    color: var(--text-muted);
    font-weight: 500;
}
.listing-commission-row dd {
    margin: 0;
    font-weight: 700;
    color: var(--text);
    text-align: right;
    white-space: nowrap;
}
.listing-commission-row--fee dd {
    color: var(--warm);
}
.listing-commission-row--net dd {
    color: var(--accent);
}
.listing-commission-empty {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.listing-commission-empty[hidden],
.listing-commission-rows[hidden] {
    display: none !important;
}

/* İlan detay — sade düzen */
.listing-detail-layout {
    display: grid;
    grid-template-columns: 1.15fr minmax(300px, 400px);
    gap: 28px;
    align-items: start;
}
.listing-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}
.listing-detail-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 22px;
}
.listing-detail-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 12px 0 16px;
    letter-spacing: -.02em;
}
.listing-detail-seller {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.listing-detail-seller img { border-radius: 10px; object-fit: cover; }
.listing-detail-seller strong { display: block; font-size: 14px; }
.seller-trade-stats {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.seller-trade-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.seller-trade-pill--ok {
    color: #86efac;
    border-color: rgba(34,197,94,.22);
    background: rgba(34,197,94,.08);
}
.seller-trade-pill--bad {
    color: #fca5a5;
    border-color: rgba(239,68,68,.22);
    background: rgba(239,68,68,.08);
}
.listing-detail-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.listing-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.share-bar--compact { margin: 0; gap: 6px; }
.share-bar--compact .share-btn {
    padding: 10px 12px;
    min-width: 44px;
    justify-content: center;
}
.share-bar--compact .share-btn span { display: none; }
.listing-fav-form { margin: 0; }
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}
.listing-detail-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.listing-detail-panel summary {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.listing-detail-panel summary::-webkit-details-marker { display: none; }
.listing-detail-panel .listing-detail-desc,
.listing-detail-panel .listing-detail-panel-body {
    padding: 0 16px 16px;
    margin: 0;
    border: none;
    background: transparent;
}
.listing-detail-panel--muted summary { color: var(--text-muted); font-size: 13px; }
.listing-detail-panel .listing-report-form { padding: 0 16px 16px; }
.listing-status-pill--active {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 10px;
}
.listing-related-section { margin-top: 8px; padding-bottom: 40px; }
.listing-detail-sidebar .listing-detail-price {
    margin: 0 0 4px;
    font-size: 1.75rem;
}

@media (max-width: 900px) {
    .listing-detail-layout { grid-template-columns: 1fr; }
    .listing-detail-sidebar { position: static; }
}

.listing-commission-hint {
    margin: 10px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Panel — ilanlarım mobil kartlar */
.listing-my-cards {
    display: none;
}
.listing-my-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.listing-my-card-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-input);
}
.listing-my-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-my-card-body {
    min-width: 0;
    flex: 1;
}
.listing-my-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}
.listing-my-card-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}
.listing-my-card-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}
.listing-my-card-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
}
.listing-my-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.listing-my-card-modern {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}
.listing-my-card-modern .listing-my-card-thumb { position: relative; }
.listing-my-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}
.listing-inline-delete { display: inline; margin: 0; }
.btn-danger-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}
.btn-danger-outline:hover { background: rgba(239, 68, 68, 0.16); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.listing-edit-preview {
    position: relative;
    max-width: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.listing-edit-preview img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.listing-edit-actions { margin-top: 8px; }
.listing-delete-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.panel-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }

.empty-state {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
    font-size: 14px;
}
.listing-grid .empty-state {
    grid-column: 1 / -1;
}

.listing-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.listing-filter-bar input,
.listing-filter-bar select {
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
}
.listing-filter-bar input[type="search"] { flex: 1; min-width: 180px; }

/* Fırsat ürünleri */
.deals-section { margin: 24px 0; }

.deals-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 16px;
}
.deals-title {
    grid-column: 2;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 1.1rem; font-weight: 700;
    text-align: center;
}
.deals-header .link-see-all {
    grid-column: 3;
    justify-self: end;
}
.deals-title .tag-icon { font-size: 1.25rem; }

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 4px 0 8px;
    box-sizing: border-box;
}
.category-pill {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 999px; font-size: 12px; font-weight: 500;
    color: var(--text-muted); white-space: nowrap; transition: all .2s;
}
.category-pill:hover, .category-pill.active {
    color: #ffe8d4; border-color: var(--gold);
    background: rgba(255,180,0,.06);
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}
.product-grid .product-card {
    flex: 0 1 calc((100% - 42px) / 4);
    min-width: 160px;
    max-width: 300px;
}
@media (max-width: 1024px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .product-grid .product-card {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}

.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.product-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.product-card-visual {
    position: relative; aspect-ratio: 1; overflow: hidden;
    background: linear-gradient(180deg, #1e1a2e 0%, #12121a 100%);
}
.product-card-visual img {
    width: 100%; height: 100%; object-fit: cover;
}
.product-card-visual .overlay-title {
    position: absolute; bottom: 12px; left: 14px; right: 14px;
    font-size: 1.1rem; font-weight: 700;
    color: #fff8f0;
    text-shadow: 0 2px 12px rgba(0,0,0,.8), 0 0 20px rgba(251,146,60,.35);
}
.product-card-info { padding: 12px 14px 16px; }
.product-card-info h3 { font-size: 13px; font-weight: 500; color: #ffe8d4; margin-bottom: 6px; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--gold); }

/* CTA banner */
.cta-banner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 28px 32px; margin: 28px 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.cta-banner h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.cta-banner p { font-size: 14px; color: var(--text-muted); max-width: 480px; }
.cta-link {
    display: flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 14px; white-space: nowrap;
}
.cta-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold); color: #0a0a0e;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

/* Footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--border); }

.footer-trust { padding: 40px 0; }
.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 900px) {
    .footer-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .footer-trust-grid { grid-template-columns: 1fr; }
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: left;
}
.trust-badge .ico { color: var(--accent); opacity: 0.9; flex-shrink: 0; }
.trust-badge strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.trust-badge span {
    font-size: 11px;
    color: var(--text-muted);
}
.footer-trust-grid .etbis-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.footer-newsletter {
    padding: 28px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.footer-newsletter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
.footer-newsletter-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}
.footer-newsletter-text strong { font-size: 15px; }
.footer-newsletter-text span { font-size: 13px; color: var(--text-muted); }
.footer-newsletter-form {
    display: flex;
    flex: 1;
    min-width: 260px;
    max-width: 480px;
    gap: 8px;
}
.footer-newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}
.footer-newsletter-form button {
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: #041210;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.footer-newsletter-form button:hover { background: var(--accent-dim); color: #fff; }
.footer-newsletter-form button:disabled { opacity: 0.6; cursor: wait; }
.footer-newsletter-msg {
    width: 100%;
    margin: 0;
    font-size: 13px;
}
.footer-newsletter-msg.is-ok { color: var(--accent); }
.footer-newsletter-msg.is-error { color: #fca5a5; }
.cms-page {
    max-width: 760px;
    margin: 0 auto 48px;
    padding-bottom: 32px;
}
.cms-page-body {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
}
.cms-page-body p { margin: 0 0 14px; }
.cms-page-body p:last-child { margin-bottom: 0; }
.cms-contact-box {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px;
    line-height: 1.6;
}
.cms-contact-box p { margin: 0 0 10px; }
.cms-contact-box p:last-child { margin-bottom: 0; }

.etbis-badge {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 20px 32px; background: #fff; color: #111;
    border-radius: var(--radius); font-size: 13px;
}
.etbis-icon { font-size: 2rem; }
.etbis-badge strong { display: block; font-size: 14px; }
.etbis-badge span { color: var(--text-muted); font-size: 12px; }

.footer-top-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0; background: var(--bg-card);
}
.footer-top-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-social-row { display: flex; align-items: center; gap: 12px; }
.social-icons { display: flex; gap: 8px; }
.soc {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 16px;
}
.soc:hover { color: var(--text); border-color: var(--border-light); }
.soc-discord:hover { color: #5865f2; }
.soc-ig:hover { color: #e4405f; }
.soc-fb:hover { color: #1877f2; }
.soc-x:hover { color: var(--text); }
.footer-pill {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; font-size: 12px; font-weight: 600;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 999px;
}
.footer-pill:hover { border-color: var(--border-light); }

.footer-quick { padding: 20px 0; background: var(--bg); }
.footer-quick-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
@media (max-width: 900px) { .footer-quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .footer-quick-grid { grid-template-columns: repeat(2, 1fr); } }

.quick-card {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 13px; font-weight: 600; transition: border-color .2s;
}
.quick-card:hover { border-color: var(--border-light); }

.footer-links { padding: 32px 0; background: var(--bg-card); }
.footer-cols {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
@media (max-width: 768px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

.footer-col h4 {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    color: var(--text-muted); margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #c9a882; }
.footer-col a:hover { color: #ffe8d4; }
.link-gold { color: var(--gold) !important; font-weight: 600; }
.link-purple { color: var(--purple) !important; font-weight: 600; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0; background: #08080c;
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a:hover { color: var(--text); }

.chat-fab {
    position: fixed; bottom: 64px; right: 24px; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(255, 245, 235, 0.1);
    background: linear-gradient(145deg, #1a2030 0%, #0c0f16 48%, #141a26 100%);
    color: #fff5eb;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: transform .2s, border-color .2s;
}
.chat-fab:hover {
    transform: scale(1.06) translateY(-2px);
    border-color: rgba(251, 146, 60, 0.35);
}

/* Auth & forms */
.auth-page {
    min-height: calc(100vh - var(--header-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 20px;
    gap: 40px;
    align-items: center;
}
.auth-brand {
    padding: 24px 0;
}
.auth-brand h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.auth-brand p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 360px;
}
.auth-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-feature {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: var(--text-muted);
}
.auth-feature-ico {
    width: 28px; height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 8px;
    color: var(--accent);
    font-size: 12px !important;
}
.auth-box {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}
.auth-box h1 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 800; }
.auth-box .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.form-error { color: #f87171; font-size: 13px; margin-bottom: 12px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text);
    font-family: inherit; font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 100px; resize: vertical; }

.btn-primary {
    width: 100%; padding: 13px; margin-top: 8px;
    background: var(--accent); color: #041210;
    border: none; border-radius: var(--radius);
    font-family: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--accent-dim); color: #fff; }
.btn-primary.btn-buy { width: auto; min-width: 160px; }
.btn-ghost {
    padding: 12px 18px;
    font-size: 13px; font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius);
}
.btn-ghost:hover { color: var(--text); }
.btn-disabled {
    display: inline-block;
    padding: 12px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}
.btn-secondary {
    padding: 10px 18px; background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); font-family: inherit; font-size: 13px;
    cursor: pointer;
}
.btn-danger { background: #7f1d1d; border-color: #991b1b; color: #fecaca; }

.auth-footer { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--gold); font-weight: 600; }
.auth-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.auth-password-row label { margin-bottom: 0; }
.auth-forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.auth-forgot-link:hover { color: var(--gold); text-decoration: underline; }
.auth-box-modern {
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.auth-success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}
.auth-success-box .ico-lg { color: var(--accent); font-size: 2rem; }
.auth-forgot-form .btn-lg { width: 100%; margin-top: 8px; }

/* Admin */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; background: var(--bg-card);
    border-right: 1px solid var(--border); padding: 24px 16px;
    flex-shrink: 0;
}
.admin-sidebar .logo { display: block; margin-bottom: 28px; padding: 0 8px; }
.admin-nav a {
    display: block; padding: 10px 12px; border-radius: 8px;
    font-size: 14px; color: var(--text-muted); margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(168,85,247,.12); color: var(--purple);
}
.admin-content { flex: 1; padding: 28px 32px; overflow: auto; }
.admin-content h1 { font-size: 1.5rem; margin-bottom: 24px; }

.admin-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.admin-table th, .admin-table td {
    padding: 12px 14px; text-align: left;
    border-bottom: 1px solid var(--border);
}
.admin-table th { color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }
.admin-table img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; }

.admin-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.stat-box strong { display: block; font-size: 1.75rem; margin-bottom: 4px; }
.stat-box span { font-size: 13px; color: var(--text-muted); }

.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.badge-active { background: rgba(34,197,94,.15); color: #4ade80; }
.badge-pending { background: rgba(251,191,36,.15); color: #fbbf24; }
.badge-rejected { background: rgba(239,68,68,.15); color: #f87171; }

.panel-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; }
.panel-sidebar a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 14px; color: var(--text-muted); margin-bottom: 4px;
}
.panel-sidebar a.active, .panel-sidebar a:hover {
    background: var(--bg-card); color: #ffe8d4;
}

.page-header {
    padding: 28px 0 8px;
    text-align: center;
}
.page-header h1 {
    font-size: 1.5rem;
    text-align: center;
}

/* Masaüstü: kategori pilləri və bölümlər mərkəzdə */
@media (min-width: 769px) {
    .category-pills {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .deals-section .section-box,
    .site-main > section.container .section-box {
        width: 100%;
    }
}

body.theme-light {
    --bg: #f4f4f6;
    --bg-card: #fff;
    --bg-elevated: #fafafa;
    --bg-input: #eeeef2;
    --border: #dddde8;
    --text: #12121a;
    --text-muted: #5c5c6e;
}

/* Listing detail */
.listing-detail-page {
    padding: 32px 0 48px;
    overflow-x: hidden;
    max-width: 100%;
}
.listing-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: start;
}
.listing-detail-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.listing-detail-grid,
.listing-detail-info,
.listing-detail-card {
    min-width: 0;
    max-width: 100%;
}

.listing-detail-media img {
    width: 100%;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.listing-sold-badge {
    position: absolute; top: 16px; left: 16px;
    padding: 8px 14px;
    background: rgba(0,0,0,.75);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.listing-detail-info h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 16px 0 8px;
}
.listing-detail-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--warm);
}
.listing-seller-row {
    display: flex; align-items: center; gap: 12px;
}
.listing-seller-row img { border-radius: 50%; object-fit: cover; }
.listing-seller-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.seller-rating-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}
.seller-rating-avg {
    font-weight: 800;
    color: #fff;
    background: rgba(251, 146, 60, 0.14);
    border: 1px solid rgba(251, 146, 60, 0.28);
    padding: 2px 8px;
    border-radius: 999px;
}
.seller-rating-count { opacity: .9; }
.listing-detail-desc {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.listing-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    align-items: center;
}
.listing-buy-form { display: inline; }
.listing-report-box {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}
.listing-report-box summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    list-style: none;
}
.listing-report-box summary::-webkit-details-marker { display: none; }
.listing-report-form { margin-top: 12px; }

/* Satıcı güven skoru & çevrimiçi */
.seller-presence-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}
.seller-presence-dot.is-online { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.6); }
.seller-presence-dot.is-offline { background: #64748b; }
.seller-presence { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); }
.seller-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}
.seller-trust-high { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.seller-trust-mid { background: rgba(251, 146, 60, 0.12); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.3); }
.seller-trust-low { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.seller-trust-score { font-variant-numeric: tabular-nums; }
.listing-seller-name { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.listing-seller-name-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.profile-hint { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; }

@media (max-width: 900px) {
    .listing-detail-grid { grid-template-columns: 1fr; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
}
