/* MinePay — Dark Gaming-Tech Marketplace */

:root {
    --bg-primary: #0b0f14;
    --bg-secondary: #111820;
    --bg-card: #151c26;
    --bg-elevated: #1a2332;
    --bg-hover: #1f2a3d;
    --border: #243044;
    --border-light: #2d3d56;
    --text-primary: #e8edf5;
    --text-secondary: #8b9cb3;
    --text-muted: #5c6d85;
    --accent: #00c48a;
    --accent-hover: #00dba0;
    --accent-dim: #00a876;
    --accent-glow: rgba(0, 229, 160, 0.15);
    --accent-blue: #3b82f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --font: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
    --surface: var(--bg-card);
    --surface-soft: var(--bg-elevated);
    --header-h: 64px;
    --transition: 0.2s ease;
}

html[data-theme="light"] {
    --bg-primary: #eef3f9;
    --bg-secondary: #f7f9fc;
    --bg-card: #ffffff;
    --bg-elevated: #e7edf5;
    --bg-hover: #dfe8f2;
    --border: #cfd9e6;
    --border-light: #bccada;
    --text-primary: #101a2b;
    --text-secondary: #4f6178;
    --text-muted: #6f8095;
    --accent: #00a878;
    --accent-hover: #00946a;
    --accent-dim: #008e66;
    --accent-glow: rgba(0, 168, 120, 0.12);
    --shadow: 0 7px 22px rgba(29, 48, 73, 0.09);
    color-scheme: light;
}

.hero-prime__title, .page-header h1, .seo-catalog-hero h1, .section__head h2, .section__head--center h2 { font-family:var(--font-display); font-weight:700; letter-spacing:-.035em; }
.card, .lot-card, .cat-tile { transition:transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
html[data-theme="light"] .card, html[data-theme="light"] .lot-card, html[data-theme="light"] .cat-tile { box-shadow:0 3px 14px rgba(33,54,79,.055); }
.card:hover, .lot-card:hover, .cat-tile:hover { border-color:var(--border-light); }

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] body { scrollbar-color: #c7d2df var(--bg-primary); }
.theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: block; }

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    scrollbar-color: #2d3d56 var(--bg-secondary);
    scrollbar-width: thin;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #2d3d56 transparent;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

*::-webkit-scrollbar-thumb {
    background: #2d3d56;
    border-radius: 8px;
    border: 2px solid var(--bg-secondary);
}

*::-webkit-scrollbar-thumb:hover {
    background: #3d4f6a;
}

/* Links — никаких подчёркиваний нигде */
a,
:any-link,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
a:focus-visible {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: unset !important;
    text-decoration-thickness: 0 !important;
    -webkit-text-decoration: none !important;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { opacity: 0.92; }

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main { min-height: calc(100vh - var(--header-h) - 200px); padding-bottom: 60px; }

/* Typography */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
.text-muted { color: var(--text-secondary); }
.text-danger { color: var(--danger); }
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.logo:hover { color: var(--text-primary); }
.logo__mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo--footer .logo__mark {
    width: 32px;
    height: 32px;
}

.auth-card__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-card__logo .logo__mark {
    width: 56px;
    height: 56px;
}

.logo__accent { color: var(--accent); }

.header-search {
    flex: 1 1 auto;
    max-width: 520px;
    min-width: 200px;
    position: relative;
    display: none;
}
.header-search__input {
    width: 100%;
    padding: 9px 40px 9px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}
.header-search__input:focus { border-color: var(--accent); }
.header-search__btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
}

.nav { display: none; gap: 4px; }
.nav-link {
    padding: 8px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-link:hover, .nav-link--active { color: var(--text-primary); background: var(--bg-hover); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .header-search { display: block; max-width: 480px; }
    .nav { display: flex; }
    .burger { display: none; }
}

@media (min-width: 1024px) {
    .header-search { max-width: 560px; }
}

@media (min-width: 1200px) {
    .header-search { max-width: 640px; }
}

/* User menu */
.user-menu { position: relative; }
.user-menu__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 12px 6px 6px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.user-menu__trigger:hover { border-color: var(--border-light); background: var(--bg-hover); }
.user-menu__chevron { transition: transform 0.2s ease; color: var(--text-muted); }
.user-menu:has(.user-menu__dropdown.is-open) .user-menu__chevron { transform: rotate(180deg); }
.user-menu__dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow);
    z-index: 200;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.user-menu__dropdown.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.user-menu__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}
.user-menu__head-name { display: block; font-size: 0.95rem; }
.user-menu__head-user { display: block; font-size: 0.78rem; color: var(--text-muted); }
.user-menu__divider { height: 1px; background: var(--border); margin: 6px 4px; }
.user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.user-menu__item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(2px);
}
.user-menu__item--danger { color: #f87171; }
.user-menu__item--danger:hover { color: #fca5a5; background: rgba(239, 68, 68, 0.08); }
.user-menu__icon { width: 1.25rem; text-align: center; flex-shrink: 0; }
.avatar--md { width: 40px; height: 40px; }

/* Avatar */
.avatar-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dim), var(--accent-blue));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.avatar--img {
    object-fit: cover;
    background: var(--bg-secondary);
    padding: 0;
}

.avatar-wrap__status {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.45);
    pointer-events: none;
}

.avatar--xs { width: 24px; height: 24px; font-size: 0.7rem; }
.avatar--sm { width: 32px; height: 32px; font-size: 0.8rem; }
.avatar--lg { width: 48px; height: 48px; font-size: 1.1rem; }
.avatar--xl { width: 80px; height: 80px; font-size: 2rem; }

.avatar-wrap--online .avatar--xs + .avatar-wrap__status {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
}
.btn--primary {
    background: var(--accent);
    color: #07120e;
    border-color: var(--accent);
}
.btn--primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: #07120e; }
.btn--soft {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-weight: 500;
}
.btn--soft:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.07);
    border-color: color-mix(in srgb, var(--accent) 25%, var(--border-light));
    color: var(--text-primary);
}
.btn--save { width: auto; min-width: 240px; max-width: 300px; }
.btn--outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-primary);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn--ghost:hover { color: var(--text-primary); background: var(--bg-hover); }
.btn--lg { padding: 12px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 8px; }
.btn--white {
    background: #fff;
    color: #0b0f14;
    border-color: #fff;
}
.btn--white:hover { background: #e8edf5; color: #0b0f14; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* Badges & Tags */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge--custom { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.badge--demo { background: var(--accent-glow); color: var(--accent); }

.tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-elevated);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.tag--outline { background: transparent; border: 1px solid var(--border); }
.tag--custom { color: var(--accent-blue); }
.tag--ready { color: var(--accent); }

/* Stars */
.stars { display: inline-flex; gap: 1px; }
.star { font-size: 0.85rem; }
.star--full { color: #fbbf24; }
.star--half { color: #fbbf24; opacity: 0.6; }
.star--empty { color: var(--border-light); }

/* Alerts */
.alert {
    max-width: 1200px;
    margin: 16px auto;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.alert--success { background: rgba(16, 185, 129, 0.12); border: 1px solid var(--success); color: var(--success); }
.alert--error { background: rgba(239, 68, 68, 0.12); border: 1px solid var(--danger); color: var(--danger); }

/* Hero — premium marketplace */
.hero-prime {
    --prime-bg: #05080d;
    --prime-emerald: #3ecfad;
    --prime-emerald-dim: #2aab8e;
    --prime-cyan: #6ec8d9;
    --prime-steel: #8b9cb3;
    --prime-border: rgba(255, 255, 255, 0.07);

    position: relative;
    height: calc(100svh - var(--header-h));
    min-height: 580px;
    max-height: calc(100svh - var(--header-h));
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--prime-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-prime__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 82% 42%, rgba(62, 207, 173, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 35% 30% at 10% 80%, rgba(110, 200, 217, 0.04) 0%, transparent 65%);
}

.hero-prime__layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 40px;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hero-prime__copy {
    max-width: 520px;
}

.hero-prime__eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--prime-steel);
    margin-bottom: 20px;
}

.hero-prime__title {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
    color: #f0f4f8;
}

.hero-prime__highlight {
    color: var(--prime-emerald);
}

.hero-prime__sub {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--prime-steel);
    margin-bottom: 28px;
    max-width: 420px;
}

.hero-prime__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn--emerald {
    background: var(--prime-emerald);
    color: #041210;
    border-color: var(--prime-emerald);
    font-weight: 600;
}
.btn--emerald:hover {
    background: #52dbb8;
    border-color: #52dbb8;
    color: #041210;
}
.btn--ghost-prime {
    background: transparent;
    border: 1px solid var(--prime-border);
    color: #c8d4e4;
}
.btn--ghost-prime:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-prime__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
}

.hero-prime__trust span {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(139, 156, 179, 0.85);
    padding: 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-prime__trust span:first-child {
    padding-left: 0;
    border-left: none;
}

/* Platform order card (hero showcase) */
.hero-prime__showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mp-order {
    width: 100%;
    max-width: 420px;
    background: rgba(10, 14, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--prime-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 28px 56px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(62, 207, 173, 0.05);
}

.mp-order--daily {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mp-order--daily:hover {
    transform: translateY(-4px);
    border-color: rgba(62, 207, 173, .42);
    box-shadow: 0 32px 64px rgba(0, 0, 0, .5), 0 0 60px rgba(62, 207, 173, .09);
}

.mp-order__cover {
    width: 100%;
    height: 138px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .035);
}

.mp-order__daily-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 22px;
    border-top: 1px solid var(--prime-border);
    border-bottom: 1px solid var(--prime-border);
    color: var(--prime-emerald);
    font-size: .78rem;
    font-weight: 600;
}

.mp-order__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid var(--prime-border);
    background: rgba(255, 255, 255, 0.02);
}

.mp-order__id {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--prime-steel);
    font-family: var(--font-mono);
}

.mp-order__status {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(62, 207, 173, 0.12);
    color: var(--prime-emerald);
}

.mp-order__body {
    padding: 22px;
}

.mp-order__type {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--prime-cyan);
    margin-bottom: 10px;
}

.mp-order__title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #f0f4f8;
    margin-bottom: 8px;
}

.mp-order__desc {
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--prime-steel);
    margin-bottom: 20px;
}

.mp-order__executor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--prime-border);
    border-radius: 12px;
}

.mp-order__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--prime-emerald-dim), #4a7fd4);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.mp-order__executor-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e8edf5;
    margin-bottom: 3px;
}

.mp-order__executor-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--prime-steel);
    line-height: 1.4;
}

.mp-order__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 18px 22px;
    border-top: 1px solid var(--prime-border);
    border-bottom: 1px solid var(--prime-border);
    background: rgba(255, 255, 255, 0.015);
}

.mp-order__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--prime-steel);
    text-align: center;
    position: relative;
}

.mp-order__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 5px;
    left: calc(50% + 10px);
    width: calc(100% - 20px);
    height: 2px;
    background: var(--prime-border);
    z-index: 0;
}

.mp-order__step--done:not(:last-child)::after,
.mp-order__step--active:not(:last-child)::after {
    background: rgba(62, 207, 173, 0.35);
}

.mp-order__step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1e2836;
    border: 2px solid #2a3548;
    position: relative;
    z-index: 1;
}

.mp-order__step--done .mp-order__step-dot {
    background: var(--prime-emerald);
    border-color: var(--prime-emerald);
    box-shadow: 0 0 8px rgba(62, 207, 173, 0.4);
}

.mp-order__step--done { color: rgba(62, 207, 173, 0.85); }

.mp-order__step--active .mp-order__step-dot {
    background: var(--prime-emerald);
    border-color: var(--prime-emerald);
    box-shadow: 0 0 0 4px rgba(62, 207, 173, 0.2);
}

.mp-order__step--active {
    color: var(--prime-emerald);
    font-weight: 600;
}

.mp-order__secure {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
}

.mp-order__secure svg {
    flex-shrink: 0;
    color: var(--prime-emerald);
    opacity: 0.9;
}

.mp-order__secure strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8edf5;
    margin-bottom: 2px;
}

.mp-order__secure span {
    display: block;
    font-size: 0.75rem;
    color: var(--prime-steel);
}

@media (min-width: 960px) {
    .hero-prime__layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
    }
    .hero-prime__showcase { justify-content: flex-end; }
}

@media (max-width: 959px) {
    .hero-prime {
        height: auto;
        max-height: none;
        min-height: calc(100svh - var(--header-h));
        padding: 36px 0 44px;
    }
    .hero-prime__copy { text-align: center; margin: 0 auto; }
    .hero-prime__sub { margin-left: auto; margin-right: auto; }
    .hero-prime__actions { justify-content: center; }
    .hero-prime__trust { justify-content: center; }
    .mp-order { max-width: 400px; margin: 0 auto; }
}

@media (max-height: 740px) and (min-width: 960px) {
    .hero-prime__title { font-size: 2.1rem; }
    .hero-prime__sub { font-size: 0.92rem; margin-bottom: 20px; }
    .mp-order__body { padding: 18px 22px; }
    .mp-order__title { font-size: 1.05rem; }
}

/* Legacy hero (other pages) */
.hero {
    padding: 60px 0 80px;
    background: radial-gradient(ellipse at 30% 0%, rgba(0, 229, 160, 0.06) 0%, transparent 60%);
    border-bottom: 1px solid var(--border);
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 160, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}
.hero__title { font-size: 2.5rem; margin-bottom: 16px; max-width: 600px; }
.hero__subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 520px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat__value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat__label { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-secondary); }
.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 20px;
}
.section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}
.section__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}
.section__label--light { color: rgba(255,255,255,0.6); }
.section__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 8px;
    max-width: 480px;
}
.section__head--center .section__desc { margin-left: auto; margin-right: auto; }
.link-arrow { font-size: 0.9rem; font-weight: 500; white-space: nowrap; color: var(--accent); text-decoration: none !important; }
.link-arrow:hover { color: #33ffbb; opacity: 1; }
.link-arrow--mobile { display: block; text-align: center; margin-top: 20px; }
.link-arrow--desktop { display: none; }
@media (min-width: 768px) {
    .link-arrow--mobile { display: none; }
    .link-arrow--desktop { display: inline; }
}

/* ——— Home page sections ——— */
.section--categories {
    border-top: 1px solid var(--border);
}
.section__desc--inline { margin-top: 8px; margin-bottom: 0; }

/* Category tiles */
.cat-grid {
    display: grid;
    gap: 16px;
}

.cat-grid--main {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-primary);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-height: 188px;
    height: 100%;
}

.cat-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 0%, var(--cat-glow), transparent 65%);
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.cat-tile:hover::before { opacity: 1; }

.cat-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color);
    opacity: 0.55;
    transition: opacity 0.25s;
}

.cat-tile:hover {
    border-color: color-mix(in srgb, var(--cat-color) 40%, var(--border));
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    color: var(--text-primary);
}

.cat-tile:hover::after { opacity: 1; }

.cat-tile__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cat-glow);
    border: 1px solid color-mix(in srgb, var(--cat-color) 25%, transparent);
    border-radius: 12px;
    color: var(--cat-color);
    margin-bottom: 18px;
    flex-shrink: 0;
}

.cat-tile__icon svg { width: 24px; height: 24px; }

.cat-tile__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.cat-tile__desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.cat-tile__go {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cat-color);
    margin-top: auto;
}

.cat-tile__go::after {
    content: ' →';
}

/* Accent row — custom development */
.cat-tile--accent {
    grid-column: 1 / -1;
    min-height: 188px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 8%, var(--bg-card)) 0%, var(--bg-card) 60%);
    border-color: color-mix(in srgb, var(--cat-color) 30%, var(--border));
}

.cat-tile--accent::before { opacity: 0.45; }

.cat-tile--accent::after {
    opacity: 0.85;
    background: linear-gradient(90deg, var(--cat-color), color-mix(in srgb, var(--cat-color) 20%, transparent));
}

@media (min-width: 768px) {
    .cat-tile--accent {
        display: grid;
        grid-template-columns: 48px 1fr auto;
        grid-template-rows: auto auto auto;
        column-gap: 20px;
        align-content: center;
    }

    .cat-tile--accent .cat-tile__icon {
        grid-row: 1 / 4;
        align-self: center;
        margin-bottom: 0;
    }

    .cat-tile--accent .cat-tile__title { grid-column: 2; margin-bottom: 6px; }
    .cat-tile--accent .cat-tile__desc { grid-column: 2; margin-bottom: 0; }
    .cat-tile--accent .cat-tile__go {
        grid-column: 3;
        grid-row: 1 / 4;
        align-self: center;
        margin-top: 0;
        padding: 10px 16px;
        background: color-mix(in srgb, var(--cat-color) 12%, transparent);
        border: 1px solid color-mix(in srgb, var(--cat-color) 30%, transparent);
        border-radius: 8px;
        white-space: nowrap;
    }

    .cat-tile--accent .cat-tile__go::after { content: ' →'; }

    .cat-tile--accent:hover .cat-tile__go {
        background: var(--cat-color);
        color: #14110a;
        border-color: var(--cat-color);
    }
}

/* Lot cards (marketplace listings) */
.lots-grid,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.section--featured .section__head { margin-bottom: 32px; }

/* Services showcase — 3 cards row */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    padding: 22px 22px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-primary);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(62, 207, 173, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.showcase-card:hover {
    border-color: rgba(62, 207, 173, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

.showcase-card:hover::before { opacity: 1; }

.showcase-card--pinned {
    background: linear-gradient(165deg, rgba(62, 207, 173, 0.07) 0%, var(--bg-card) 100%);
    border-color: rgba(62, 207, 173, 0.22);
}

.showcase-card--pinned::before {
    opacity: 1;
    background: linear-gradient(90deg, #3ecfad, transparent);
}

.showcase-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.showcase-card__badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.showcase-card__badge--pinned {
    background: rgba(62, 207, 173, 0.14);
    color: #3ecfad;
    border-color: rgba(62, 207, 173, 0.28);
}

.showcase-card__badge--rating {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.25);
}

.showcase-card__badge--service {
    background: rgba(62, 207, 173, 0.12);
    color: #3ecfad;
    border-color: rgba(62, 207, 173, 0.25);
}

.showcase-card__price-value--solo {
    font-size: 1rem;
    line-height: 1.3;
}

.showcase-card__category {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.showcase-card__title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-card__desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-card__seller {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.showcase-card__avatar {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2aab8e, #4a7fd4);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.showcase-card__seller-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.showcase-card__seller-name {
    font-size: 0.84rem;
    font-weight: 600;
}

.showcase-card__seller-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.showcase-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.showcase-card__price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.showcase-card__price-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: lowercase;
}

.showcase-card__price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3ecfad;
    letter-spacing: -0.02em;
    line-height: 1;
}

.showcase-card__cta {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.showcase-card:hover .showcase-card__cta {
    background: rgba(62, 207, 173, 0.12);
    border-color: rgba(62, 207, 173, 0.3);
    color: #3ecfad;
}

.showcase-card--pinned:hover .showcase-card__cta {
    background: #3ecfad;
    border-color: #3ecfad;
    color: #041210;
}

.showcase-card__cta::after {
    content: ' →';
}

/* BestDev services page */
.bestdev-hero {
    padding: 48px 0 0;
    border-bottom: 1px solid var(--border);
}

.bestdev-hero__card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    flex-wrap: wrap;
}

.bestdev-hero__profile {
    display: flex;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.bestdev-hero__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3ecfad;
    margin-bottom: 6px;
}

.bestdev-hero__profile h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.bestdev-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.bestdev-hero__bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 560px;
}

.bestdev-hero__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-self: center;
}

.section--bestdev {
    padding-top: 56px;
    padding-bottom: 88px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    border-color: rgba(62, 207, 173, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.service-card--wide {
    grid-column: 1 / -1;
}

.service-card__head {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.service-card__num {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-top: 4px;
    flex-shrink: 0;
}

.service-card__head-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.service-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.service-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3ecfad;
}

.service-card__price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.service-card__tiers {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.service-card__tiers li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    font-size: 0.84rem;
    border-bottom: 1px solid var(--border);
}

.service-card__tiers li:last-child {
    border-bottom: none;
}

.service-card__tiers li span {
    color: var(--text-secondary);
}

.service-card__tiers li strong {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.service-card__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    text-decoration: none !important;
}

.service-card__link:hover {
    color: #33ffbb;
    opacity: 1;
}

@media (max-width: 768px) {
    .showcase-grid { grid-template-columns: 1fr; }

    .bestdev-hero__card { padding: 24px; }
    .bestdev-hero__actions { width: 100%; }
    .bestdev-hero__actions .btn { flex: 1; text-align: center; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card--wide { grid-column: auto; }
}

.lots-grid,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.listings-grid--catalog {
    gap: 28px;
}

.lot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
    position: relative;
    cursor: pointer;
}

.lot-card--ready,
.lot-card--custom {
    border-color: color-mix(in srgb, var(--lot-accent) 12%, var(--border));
    background: var(--bg-card);
}

.lot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lot-accent);
    opacity: 0.7;
    transition: opacity 0.18s ease;
}

.lot-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--lot-accent) 8%, transparent), transparent 50%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.lot-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--lot-accent) 40%, var(--border));
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.32),
        0 0 0 1px color-mix(in srgb, var(--lot-accent) 18%, transparent);
}

.lot-card:hover::before {
    opacity: 1;
    height: 3px;
    box-shadow: 0 0 12px color-mix(in srgb, var(--lot-accent) 45%, transparent);
}
.lot-card:hover::after { opacity: 1; }

.lot-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 218px;
    padding: 22px 22px 20px;
    color: inherit;
    text-decoration: none;
}

.lot-card__link:hover { color: inherit; }

.lot-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.lot-card__category {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--lot-accent);
    padding: 4px 0;
}

.lot-card__type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.lot-card__type--ready {
    background: rgba(62, 207, 173, 0.14);
    color: #52dbb8;
    border-color: rgba(62, 207, 173, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lot-card__type--custom {
    background: rgba(251, 191, 36, 0.14);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lot-card--ready .lot-card__type--ready {
    padding: 5px 10px;
}

.lot-card--custom .lot-card__type--custom {
    padding: 5px 11px;
    border-radius: 999px;
}

.lot-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: #f0f4f8;
}

.lot-card__badges-left,
.lot-card__badges-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lot-card__badges-right {
    justify-content: flex-end;
}

.lot-card__pin {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(167, 139, 250, 0.14);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.28);
}

.lot-card__badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.lot-card__badge--auto {
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
    border-color: rgba(34, 211, 238, 0.28);
}

.lot-card__online {
    font-size: 0.68rem;
    font-weight: 600;
    color: #4ade80;
    margin-left: auto;
    padding-left: 8px;
}

.lot-card__online::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 5px;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.lot-card__tagline {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lot-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.lot-card__seller-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.lot-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.lot-card__price {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lot-accent);
    line-height: 1.2;
}

.lot-card__arrow {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.lot-card:hover .lot-card__arrow {
    background: color-mix(in srgb, var(--lot-accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--lot-accent) 45%, var(--border));
    color: var(--lot-accent);
    transform: translateX(3px) scale(1.06);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--lot-accent) 25%, transparent);
}

/* Flow steps */
.flow-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-steps__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
    color: rgba(62, 207, 173, 0.3);
}

.flow-step {
    flex: 1;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s, background 0.2s;
}

.flow-step:hover {
    border-color: rgba(62, 207, 173, 0.25);
    background: rgba(62, 207, 173, 0.03);
}

.flow-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(62, 207, 173, 0.12);
    color: #3ecfad;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.flow-step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.35;
}

.flow-step p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Trust section */
.section--trust {
    background: linear-gradient(180deg, transparent, rgba(62, 207, 173, 0.04));
    border-top: 1px solid var(--border);
}

.section--trust-final {
    padding-bottom: 88px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    padding: 32px 28px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(62, 207, 173, 0.45), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.trust-card:hover::before { opacity: 1; }

.trust-card:hover {
    border-color: rgba(62, 207, 173, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.trust-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 22px;
}

.trust-card__icon--shield {
    background: rgba(62, 207, 173, 0.12);
    color: #3ecfad;
}

.trust-card__icon--star {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.trust-card__icon--mc {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.trust-card__icon--shop {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.trust-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.trust-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Seller banner */
.section--seller { padding-bottom: 88px; }

.seller-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 48px;
    background: linear-gradient(135deg, rgba(62, 207, 173, 0.06) 0%, var(--bg-card) 45%, var(--bg-card) 100%);
    border: 1px solid rgba(62, 207, 173, 0.18);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.seller-banner__glow {
    position: absolute;
    top: -40%;
    right: -5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(62, 207, 173, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.seller-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3ecfad, transparent);
}

.seller-banner__text { max-width: 520px; position: relative; flex: 1; }

.seller-banner__text h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.55rem);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.seller-banner__text p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.seller-banner__metrics {
    display: flex;
    gap: 14px;
    position: relative;
    flex-shrink: 0;
}

.seller-banner__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.seller-banner__metric strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3ecfad;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.seller-banner__metric span {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid--main { grid-template-columns: repeat(2, 1fr); }
}

/* Product page information hierarchy */
.product-layout--v2 { gap: 20px; max-width: 1180px; }
.product-layout--v2 .product-main { display: grid; gap: 18px; min-width: 0; }
.product-layout--v2 .product-info--rich { padding: 26px; }
.product-layout--v2 .product-info__title { font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.035em; margin: 8px 0 10px; }
.product-layout--v2 .product-info__tagline { max-width: 760px; margin: 0; color: var(--text-secondary); font-size: 1rem; line-height: 1.55; }
.product-layout--v2 .tags-row { margin-bottom: 18px; }
.product-layout--v2 .product-visual { margin-top: 20px; }
.product-layout--v2 .product-gallery__main { max-height: 520px; }
.product-layout--v2 .product-visual__placeholder { height: 250px; aspect-ratio: auto; font-size: 2.25rem; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--bg-elevated)), var(--bg-secondary)); flex-direction:column; gap:10px; }
.product-layout--v2 .product-visual__placeholder small { font-size:.78rem; color:var(--text-muted); font-weight:500; }
.form-required { display:inline-flex; margin-left:6px; padding:2px 7px; border-radius:999px; background:rgba(239,68,68,.1); color:#ef4444; font-size:.68rem; font-weight:700; }
.seller-products-manage { display:grid; gap:10px; margin-top:18px; }
.seller-product-row { display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px; border:1px solid var(--border); border-radius:14px; background:var(--bg-elevated); }
.seller-product-row__image { width:72px; height:56px; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:var(--bg-secondary); }
.seller-product-row__image img { width:100%; height:100%; object-fit:cover; }
.seller-product-row__main { min-width:0; }
.seller-product-row__main strong,.seller-product-row__main small { display:block; }
.seller-product-row__main strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.seller-product-row__main small { color:var(--text-muted); margin:4px 0 7px; }
.seller-product-row__main>div { display:flex; gap:12px; flex-wrap:wrap; color:var(--text-secondary); font-size:.78rem; }
.seller-product-row__actions { display:flex; gap:7px; }
.promotion-card__form { display:grid; gap:12px; margin-top:auto; }
.promotion-card__form .select { min-height:40px; font-size:.8rem; }
.promotion-card__form .btn { width:100%; justify-content:center; }
.promotion-pay-methods { border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.promotion-pay-methods legend { grid-column:1/-1; margin-bottom:2px; color:var(--text); font-size:.78rem; font-weight:700; }
.promotion-pay-methods label { cursor:pointer; min-width:0; }
.promotion-pay-methods input { position:absolute; opacity:0; pointer-events:none; }
.promotion-pay-methods span { min-height:66px; display:grid; grid-template-columns:34px minmax(0,1fr) 18px; align-items:center; gap:9px; padding:10px; border:1px solid var(--border); border-radius:13px; background:var(--bg-elevated); transition:.18s ease; }
.promotion-pay-methods i { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:color-mix(in srgb,var(--accent) 10%,var(--bg-card)); color:var(--accent); font-size:.62rem; font-style:normal; font-weight:800; }
.promotion-pay-methods em,.promotion-pay-methods b,.promotion-pay-methods small { display:block; min-width:0; font-style:normal; }
.promotion-pay-methods b { font-size:.76rem; line-height:1.25; }
.promotion-pay-methods small { color:var(--text-muted); font-size:.64rem; margin-top:3px; line-height:1.25; }
.promotion-pay-methods strong { display:grid; place-items:center; width:18px; height:18px; border:1px solid var(--border); border-radius:50%; color:transparent; font-size:.66rem; }
.promotion-pay-methods label:hover span { border-color:color-mix(in srgb,var(--accent) 45%,var(--border)); }
.promotion-pay-methods input:checked+span { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 9%,var(--bg-elevated)); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 20%,transparent); }
.promotion-pay-methods input:checked+span strong { color:#fff; border-color:var(--accent); background:var(--accent); }
.promotion-payment-modal__content { max-width:520px; padding:28px; border-radius:22px; max-height:min(720px,calc(100vh - 32px)); overflow:auto; }
.promotion-payment-modal__eyebrow { color:var(--accent); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:7px; }
.promotion-payment-modal__content h3 { margin:0 42px 4px 0; font-size:1.35rem; }
.promotion-payment-modal__summary { margin:0 0 20px!important; color:var(--text-muted)!important; }
.promotion-payment-modal__label { font-size:.76rem; font-weight:700; color:var(--text); }
.promotion-payment-modal__total { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-radius:13px; border:1px solid var(--border); background:color-mix(in srgb,var(--accent) 5%,var(--bg-elevated)); }
.promotion-payment-modal__total span { color:var(--text-muted); font-size:.78rem; }
.promotion-payment-modal__total b { font-size:1.2rem; }
.promotion-payment-modal__submit { min-height:46px; }
.finance-stat__action { margin-top:12px; align-self:flex-start; }
.finance-stat__note { display:block; margin-top:5px; color:var(--text-muted); font-size:.68rem; }
.finance-topup-presets { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.finance-topup-presets button { min-height:40px; border:1px solid var(--border); border-radius:11px; background:var(--bg-elevated); color:var(--text); font-weight:700; cursor:pointer; }
.finance-topup-presets button:hover,.finance-topup-presets button.is-active { border-color:var(--accent); color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,var(--bg-elevated)); }
.finance-topup-input { position:relative; }
.finance-topup-input .input { padding-right:42px; font-size:1rem; font-weight:700; }
.finance-topup-input>span { position:absolute; right:15px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-weight:700; }
@media(max-width:520px){.promotion-pay-methods{grid-template-columns:1fr}}
@media(max-width:520px){.promotion-payment-modal{align-items:flex-end}.promotion-payment-modal__content{width:100%;max-width:none;max-height:88vh;border-radius:22px 22px 0 0;padding:24px 18px}.promotion-pay-methods span{min-height:58px}.promotion-payment-modal__content h3{font-size:1.2rem}}
.product-layout--v2 .product-info__section { margin-top: 22px; padding-top: 20px; }
.product-layout--v2 .product-info__section-title { font-family: var(--font-display); color: var(--text-primary); font-size: 1rem; }
.compatibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0; }
.compatibility-grid>div { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated); }
.compatibility-grid dt { color: var(--text-muted); font-size: .73rem; margin-bottom: 7px; }
.compatibility-grid dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-primary); font-size: .86rem; }
.compatibility-grid dd a { padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.product-included ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.product-included li { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 11px; background: var(--bg-elevated); border: 1px solid var(--border); }
.product-included li span { color: var(--accent); font-weight: 800; }
.product-update { padding: 18px!important; border: 1px solid color-mix(in srgb,var(--accent) 25%,var(--border))!important; border-radius: 14px; background: color-mix(in srgb,var(--accent) 5%,var(--bg-elevated)); }
.product-update__eyebrow { color: var(--accent); font-size: .72rem; font-weight: 700; }
.product-update h2 { margin: 5px 0 10px; }
.purchase-card__benefits { display: grid; gap: 9px; margin: 0 0 16px; }
.purchase-card__benefits p { display: grid; grid-template-columns: 22px 1fr; margin: 0; padding: 11px; border-radius: 11px; background: var(--bg-elevated); border: 1px solid var(--border); }
.purchase-card__benefits p>span { grid-row: 1/3; color: var(--accent); }
.purchase-card__benefits strong { font-size: .82rem; }
.purchase-card__benefits small { color: var(--text-muted); font-size: .7rem; line-height: 1.4; }
.seller-card__all,.product-section-more { display: block; margin-top: 12px; text-align: center; color: var(--accent); font-size: .82rem; font-weight: 650; }
.reviews-empty { padding: 22px; text-align: center; border: 1px dashed var(--border-light); border-radius: 12px; background: var(--bg-elevated); }
.reviews-empty strong { display: block; margin-bottom: 6px; }
.reviews-empty p { margin: 0; color: var(--text-muted); font-size: .86rem; }
body[data-theme="light"] .product-layout--v2 .card { box-shadow: 0 10px 28px rgba(30,41,59,.055); }
body[data-theme="light"] .product-gallery__image { background: #f1f5f9; }

@media (min-width: 900px) {
  .product-layout--v2 { grid-template-columns: minmax(0,1fr) 300px; }
}
@media (max-width: 700px) {
  .product-layout--v2 { padding: 14px 12px 96px; }
  .product-layout--v2 .product-info--rich { padding: 18px 16px; }
  .product-layout--v2 .product-info__meta-row { margin: 12px 0; gap: 5px; }
  .product-layout--v2 .product-visual__placeholder { height: 180px; }
  .compatibility-grid,.product-included ul { grid-template-columns: 1fr; }
  .product-sidebar { gap: 12px; }
  .purchase-card--premium { padding: 18px; }
  .purchase-card__actions .btn--primary { min-height: 48px; }
  .seller-product-row { grid-template-columns:56px minmax(0,1fr); }
  .seller-product-row__image { width:56px; height:52px; }
  .seller-product-row__actions { grid-column:1/-1; }
  .seller-product-row__actions .btn { flex:1; }
}

@media (max-width: 540px) {
    .trust-grid { grid-template-columns: 1fr; }
    .cat-grid--main { grid-template-columns: 1fr; }
    .trust-card { padding: 26px 22px; }
}

/* Categories v2 */
.categories-grid--v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.category-card-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.category-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-glow);
    opacity: 0;
    transition: opacity 0.25s;
}
.category-card-v2:hover {
    border-color: var(--cat-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    color: var(--text-primary);
}
.category-card-v2:hover::before { opacity: 1; }
.category-card-v2__icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cat-glow);
    border: 1px solid color-mix(in srgb, var(--cat-color) 30%, transparent);
    border-radius: 12px;
    color: var(--cat-color);
    flex-shrink: 0;
}
.category-card-v2__icon svg { width: 22px; height: 22px; }
.category-card-v2__body { position: relative; flex: 1; min-width: 0; }
.category-card-v2__body strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.category-card-v2__body span { font-size: 0.8rem; color: var(--text-muted); }
.category-card-v2__arrow {
    position: relative;
    color: var(--text-muted);
    transition: transform 0.25s, color 0.25s;
}
.category-card-v2:hover .category-card-v2__arrow {
    color: var(--cat-color);
    transform: translateX(4px);
}

/* Legacy categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all var(--transition);
}
.category-card:hover { border-color: var(--accent); background: var(--bg-hover); color: var(--text-primary); transform: translateY(-2px); }
.category-card__icon { font-size: 1.6rem; }
.category-card strong { display: block; font-size: 0.95rem; }
.category-card span { font-size: 0.8rem; color: var(--text-muted); }

/* Listings grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.listings-grid--v2 {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

/* Listing cards v2 */
.listing-card--v2 { padding: 0; overflow: hidden; }
.listing-card--v2:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--card-accent) 40%, var(--border));
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.listing-card--v2 .listing-card__visual {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.listing-card--v2 .listing-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 60%);
    z-index: 1;
}
.listing-card--v2 .listing-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-secondary) 100%);
}
.listing-card--v2 .listing-card__cat-icon { font-size: 2.2rem; opacity: 0.35; }
.listing-card--v2 .listing-card__top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.listing-card--v2 .listing-card__category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: rgba(11,15,20,0.75);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
}
.listing-card--v2 .listing-card__badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(59,130,246,0.2);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,0.3);
}
.listing-card--v2 .listing-card__body { padding: 18px 20px 20px; }
.listing-card--v2 .listing-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.listing-card--v2 .listing-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.listing-card--v2 .listing-card__seller-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.listing-card--v2 .listing-card__stats {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.listing-card--v2 .listing-card__rating-val { color: var(--text-secondary); font-weight: 500; }
.listing-card--v2 .listing-card__dot { color: var(--text-muted); }
.listing-card--v2 .listing-card__sales { color: var(--text-muted); }
.listing-card--v2 .listing-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.listing-card--v2 .listing-card__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--card-accent, var(--accent));
    letter-spacing: -0.01em;
}
.listing-card--v2 .listing-card__cta {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    transition: all 0.2s;
}
.listing-card--v2:hover .listing-card__cta {
    background: var(--card-accent, var(--accent));
    color: #0b0f14;
}

/* Legacy listing cards */
.listing-card {
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}
.listing-card:not(.listing-card--v2):hover { transform: translateY(-3px); border-color: var(--border-light); }
.listing-card__link { color: inherit; display: block; }
.listing-card__link:hover { color: inherit; }
.listing-card:not(.listing-card--v2) .listing-card__visual { position: relative; aspect-ratio: 16/10; background: var(--bg-elevated); }
.listing-card:not(.listing-card--v2) .listing-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
}
.listing-card:not(.listing-card--v2) .listing-card__cat-icon { font-size: 2.5rem; opacity: 0.5; }
.listing-card:not(.listing-card--v2) .listing-card__visual .badge { position: absolute; top: 10px; right: 10px; }
.listing-card:not(.listing-card--v2) .listing-card__body { padding: 16px; }
.listing-card:not(.listing-card--v2) .listing-card__meta { margin-bottom: 8px; }
.listing-card:not(.listing-card--v2) .listing-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-card:not(.listing-card--v2) .listing-card__seller {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.listing-card:not(.listing-card--v2) .listing-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.listing-card:not(.listing-card--v2) .listing-card__price { font-weight: 700; color: var(--accent); font-size: 1rem; }
.listing-card:not(.listing-card--v2) .listing-card__sales { font-size: 0.75rem; color: var(--text-muted); }

/* How it works */
.steps {
    display: grid;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    transition: border-color 0.25s;
}
.step-card:hover { border-color: var(--border-light); }
.step-card__num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.step-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 16px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.step-card__connector {
    display: none;
}
@media (min-width: 768px) {
    .step-card__connector {
        display: block;
        width: 40px;
        align-self: center;
        height: 2px;
        background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
        flex-shrink: 0;
    }
}

/* Benefits bar */
.benefits-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: var(--bg-card);
    transition: background 0.2s;
}
.benefit-item:hover { background: var(--bg-elevated); }
.benefit-item__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}
.benefit-item strong { display: block; font-size: 0.9rem; margin-bottom: 3px; }
.benefit-item span { font-size: 0.8rem; color: var(--text-muted); }

/* Seller CTA */
.section--seller-cta { padding-bottom: 80px; }
.seller-cta {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 48px 52px;
    background: linear-gradient(135deg, #0d2818 0%, #0b1a2e 50%, #111820 100%);
    border: 1px solid rgba(0,229,160,0.2);
    border-radius: 20px;
    overflow: hidden;
    flex-wrap: wrap;
}
.seller-cta__glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,229,160,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.seller-cta__content { position: relative; max-width: 520px; }
.seller-cta__content h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.seller-cta__content p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
}
.seller-cta__stats {
    position: relative;
    display: flex;
    gap: 32px;
}
.seller-cta__stat { text-align: center; }
.seller-cta__stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.seller-cta__stat span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Legacy features/cta */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.feature-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.feature-card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); }
.cta-section__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}
.cta-section h2 { margin-bottom: 8px; }
.cta-section p { color: var(--text-secondary); }

/* Catalog layout */
.page-header { padding: 32px 0 24px; }
.page-header h1 { margin-bottom: 4px; }

.page-header--catalog {
    padding-bottom: 28px;
}

.catalog-page {
    padding-top: 32px;
}

.catalog-page .catalog-layout {
    padding-bottom: 56px;
}

.page-header--in-main {
    padding: 0 0 4px;
}

.page-header--catalog .page-header__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.page-header--catalog h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0;
    color: #f0f4f8;
}

.page-header--catalog .page-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.page-header__meta-count {
    font-weight: 500;
    color: var(--text-primary);
}

.page-header__meta-sep {
    color: rgba(255, 255, 255, 0.18);
}

.page-header__meta-seller a {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.2s;
}

.page-header__meta-seller a:hover {
    color: #52dbb8;
}

.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.catalog-tabs__tab {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition:
        background 0.22s,
        border-color 0.22s,
        color 0.22s,
        box-shadow 0.22s;
}

.catalog-tabs__tab:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.catalog-tabs__tab.is-active {
    background: rgba(62, 207, 173, 0.12);
    border-color: rgba(62, 207, 173, 0.38);
    color: #52dbb8;
    box-shadow: 0 0 20px rgba(62, 207, 173, 0.12);
}

.catalog-layout {
    display: grid;
    gap: 28px;
    padding-bottom: 56px;
}

.filters-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.filters-panel.is-open { display: block; }

.filters-panel__head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.filters-panel__head h2 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.filters-panel__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filters-panel__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filters-panel__price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.filters-panel__price-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filters-panel__price-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: lowercase;
}

.filters-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
}

.filters-panel__reset {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.filters-panel__reset:hover { color: var(--text-primary); }

.filters-panel__submit {
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 22px rgba(0, 229, 160, 0.32);
    transition:
        background 0.22s,
        border-color 0.22s,
        box-shadow 0.22s,
        transform 0.22s;
}

.filters-panel__submit:hover {
    box-shadow: 0 6px 28px rgba(0, 229, 160, 0.42);
    transform: translateY(-1px);
}

.filters-toggle { margin-bottom: 16px; }

.product-info__tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 18px;
}

@media (min-width: 900px) {
    .catalog-layout { grid-template-columns: 280px 1fr; }
    .filters-panel {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 20px);
        align-self: start;
    }
    .filters-toggle { display: none; }
}

/* Forms */
.label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.input, .select, .textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); }

.input--price,
input[type="number"].input {
    -moz-appearance: textfield;
    appearance: textfield;
    color-scheme: inherit;
}

.cabinet-welcome { padding: 28px; }
.cabinet-welcome__eyebrow { display: inline-flex; margin-bottom: 8px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cabinet-welcome__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.cabinet-action-card { display: flex; flex-direction: column; gap: 5px; min-height: 116px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-secondary); }
.cabinet-action-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cabinet-action-card strong { font-size: 1rem; }
.cabinet-action-card span { color: var(--text-secondary); font-size: .84rem; }
.cabinet-action-card--accent { background: var(--accent-glow); border-color: var(--accent); }
.seller-start-steps { padding-top: 20px; border-top: 1px solid var(--border); }
.seller-start-steps h3 { margin-bottom: 12px; font-size: 1rem; }
.seller-start-steps ol { display: grid; gap: 9px; padding-left: 22px; color: var(--text-secondary); font-size: .88rem; }
.seller-start-steps b { color: var(--text-primary); }

@media (max-width: 640px) {
    .cabinet-welcome { padding: 20px; }
    .cabinet-welcome__actions { grid-template-columns: 1fr; }
}

.listing-characteristics { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); }
.listing-characteristics__head h2 { font-size: 1rem; }
.listing-characteristics__head p { margin-top: 4px; color: var(--text-secondary); font-size: .82rem; }
.choice-fieldset { min-width: 0; border: 0; }
.choice-fieldset legend { margin-bottom: 8px; color: var(--text-secondary); font-size: .85rem; font-weight: 600; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip span { display: inline-flex; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-secondary); font-size: .8rem; cursor: pointer; transition: .18s ease; }
.choice-chip input:checked + span { border-color: var(--accent); background: var(--accent-glow); color: var(--accent-dim); font-weight: 600; }

.lot-card__seo-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.lot-card__seo-tags span { padding: 3px 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); color: var(--text-secondary); font-size: .64rem; font-weight: 700; letter-spacing: .03em; }
.seo-catalog-page, .categories-page { padding-top: 12px; padding-bottom: 60px; }
.seo-breadcrumbs { margin-bottom: 16px; }
.seo-catalog-hero, .categories-hero { position: relative; padding: 32px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); }
.seo-catalog-hero__eyebrow, .categories-hero > span { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seo-catalog-hero h1, .categories-hero h1 { max-width: 850px; margin-top: 8px; font-size: clamp(1.7rem, 4vw, 2.65rem); }
.seo-catalog-hero p, .categories-hero p { max-width: 760px; margin-top: 10px; color: var(--text-secondary); }
.seo-catalog-hero__count { display: inline-flex; margin-top: 18px; padding: 6px 10px; border-radius: 999px; background: var(--accent-glow); color: var(--accent-dim); font-size: .78rem; font-weight: 700; }
.seo-catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 22px 0 16px; }
.seo-quick-nav { margin-top: 18px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.seo-quick-nav__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.seo-quick-nav__head span { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.seo-quick-nav__head h2 { margin-top: 2px; font-size: 1.1rem; }
.seo-quick-nav__head > a { color: var(--accent-dim); font-size: .8rem; font-weight: 700; }
.seo-quick-nav__group + .seo-quick-nav__group { margin-top: 14px; }
.seo-quick-nav__group > strong { display: block; margin-bottom: 7px; color: var(--text-secondary); font-size: .75rem; }
.seo-quick-nav__links { display: flex; flex-wrap: wrap; gap: 7px; }
.seo-quick-nav__links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-secondary); font-size: .78rem; }
.seo-quick-nav__links a:hover { border-color: var(--accent); color: var(--accent-dim); }
.seo-quick-nav__links small, .category-directory__links small { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent-glow); color: var(--accent-dim); font-size: .66rem; font-weight: 800; }
.seo-catalog-toolbar form { display: flex; align-items: center; gap: 9px; }
.seo-related { margin-top: 38px; }
.seo-related h2 { margin-bottom: 16px; }
.seo-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.seo-related__grid a { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); font-size: .84rem; }
.seo-related__grid a:hover { border-color: var(--accent); }
.seo-related__grid small { flex: 0 0 auto; color: var(--text-muted); }
.categories-sections { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 22px; }
.category-directory { padding: 22px; }
.category-directory h2 { margin-bottom: 15px; font-size: 1.05rem; }
.category-directory__links { display: flex; flex-wrap: wrap; gap: 8px; }
.category-directory__links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-secondary); font-size: .8rem; }
.category-directory__links a:hover { border-color: var(--accent); color: var(--accent-dim); }
.category-directory--popular { margin-top: 16px; }

@media (max-width: 760px) {
    .seo-catalog-hero, .categories-hero { padding: 22px; }
    .seo-catalog-toolbar { align-items: stretch; flex-direction: column; }
    .seo-quick-nav__head { align-items: flex-start; flex-direction: column; }
    .seo-catalog-toolbar form { justify-content: space-between; }
    .seo-related__grid, .categories-sections { grid-template-columns: 1fr; }
    .catalog-cta-categories { width: 100%; }
}

input[type="number"].input::-webkit-outer-spin-button,
input[type="number"].input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.select--sm { padding: 7px 12px; font-size: 0.85rem; }
.textarea { resize: vertical; min-height: 100px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group--wide { grid-column: 1 / -1; }
.form__actions { display: flex; gap: 12px; margin-top: 8px; }
.form--wide { max-width: 720px; }
.form-page { max-width: 800px; margin: 0 auto 40px; }

/* Auth */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { margin-bottom: 4px; }
.auth-card__footer { margin-top: 20px; text-align: center; font-size: 0.9rem; color: var(--text-secondary); }
.auth-card__footer a { color: var(--accent); text-decoration: none !important; }
.auth-card__footer a:hover { color: #33ffbb; opacity: 1; }
.demo-hint {
    margin-top: 20px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.demo-hint code { font-family: var(--font-mono); color: var(--accent); font-size: 0.75rem; }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color var(--transition);
}
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-glow); }
.radio-card input { margin-top: 3px; accent-color: var(--accent); }
.radio-card strong { display: block; font-size: 0.9rem; }
.radio-card small { color: var(--text-muted); font-size: 0.8rem; }

/* Product page */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 20px 0 0;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-secondary); text-decoration: none !important; }
.breadcrumbs a:hover { color: var(--accent); opacity: 1; }

.product-layout {
    display: grid;
    gap: 24px;
    padding: 24px 20px 40px;
}
.product-visual__placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid var(--border);
}

.product-gallery__main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0a0e13;
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(11, 15, 20, 0.75);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.product-gallery__nav:hover {
    background: rgba(11, 15, 20, 0.92);
    border-color: var(--border-light);
}

.product-gallery__nav--prev { left: 12px; }
.product-gallery__nav--next { right: 12px; }

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-secondary);
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    opacity: 1;
    border-color: var(--accent);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.legal-page {
    padding-bottom: 48px;
}

.legal-page__content {
    padding: 28px 32px;
    margin-top: 8px;
    max-width: 820px;
}

.legal-page__content h1 {
    margin-bottom: 16px;
}

.legal-page__content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page__content a {
    color: var(--accent);
    text-decoration: none !important;
}

.legal-page__content a:hover {
    color: #33ffbb;
    opacity: 1;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none !important;
}

.contact-card a:hover {
    color: #33ffbb;
    opacity: 1;
}

.product-info__badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.product-info__title { font-size: 1.6rem; margin-bottom: 12px; }
.product-info__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.9rem; flex-wrap: wrap; }
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.product-info__desc { color: var(--text-secondary); line-height: 1.7; }
.product-info__delivery { margin-top: 16px; font-size: 0.9rem; }

.purchase-card__price { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.purchase-card__note { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); text-align: center; }

.seller-mini h3 { font-size: 0.9rem; margin-bottom: 14px; color: var(--text-secondary); }
.seller-mini__profile { display: flex; gap: 12px; color: var(--text-primary); margin-bottom: 12px; }
.seller-mini__profile:hover { color: var(--text-primary); }
.seller-mini__stats { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; margin-top: 4px; }
.seller-mini__bio { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }

.status { font-size: 0.75rem; font-weight: 500; }
.status--online { color: var(--success); }
.status--online::before { content: '● '; }

@media (min-width: 900px) {
    .product-layout { grid-template-columns: 1fr 320px; align-items: start; }
    .product-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
}

/* Reviews */
.reviews-section { margin-top: 0; }
.reviews-section h2 { margin-bottom: 20px; font-size: 1.2rem; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; font-size: 0.9rem; }
.review-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* Seller profile */
.seller-profile__header {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 24px 0;
    align-items: flex-start;
}
.seller-profile__info { flex: 1; min-width: 200px; }
.seller-profile__meta { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-secondary); }
.seller-profile__bio { color: var(--text-secondary); margin-bottom: 16px; max-width: 600px; }
.seller-profile__stats { display: flex; gap: 24px; flex-wrap: wrap; }
.mini-stat strong { display: block; font-size: 1.1rem; }
.mini-stat span { font-size: 0.8rem; color: var(--text-muted); }

.tabs-nav { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs-nav__btn {
    padding: 9px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tabs-nav__btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.tabs-nav__btn--active { color: var(--accent); background: rgba(0, 229, 160, 0.08); border-color: rgba(0, 229, 160, 0.2); }
.tabs-panel { display: none; }
.tabs-panel--active { display: block; }

/* Dashboard */
.dashboard { padding: 32px 20px; }
.dashboard__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dashboard__grid { display: grid; gap: 20px; }
.dashboard__sidebar { padding: 16px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav__link {
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.side-nav__link:hover, .side-nav__link--active { background: var(--bg-hover); color: var(--text-primary); }
.side-nav__link--active { color: var(--accent); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card__value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-card__label { font-size: 0.8rem; color: var(--text-muted); }

@media (min-width: 768px) {
    .dashboard__grid { grid-template-columns: 220px 1fr; }
}

/* Table */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-muted); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
.table td a { color: var(--text-primary); }
.table td a:hover { color: var(--accent); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.status-badge--success { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-badge--warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-badge--muted { background: var(--bg-elevated); color: var(--text-muted); }

/* Category page */
.category-header { display: flex; align-items: center; gap: 16px; }
.category-header__icon { font-size: 2.5rem; }
.toolbar { margin-bottom: 20px; }
.toolbar__form { display: flex; gap: 10px; flex-wrap: wrap; }

/* Chat */
.messages-page { padding: 32px 20px; }
.messages-page h1 { margin-bottom: 20px; }
.chat-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 500px;
    overflow: hidden;
    padding: 0;
}
.chat-sidebar {
    border-right: 1px solid var(--border);
    overflow-y: auto;
    max-height: 200px;
}
.chat-sidebar__empty { padding: 20px; }
.chat-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    margin: 2px 8px;
    border-radius: var(--radius);
    border: none;
    color: var(--text-primary);
    text-decoration: none !important;
    transition: background 0.2s ease;
}
.chat-item:hover, .chat-item--active { background: var(--bg-hover); color: var(--text-primary); }
.chat-item__body { flex: 1; min-width: 0; }
.chat-item__head { display: flex; justify-content: space-between; align-items: center; }
.chat-item__topic { font-size: 0.75rem; color: var(--accent); display: block; }
.chat-item__preview { font-size: 0.8rem; color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item__badge {
    background: var(--accent);
    color: #0b0f14;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.chat-main { display: flex; flex-direction: column; min-width:0; overflow:hidden; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; max-height: 400px; }
.chat-bubble { max-width: 75%; padding: 10px 14px; border-radius: var(--radius-lg); font-size: 0.9rem; }
.chat-bubble--mine { align-self: flex-end; background: var(--accent-glow); border: 1px solid rgba(0, 229, 160, 0.3); }
.chat-bubble--other { align-self: flex-start; background: var(--bg-elevated); border: 1px solid var(--border); }
.chat-bubble time { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.chat-input { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:start; gap:10px; width:100%; min-width:0; padding:16px; border-top:1px solid var(--border); }
.chat-input__attach { width:42px; height:42px; display:grid; place-items:center; flex:0 0 auto; border:1px solid var(--border); border-radius:11px; background:var(--bg-elevated); cursor:pointer; font-size:1.05rem; transition:.18s ease; }
.chat-input__attach:hover { border-color:var(--accent); background:var(--bg-hover); }
.chat-input__content { flex:1; min-width:0; }
.chat-input__content .input { width:100%; }
.chat-input__send { min-height:42px; white-space:nowrap; }
.chat-input__file-name { display:block; margin-top:5px; color:var(--accent); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-attachment { display:grid; gap:8px; margin-top:8px; }
.chat-attachment img, .chat-attachment video { display:block; width:min(360px,100%); max-height:280px; border-radius:10px; border:1px solid var(--border); object-fit:contain; background:#06090d; }
.chat-attachment__file { display:flex; align-items:center; gap:9px; padding:9px 10px; border:1px solid var(--border); border-radius:9px; background:color-mix(in srgb,var(--bg-card) 70%,transparent); }
.chat-attachment__file>span:last-child { min-width:0; display:grid; }
.chat-attachment__file strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.8rem; }
.chat-attachment__file small { color:var(--text-muted); font-size:.68rem; }
.search-suggest__empty { padding:10px; color:var(--text-muted); font-size:.82rem; }
.chat-empty { display: flex; align-items: center; justify-content: center; flex: 1; color: var(--text-muted); padding: 40px; }

@media (max-width: 767px) {
    .chat-input { gap:7px; padding:10px; align-items:flex-start; }
    .chat-input .btn { padding-left:12px; padding-right:12px; }
    .chat-bubble { max-width:90%; }
}

@media (max-width: 430px) {
    .chat-input { grid-template-columns:40px minmax(0,1fr); }
    .chat-input__attach { width:40px; height:40px; }
    .chat-input__send { grid-column:1 / -1; width:100%; }
}

@media (min-width: 768px) {
    .chat-layout { grid-template-columns: 300px 1fr; }
    .chat-sidebar { max-height: 560px; }
    .chat-messages { max-height: 460px; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item__question {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__answer { padding: 0 24px 18px; color: var(--text-secondary); font-size: 0.9rem; }
.contact-card { margin-bottom: 40px; }
.contact-card h2 { margin-bottom: 8px; font-size: 1.1rem; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
.modal.is-open { display: flex; }
.has-open-modal { overflow: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.modal__content { position: relative; max-width: 420px; width: 90%; z-index: 1; }
.modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.modal__content h3 { margin-bottom: 12px; }
.modal__content p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.9rem; }

/* Empty states */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state--lg { padding: 80px 20px; }
.empty-state--lg h1 { font-size: 4rem; color: var(--border-light); margin-bottom: 8px; }

.empty-state--catalog {
    padding: 56px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.empty-state__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.85;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.empty-state__text {
    margin: 0 0 24px;
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
.empty-page { padding: 60px 0; }

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
    margin-top: auto;
}
.footer--v2 .footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px 40px;
    margin-bottom: 40px;
}
.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.footer__social-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: color 0.2s, border-color 0.2s;
}
.footer__social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}
.footer__desc { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; max-width: 280px; line-height: 1.65; }
.footer__col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none !important; transition: color 0.2s; }
.footer__col a:hover { color: var(--text-primary); opacity: 1; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--text-muted); font-size: 0.8rem; text-decoration: none !important; }
.footer__legal a:hover { color: var(--text-secondary); opacity: 1; }

@media (max-width: 768px) {
    .footer--v2 .footer__grid { grid-template-columns: 1fr 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .seller-cta { padding: 32px 24px; }
    .seller-cta__stats { width: 100%; justify-content: space-around; }
}

@media (max-width: 480px) {
    .footer--v2 .footer__grid { grid-template-columns: 1fr; }
    .footer__legal { flex-direction: column; gap: 8px; }
}

/* Mobile nav open */
body.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
}

/* ——— Marketplace iteration ——— */

.btn--sm {
    padding: 7px 14px;
    font-size: 0.82rem;
}

.header-sell-btn {
    display: none;
}

@media (min-width: 900px) {
    .header-sell-btn { display: inline-flex; }
}

.catalog-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 4px;
}

.catalog-tabs--full {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 5px;
    margin-bottom: 0;
}

.catalog-tabs--full .catalog-tabs__tab {
    flex-shrink: 1;
    white-space: nowrap;
    padding: 6px 11px;
    font-size: 0.76rem;
    letter-spacing: 0;
}

.catalog-sell-btn {
    flex-shrink: 0;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.filter-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-toggle__box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.filter-toggle input:checked + .filter-toggle__box {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: inset 0 0 0 3px #0b0f14;
}

.filter-toggle__label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.filters-panel__toggles {
    gap: 12px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #52dbb8;
    background: rgba(62, 207, 173, 0.1);
    border: 1px solid rgba(62, 207, 173, 0.24);
    border-radius: 999px;
    padding: 2px 8px 2px 6px;
    line-height: 1.3;
}

.verified-badge svg {
    flex-shrink: 0;
}

.lot-card__seller {
    flex-wrap: wrap;
}

.lot-card__seller .verified-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
}

.tag--auto {
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
    border-color: rgba(34, 211, 238, 0.25);
}

.tag--pin {
    background: rgba(167, 139, 250, 0.12);
    color: #c4b5fd;
    border-color: rgba(167, 139, 250, 0.25);
}

.platform-chat {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 56px;
    max-width: 820px;
}

.platform-chat__feed {
    padding: 20px;
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-gutter: stable;
}

.scroll-surface {
    scrollbar-color: #2d3d56 var(--bg-card);
}

.chat-msg {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-msg--system {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.chat-msg--promo {
    border-color: rgba(251, 191, 36, 0.18);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(255, 255, 255, 0.02));
}

.chat-msg__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.chat-msg__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-msg__author--system { color: var(--accent); }
.chat-msg__author--promo { color: #fcd34d; }

.chat-msg__tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.chat-msg__tag--seller {
    color: #52dbb8;
    border-color: rgba(62, 207, 173, 0.25);
}

.chat-msg__time {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chat-msg__body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
}

.platform-chat__form {
    padding: 20px;
}

.platform-chat__input-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.platform-chat__input-row .input { flex: 1; }

.platform-chat__login {
    padding: 20px;
    text-align: center;
}

.finance-page { padding-bottom: 56px; }

.finance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.finance-stat {
    padding: 22px;
}

.finance-stat__label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.finance-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.finance-stat__value--income { color: #52dbb8; }
.finance-stat__value--fee { color: #fbbf24; }

.finance-commission { margin-bottom: 24px; }
.finance-commission h2 { margin-bottom: 8px; }

.finance-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.finance-actions__hint { font-size: 0.82rem; }

.profile-page { padding-bottom: 56px; }

.profile-page__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.profile-page__identity {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.profile-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.profile-page__role {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.profile-page__role--admin {
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.08);
}

.profile-form .form__fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin: 0;
}

.profile-form .form__fieldset legend {
    padding: 0 6px;
}

.seller-profile__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.seller-profile__contacts a {
    color: var(--accent);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert--success {
    background: rgba(62, 207, 173, 0.12);
    border: 1px solid rgba(62, 207, 173, 0.28);
    color: #52dbb8;
}

.alert--danger {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #fca5a5;
}

.text-success { color: #52dbb8; }

@media (max-width: 768px) {
    .catalog-topbar { flex-direction: column; align-items: stretch; }
}

/* ——— Marketplace v2 (cleaner UX) ——— */

.page-header--clean {
    padding: 28px 0 20px;
    text-align: left;
}

.page-header--clean h1 {
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    margin-bottom: 6px;
}

.page-header__subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 480px;
}

.catalog-topbar--clean {
    margin-bottom: 0;
    padding-bottom: 0;
}

.catalog-main__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.catalog-sell-link {
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: transparent;
}

.catalog-sell-link:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}

.catalog-layout--market .catalog-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.catalog-market__feed {
    width: 100%;
}

.catalog-market__listings {
    width: 100%;
}

.market-chat {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.market-chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.market-chat__title {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
}

.market-chat__live {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4ade80;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.1);
}

.market-chat__feed {
    overflow: hidden;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: none;
    min-height: 0;
}

.market-chat__msg {
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.market-chat__msg-head {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
    font-size: 0.68rem;
}

.market-chat__msg p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.market-chat__form {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid var(--border);
}

.market-chat__hint {
    padding: 8px 10px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin: 0;
}

.lot-card__pin-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #FB923C;
    opacity: 0.72;
    z-index: 2;
    pointer-events: none;
}

.lot-card__pin-badge svg {
    width: 11px;
    height: 11px;
    display: block;
}

.lot-card__rec-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FB923C;
    box-shadow: 0 0 8px rgba(251, 146, 60, 0.55);
    z-index: 2;
}

.lot-card--pinned {
    border-color: color-mix(in srgb, #FB923C 12%, var(--border));
}

.lot-card__meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.lot-card__meta-row--category {
    justify-content: flex-start;
    width: 100%;
}

.lot-card__category .lot-card__auto-inline {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
}

.lot-card__category .lot-card__auto-bolt,
.lot-card__auto-bolt {
    display: none;
}

/* Support tickets */
.page-header--support .page-header__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.support-back {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.support-page {
    padding-bottom: 48px;
}

.support-page__guest,
.support-page__empty,
.support-page__closed {
    padding: 32px;
    text-align: center;
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    transition: border-color 0.2s, transform 0.2s;
}

.ticket-list__item:hover {
    border-color: var(--border-light);
    transform: translateY(-1px);
}

.ticket-list__subject {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.ticket-list__date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border);
}

.ticket-status--open {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.28);
    background: rgba(74, 222, 128, 0.1);
}

.ticket-status--progress {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.1);
}

.ticket-status--closed {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.ticket-thread {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 14px;
}

.ticket-thread--compact {
    margin-bottom: 12px;
    padding: 12px;
    gap: 12px;
}

.ticket-msg {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.ticket-msg:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ticket-msg--staff .ticket-msg__body {
    background: rgba(62, 207, 173, 0.06);
    border: 1px solid rgba(62, 207, 173, 0.16);
    border-radius: 10px;
    padding: 10px 12px;
}

.ticket-msg__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ticket-msg__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticket-msg__meta time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ticket-msg__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.ticket-reply {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-reply--admin {
    padding: 0;
    margin-top: 12px;
}

.ticket-admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.ticket-admin__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.ticket-admin__summary::-webkit-details-marker {
    display: none;
}

.ticket-admin__summary-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ticket-admin__body {
    padding: 0 16px 16px;
    border-top: 1px solid var(--border);
}

.ticket-status-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.ticket-status-form__row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ticket-status-form__row .select {
    flex: 1;
    max-width: 220px;
}

.modal__content {
    max-width: 520px;
    padding: 22px;
}

.modal__content h3 {
    margin-bottom: 14px;
}

.lot-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lot-card__headline {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lot-card__summary { margin:-9px 0 13px; color:var(--text-secondary); font-size:.78rem; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.lot-card__delivery { color:var(--accent); font-size:.7rem; font-weight:700; }

.lot-card__online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    margin-left: auto;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.lot-card__icon-hint {
    color: var(--lot-accent);
    opacity: 0.9;
    display: flex;
}

.market-chat__form .input--sm {
    flex: 1;
    padding: 7px 10px;
    font-size: 0.8rem;
}

.market-chat__msg--system {
    border-color: rgba(255, 255, 255, 0.06);
}

.market-chat__msg--promo {
    border-color: rgba(251, 146, 60, 0.15);
    background: rgba(251, 146, 60, 0.04);
}

.market-chat__author {
    font-weight: 600;
    color: var(--text-secondary);
}

.market-chat__msg-head time {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.65rem;
}

.verified-badge--compact {
    padding: 0;
    border: none;
    background: none;
    color: #52dbb8;
}

.cabinet-page { padding-bottom: 56px; }

.cabinet-page__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cabinet-page__user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cabinet-page__user h1 {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.avatar-upload {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.avatar-upload__zone {
    padding: 16px;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: border-color 0.2s, background 0.2s;
}

.avatar-upload__zone.is-dragover {
    border-color: var(--accent);
    background: rgba(62, 207, 173, 0.06);
}

.avatar-upload__link {
    color: var(--accent);
    cursor: pointer;
    text-decoration: none !important;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.avatar-upload__link:hover { opacity: 0.85; color: #33ffbb; }

.input--readonly {
    opacity: 0.7;
    cursor: not-allowed;
}

.form__hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.accordion {
    margin: 16px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion__summary {
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    background: rgba(255, 255, 255, 0.02);
}

.accordion__summary::-webkit-details-marker { display: none; }

.accordion__body {
    padding: 0 16px 16px;
    font-size: 0.85rem;
}

.finance-stats--compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.finance-stats--compact .finance-stat {
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.finance-section-title {
    font-size: 0.95rem;
    margin: 20px 0 12px;
}

.table--compact { font-size: 0.82rem; }

.table__meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.empty-state--sm { padding: 24px 16px; }

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-list__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.activity-list__time {
    color: var(--text-muted);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.product-info__badges--minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-info__cat {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.product-info__hint {
    font-size: 0.85rem;
    opacity: 0.8;
}

.purchase-card__fee {
    font-size: 0.8rem;
    margin: -8px 0 12px;
}

/* ——— Catalog list layout (marketplace v3) ——— */

.catalog-cta-sell {
    flex-shrink: 0;
    font-weight: 600;
    padding: 9px 20px;
    white-space: nowrap;
}

.catalog-topbar--clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

.catalog-layout--market .catalog-main {
    gap: 14px;
}

.catalog-layout--market .filters-toggle {
    margin-bottom: 0;
    align-self: flex-start;
}

.catalog-market__feed {
    margin-bottom: 4px;
}

/* Marketplace activity strip */
.activity-strip {
    height: 76px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
}

.activity-strip__viewport {
    position: relative;
    height: 100%;
}

.activity-strip__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px 14px;
    padding: 0 16px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.activity-strip__slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.activity-strip__slide .avatar-wrap {
    align-self: center;
}

.activity-strip__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.activity-strip__name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.activity-strip__message {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-strip__open {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 7px 14px;
}

.activity-strip__open:hover {
    border-color: var(--border-light);
}

/* Vertical list of horizontal cards */
.listings-list--catalog {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lot-card--horizontal .lot-card__link--horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 140px;
    padding: 20px 22px;
    gap: 20px;
    width: 100%;
    flex: 1;
}

.lot-card__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 2px;
}

.lot-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    line-height: 1.3;
}

.lot-card__stat--auto {
    color: #67e8f9;
    border-color: rgba(34, 211, 238, 0.22);
    background: rgba(34, 211, 238, 0.08);
}

.activity-strip--empty .activity-strip__viewport {
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-strip__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    width: 100%;
    padding: 0 16px;
}

.activity-strip__empty-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

.activity-strip__empty-text {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 0;
}

.platform-chat__empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.lot-card--horizontal .lot-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.lot-card--horizontal .lot-card__meta-row {
    margin-bottom: 0;
    gap: 10px;
}

.lot-card--horizontal .lot-card__category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--lot-accent);
    padding: 0;
}

.lot-card--horizontal .lot-card__cat-icon {
    font-size: 0.8rem;
    line-height: 1;
}

.lot-card--horizontal .lot-card__headline {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
}

.lot-card--horizontal .lot-card__seller {
    margin: 0;
    padding: 0;
    border-top: none;
    gap: 10px;
}

.lot-card--horizontal .lot-card__online-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #4ade80;
}

.lot-card--horizontal .lot-card__online-dot {
    margin-left: 0;
    width: 6px;
    height: 6px;
}

.lot-card--horizontal .lot-card__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    padding-left: 20px;
    margin-left: 8px;
    border-left: 1px solid var(--border);
    min-width: 110px;
}

.lot-card--horizontal .lot-card__price {
    font-size: 1.2rem;
    white-space: nowrap;
}

.lot-card--horizontal .lot-card__arrow {
    width: 40px;
    height: 40px;
}

.lot-card--horizontal .lot-card__pin-badge {
    top: 12px;
    right: 14px;
    width: 16px;
    height: 16px;
    opacity: 0.68;
}

@media (max-width: 768px) {
    .catalog-topbar--clean {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-tabs--full {
        flex-wrap: wrap;
        overflow: visible;
    }

    .catalog-tabs--full .catalog-tabs__tab {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 7px 12px;
    }

    .catalog-cta-sell {
        width: 100%;
        justify-content: center;
    }

    .lot-card--horizontal .lot-card__link--horizontal {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 18px;
        gap: 14px;
    }

    .lot-card--horizontal .lot-card__aside {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 14px;
        margin-left: 0;
        min-width: 0;
    }

    .activity-strip__message {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .activity-strip {
        height: auto;
        min-height: 76px;
    }

    .activity-strip__slide {
        position: relative;
        inset: auto;
        display: none;
        padding: 12px 14px;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
    }

    .activity-strip__slide.is-active {
        display: grid;
    }

    .activity-strip__open {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

/* ── Admin panel ── */
.admin-page__badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(62, 207, 173, 0.12);
    border: 1px solid rgba(62, 207, 173, 0.3);
    border-radius: var(--radius-lg);
}

.admin-page__grid .admin-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.side-nav__link--admin {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    color: #7dd3fc;
}

.side-nav__link--admin.side-nav__link--active,
.side-nav__link--admin:hover {
    color: #7dd3fc;
    background: rgba(125, 211, 252, 0.08);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.admin-stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-stat__value {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.admin-stat__label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-stat--accent .admin-stat__value { color: var(--accent); }
.admin-stat--warn .admin-stat__value { color: #fbbf24; }

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-toolbar h2 { margin: 0; }

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-filters .input,
.admin-filters .select {
    min-width: 120px;
    max-width: 200px;
}

.admin-table__row--active { background: rgba(62, 207, 173, 0.06); }
.admin-table__actions { white-space: nowrap; }

.admin-detail { margin-top: 16px; }
.admin-form .form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.admin-form .form__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0;
}

.admin-form .form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.admin-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-split {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 16px;
    min-height: 320px;
}

@media (max-width: 768px) {
    .admin-split { grid-template-columns: 1fr; }
}

.admin-split__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 520px;
    overflow-y: auto;
}

.admin-list-item {
    display: block;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.admin-list-item:hover,
.admin-list-item--active {
    border-color: var(--accent);
    background: rgba(62, 207, 173, 0.05);
}

.admin-list-item__meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.admin-split__detail {
    padding: 4px 0 0 4px;
    border-left: 1px solid var(--border);
}

@media (max-width: 768px) {
    .admin-split__detail { border-left: none; padding-left: 0; }
}

.admin-dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 16px;
    margin: 16px 0;
    font-size: 0.9rem;
}

.admin-dl dt { color: var(--text-muted); }
.admin-dl dd { margin: 0; }

.admin-moderation-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-moderation__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-moderation__head h3 { margin: 0 0 4px; font-size: 1rem; }

.admin-moderation__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.admin-moderation__reject {
    display: flex;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.inline-form { display: inline; }

.admin-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.admin-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-mini-list li { padding: 4px 0; }

.admin-warnings {
    margin: 16px 0;
    padding: 12px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius);
}

.admin-warnings h4 { margin: 0 0 8px; font-size: 0.9rem; }
.admin-warnings ul { margin: 0; padding-left: 18px; font-size: 0.85rem; }

.status-badge--error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.admin-pin-list {
    margin: 12px 0;
    padding-left: 20px;
}

.admin-pin-list li {
    padding: 6px 0;
    cursor: grab;
}

/* UX polish */
.lot-card { transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; }
.lot-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); }
.btn { transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.side-nav--icons .side-nav__link { display: flex; align-items: center; gap: 10px; transition: background 0.18s ease, padding-left 0.18s ease; }
.side-nav--icons .side-nav__link:hover { padding-left: 14px; }
.side-nav--icons .side-nav__link--active { background: rgba(0, 229, 160, 0.08); box-shadow: inset 3px 0 0 var(--accent); }
.cabinet-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cabinet-stat { padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 4px; }
.cabinet-stat__value { font-size: 1.2rem; font-weight: 700; font-family: var(--font-mono); }
.cabinet-stat__label { font-size: 0.75rem; color: var(--text-muted); }
.cabinet-stat--accent .cabinet-stat__value { color: var(--accent); }
.form-section-block { margin-bottom: 24px; }
.form-section-block__title { font-size: 0.88rem; font-weight: 600; margin-bottom: 12px; color: var(--text-secondary); }
.upload-zone { border: 1px dashed var(--border-light); border-radius: var(--radius); padding: 22px 18px; text-align: center; background: rgba(255,255,255,0.02); transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.upload-zone--compact { padding: 16px 14px; }
.upload-zone--compact .upload-zone__inner p { margin: 3px 0; font-size: 0.84rem; }
.upload-zone.is-dragover, .upload-zone:hover { border-color: var(--accent); background: rgba(0,229,160,0.04); }
.upload-zone__link { background: none; border: none; color: var(--accent); text-decoration: none !important; cursor: pointer; font: inherit; transition: opacity 0.2s ease, color 0.2s ease; }
.upload-zone__link:hover { opacity: 0.85; color: #33ffbb; }
.markdown-toolbar { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:8px; }
.markdown-toolbar button { border:1px solid var(--border-light); border-radius:9px; background:var(--surface); color:var(--text); padding:7px 11px; cursor:pointer; font:inherit; font-size:.82rem; }
.markdown-toolbar button:hover { border-color:var(--accent); color:var(--accent); }
.product-richtext p { margin:0 0 12px; }
.product-richtext ul { margin:8px 0 14px; padding-left:22px; }
.product-richtext a { color:var(--accent); text-decoration:underline; }
.order-actions { min-width:240px; }
.order-actions form { display:inline-block; margin:4px 0 4px 6px; }
.order-support-note { margin-top:18px; padding:16px 18px; border:1px solid var(--border-light); border-radius:14px; background:var(--surface-soft); line-height:1.55; }
@media (max-width: 720px) { .order-actions { min-width:190px; } .order-actions form { display:block; margin-left:0; } }

.header-search { position:relative; }
.search-suggest { position:absolute; z-index:90; top:calc(100% + 8px); left:0; right:0; padding:10px; border:1px solid var(--border); border-radius:14px; background:var(--bg-card); box-shadow:var(--shadow); }
.search-suggest__title { padding:5px 8px; color:var(--text-muted); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.search-suggest a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px; border-radius:9px; color:var(--text-primary); font-size:.84rem; }
.search-suggest a:hover, .search-suggest a:focus { background:var(--bg-hover); }
.search-suggest small { color:var(--text-muted); white-space:nowrap; }
.search-suggest__all { margin-top:5px; border-top:1px solid var(--border); color:var(--accent)!important; }

.hero-search { max-width:610px; margin:22px 0 10px; text-align:left; }
.hero-search label { display:block; margin-bottom:7px; font-size:.8rem; font-weight:700; color:var(--text-secondary); }
.hero-search>div { display:flex; padding:5px; border:1px solid var(--border-light); border-radius:14px; background:var(--bg-card); box-shadow:0 6px 18px rgba(0,0,0,.08); }
.hero-search input { min-width:0; flex:1; padding:10px 12px; border:0; outline:0; background:transparent; color:var(--text-primary); font:inherit; }
.hero-search button { border:0; border-radius:10px; padding:10px 18px; background:var(--accent); color:#061711; font-weight:800; cursor:pointer; }
.hero-search-chips { display:flex; gap:7px; overflow-x:auto; padding:2px 0 8px; scrollbar-width:none; }
.hero-search-chips a { flex:0 0 auto; padding:6px 10px; border:1px solid var(--border); border-radius:999px; background:var(--bg-card); color:var(--text-secondary); font-size:.75rem; }
.hero-search-chips a:hover { border-color:var(--accent); color:var(--text-primary); }
.mp-order__tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:12px; }
.mp-order__tags span { padding:4px 7px; border:1px solid var(--border); border-radius:999px; background:var(--bg-elevated); color:var(--text-secondary); font-size:.62rem; font-weight:700; }

.section--popular-categories { padding-top:40px; }
.popular-category-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.popular-category-group { padding:18px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--bg-card); }
.popular-category-group>strong { display:block; margin-bottom:12px; }
.popular-category-group>div { display:flex; flex-wrap:wrap; gap:8px; }
.popular-category-group a { padding:7px 11px; border:1px solid var(--border); border-radius:999px; background:var(--bg-elevated); color:var(--text-secondary); font-size:.78rem; }
.popular-category-group a:hover { border-color:var(--accent); color:var(--text-primary); transform:translateY(-1px); }
.home-products-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.home-products-grid .lot-card { min-width:0; }
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.how-grid article { padding:22px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--bg-card); }
.how-grid article>span { display:grid; place-items:center; width:34px; height:34px; margin-bottom:15px; border-radius:10px; background:color-mix(in srgb,var(--accent) 14%,var(--bg-card)); color:var(--accent); font-weight:800; }
.how-grid h3 { margin-bottom:6px; }
.how-grid p { color:var(--text-secondary); font-size:.87rem; }
.product-compatibility dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.product-compatibility dl>div { padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--bg-elevated); }
.product-compatibility dt { margin-bottom:3px; color:var(--text-muted); font-size:.7rem; text-transform:uppercase; letter-spacing:.04em; }
.product-compatibility dd { color:var(--text-primary); font-weight:600; font-size:.84rem; }

html[data-theme="light"] .header {
    background: rgba(255, 255, 255, .88);
    border-bottom-color: #dbe4ee;
    box-shadow: 0 4px 18px rgba(34, 55, 82, .055);
}
html[data-theme="light"] .header-search__input {
    background: #f6f9fc;
    border-color: #d4deea;
    box-shadow: inset 0 1px 2px rgba(32, 51, 76, .025);
}
html[data-theme="light"] .header-search__input:focus {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
html[data-theme="light"] .logo__mark {
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(18, 32, 51, .12);
}

html[data-theme="light"] .hero-prime {
    --prime-bg: #f7fafc;
    --prime-emerald: #009b70;
    --prime-emerald-dim: #008866;
    --prime-cyan: #1689a2;
    --prime-steel: #5c6f86;
    --prime-border: #d7e1ec;
    background:
        linear-gradient(115deg, rgba(255,255,255,.98), rgba(242,248,251,.96)),
        var(--prime-bg);
    border-bottom-color: #dbe4ee;
}
html[data-theme="light"] .hero-prime__ambient {
    background:
        radial-gradient(ellipse 46% 42% at 84% 38%, rgba(0, 168, 120, .12), transparent 70%),
        radial-gradient(ellipse 38% 34% at 10% 82%, rgba(59, 130, 246, .08), transparent 68%);
}
html[data-theme="light"] .hero-prime__title { color: #111d2f; }
html[data-theme="light"] .hero-prime__eyebrow { color: #567089; }
html[data-theme="light"] .hero-prime__sub { color: #52667e; }
html[data-theme="light"] .btn--ghost-prime {
    background: rgba(255,255,255,.72);
    border-color: #cbd7e4;
    color: #263a51;
}
html[data-theme="light"] .btn--ghost-prime:hover {
    background: #fff;
    border-color: #aebed0;
    color: #101a2b;
}
html[data-theme="light"] .hero-prime__trust span {
    color: #5c6f86;
    border-left-color: #cad5e1;
}
html[data-theme="light"] .hero-search > div {
    background: #fff;
    border-color: #cbd7e4;
    box-shadow: 0 10px 28px rgba(38, 64, 92, .10);
}
html[data-theme="light"] .hero-search-chips a {
    background: rgba(255,255,255,.88);
    border-color: #d1dce8;
    color: #485d75;
}
html[data-theme="light"] .mp-order {
    background: rgba(255, 255, 255, .94);
    border-color: #d4dfea;
    box-shadow: 0 24px 55px rgba(38, 64, 92, .15), 0 0 0 1px rgba(255,255,255,.7) inset;
}
html[data-theme="light"] .mp-order--daily:hover {
    border-color: rgba(0, 155, 112, .42);
    box-shadow: 0 28px 62px rgba(38, 64, 92, .18), 0 0 42px rgba(0, 155, 112, .08);
}
html[data-theme="light"] .mp-order__head,
html[data-theme="light"] .mp-order__timeline { background: #f5f8fb; }
html[data-theme="light"] .mp-order__title,
html[data-theme="light"] .mp-order__executor-name,
html[data-theme="light"] .mp-order__secure strong { color: #152238; }
html[data-theme="light"] .mp-order__desc,
html[data-theme="light"] .mp-order__executor-meta,
html[data-theme="light"] .mp-order__secure span,
html[data-theme="light"] .mp-order__id { color: #64768c; }
html[data-theme="light"] .mp-order__executor {
    background: #f7f9fc;
    border-color: #d9e2ec;
}
html[data-theme="light"] .mp-order__daily-meta,
html[data-theme="light"] .mp-order__head,
html[data-theme="light"] .mp-order__timeline { border-color: #dce5ee; }
html[data-theme="light"] .mp-order__tags span {
    background: #eef3f8;
    border-color: #d4deea;
    color: #4d6178;
}

@media (max-width:1100px) { .home-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:768px) {
  .container { padding-left:12px; padding-right:12px; }
  .header__inner { gap:8px; }
  .header__actions { gap:4px; min-width:0; }
  .header__actions>a.btn--outline { display:none; }
  .header__actions .btn { padding-left:9px; padding-right:9px; }
  .hero-prime__title { font-size:clamp(1.72rem,7vw,2.2rem)!important; line-height:1.18; }
  .hero-prime__copy, .hero-prime__layout, .hero-prime__showcase { min-width:0; width:100%; }
  .hero-search { margin-inline:auto; }
  .hero-search-chips { justify-content:flex-start; }
  .popular-category-groups { grid-template-columns:1fr; }
  .how-grid { grid-template-columns:1fr; }
  .search-suggest { position:fixed; top:64px; left:12px; right:12px; }
}
@media (max-width:520px) {
  .home-products-grid { grid-template-columns:1fr; }
  .hero-search button { padding-inline:13px; }
  .hero-search-chips { max-width:calc(100vw - 24px); }
  .hero-prime { padding-top:26px!important; }
  .section__head h2 { font-size:1.35rem; }
  .section__head { align-items:flex-start; flex-direction:column; gap:9px; }
  .section__head .link-arrow { align-self:flex-start; }
  .product-compatibility dl { grid-template-columns:1fr; }
}
.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.upload-completion { margin: 9px 0 0; color: var(--text-muted); font-size: .78rem; }
.upload-completion.is-complete { color: var(--success); }
.upload-preview__item { position: relative; width: 72px; height: 52px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.upload-preview__item img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview__remove { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(11,15,20,0.88); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.listing-create-page .page-header--compact { margin-bottom: 20px; }
.listing-create-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 24px; align-items: start; }
.listing-create-form { padding: 22px 26px; }
.listing-create-form.form-page { max-width: none; margin: 0; }
.form--compact .form__group { margin-bottom: 14px; }
.form--compact .form__row { margin-bottom: 14px; gap: 12px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__actions--compact { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.listing-create-aside { position: sticky; top: 84px; }
.listing-create-aside__label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px; }
.listing-create-aside .lot-card { pointer-events: none; }
.product-info--rich { padding: 28px 32px; }
.product-info__section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.product-info__meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.product-meta-pill { font-size: 0.78rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-secondary); }
.product-badge--new { font-size: 0.7rem; padding: 3px 8px; border-radius: 6px; background: rgba(0,229,160,0.12); color: var(--accent); border: 1px solid rgba(0,229,160,0.25); }
.purchase-card--rich { padding: 24px; }
.purchase-card__stats { display: grid; gap: 8px; margin: 16px 0; padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); }
.purchase-card__stat { font-size: 0.85rem; color: var(--text-secondary); }
.purchase-card__actions { display: grid; gap: 8px; margin-top: 12px; }
.product-gallery__image { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none !important; }
.lightbox__image { max-width: 95vw; max-height: 90vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.product-similar { padding: 24px 26px; }
.product-similar__title { margin-bottom: 16px; font-size: 1.1rem; }

/* UI Polish v3 */
.btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}
.btn--secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border-light));
    color: var(--text-primary);
}
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.btn--xs { padding: 5px 10px; font-size: 0.78rem; border-radius: 8px; }

.user-menu__trigger { padding: 5px 12px 5px 5px; gap: 10px; border-radius: 12px; }
.user-menu__dropdown {
    min-width: 300px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--border-light) 80%, transparent);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    visibility: hidden;
    pointer-events: none;
    display: block;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.user-menu__dropdown.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}
.user-menu__head { padding: 14px 14px 12px; gap: 14px; align-items: flex-start; }
.user-menu__identity { min-width: 0; flex: 1; }
.user-menu__display { display: block; font-size: 1rem; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.user-menu__username { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.user-menu__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.user-menu__divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-light), transparent); margin: 8px 6px; }
.user-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.user-menu__item {
    padding: 11px 14px;
    gap: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: background 0.18s ease, color 0.18s ease;
}
.user-menu__item:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); transform: none; }
.user-menu__icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; }
.user-menu__item:hover .user-menu__icon { color: var(--accent); }

.seller-tier {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    letter-spacing: 0.02em;
}
.seller-tier--compact { font-size: 0.68rem; padding: 2px 7px; }
.seller-tier--pro { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.25); }
.seller-tier--vip { color: #fcd34d; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.22); }

.lot-card--highlighted {
    border-color: color-mix(in srgb, var(--lot-accent) 42%, var(--border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lot-accent) 14%, transparent), 0 10px 32px rgba(0, 0, 0, 0.28);
}
.lot-card__pin-label { display: none !important; }
.lot-card__promo-badge { display: none !important; }
.lot-card__promo-icon {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    font-size: 0.82rem;
    line-height: 1;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}
.lot-card__pin-badge { opacity: 0.85; }

/* Compact catalog cards (similar products) */
.listings-grid--similar {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.lot-card--compact { height: 100%; }
.lot-card__link--compact {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lot-card__thumb {
    aspect-ratio: 16 / 10;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}
.lot-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lot-card__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    opacity: 0.35;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
}
.lot-card__compact-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 14px;
    gap: 0;
}
.lot-card__headline--compact {
    font-size: 0.84rem;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
    min-height: 2.5em;
}
.lot-card__seller--compact {
    margin-top: auto;
    margin-bottom: 10px;
    gap: 6px;
    font-size: 0.75rem;
}
.lot-card__rating-inline {
    margin-left: auto;
    color: #fbbf24;
    font-size: 0.72rem;
    white-space: nowrap;
}
.lot-card__foot--compact {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.product-similar__grid.listings-grid--similar .lot-card__price { font-size: 0.92rem; }

/* Dashboard */
.settings-profile {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.settings-profile__aside { display: flex; flex-direction: column; align-items: center; }
.settings-profile__main { display: flex; flex-direction: column; gap: 0; }
.avatar-upload--compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    width: 100%;
}
.avatar-upload__zone--compact {
    padding: 10px 12px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
}
.avatar-upload__zone-text { margin: 0; }
.avatar-upload--compact .avatar--lg { width: 72px; height: 72px; font-size: 1.5rem; }
.settings-card { padding: 22px 24px; }
.settings-card h2 { margin-bottom: 16px; font-size: 1.15rem; }
.cabinet-home__lead { margin-bottom: 18px; }
.cabinet-home__links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.cabinet-home__link {
    padding: 16px;
    color: inherit;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.cabinet-home__link:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    color: inherit;
}
.cabinet-home__link-title { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.cabinet-home__link-meta { display: block; font-size: 0.78rem; color: var(--text-muted); }
.side-nav__link--cta { margin-top: 8px; color: var(--accent); }
.catalog-cta-sell { color: var(--text-secondary) !important; }

/* Cabinet — FunPay-style profile home */
.cabinet-page--funpay .dashboard__content { min-width: 0; }
.dashboard__grid--funpay { align-items: start; }

.cabinet-funpay { margin-top: -4px; }

.cabinet-funpay__hero {
    position: relative;
    margin-bottom: 20px;
}
.cabinet-funpay__cover {
    height: 140px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, #6366f1 25%, transparent)),
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(0, 196, 138, 0.25), transparent),
        var(--bg-elevated);
    border: 1px solid var(--border);
}
.cabinet-funpay__identity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: -44px;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}
.cabinet-funpay__avatar {
    flex-shrink: 0;
    padding: 4px;
    background: var(--bg-card);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.cabinet-funpay__avatar .avatar--xl {
    width: 88px;
    height: 88px;
    font-size: 2.2rem;
}
.cabinet-funpay__identity-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 48px;
    min-width: 0;
}
.cabinet-funpay__name {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cabinet-funpay__head {
    padding: 0 8px 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    margin-bottom: 24px;
}
.cabinet-funpay__title-row {
    display: none;
}

.cabinet-funpay__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px 32px;
    padding-left: 4px;
}
.cabinet-funpay__meta-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.cabinet-funpay__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.cabinet-funpay__rating strong { font-size: 1.15rem; }
.cabinet-funpay__rating-score span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.cabinet-funpay__reviews-count {
    font-size: 0.88rem;
    color: var(--accent);
}

/* Seller profile layout (public + cabinet) */
.cabinet-funpay__layout,
.seller-page__layout {
    display: grid;
    gap: 24px;
    align-items: start;
}
@media (min-width: 1024px) {
    .cabinet-funpay__layout,
    .seller-page__layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
        align-items: start;
    }
}
.cabinet-funpay__aside { min-width: 0; }

.seller-page { padding-bottom: 48px; }
.seller-page__hero {
    position: relative;
    margin-bottom: 20px;
}
.seller-page__cover {
    height: 140px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, #6366f1 25%, transparent)),
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(0, 196, 138, 0.25), transparent),
        var(--bg-elevated);
    border: 1px solid var(--border);
}
.seller-page__identity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: -44px;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}
.seller-page__avatar {
    flex-shrink: 0;
    padding: 4px;
    background: var(--bg-card);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.seller-page__identity-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-top: 48px;
    min-width: 0;
}
.seller-page__name {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.seller-page__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.seller-page__head {
    padding: 20px 22px;
    margin-bottom: 24px;
}
.seller-page__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px 28px;
}
.seller-page__meta-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.seller-page__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.seller-page__rating strong { font-size: 1.1rem; }
.seller-page__rating strong span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.seller-page__reviews-link { font-size: 0.88rem; color: var(--accent); }
.seller-page__bio {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
}

/* Seller messenger — balanced contact sidebar */
.seller-messenger {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 76px;
    align-self: start;
    width: 100%;
    min-height: 380px;
}
.seller-messenger__head {
    flex-shrink: 0;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.seller-messenger__seller {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.seller-messenger__meta {
    min-width: 0;
    flex: 1;
}
.seller-messenger__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.seller-messenger__name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.presence-status--inline { display: inline-flex; }
.seller-messenger__rating-line {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.seller-messenger__rating-line a {
    color: var(--accent);
}
.seller-messenger__rating-sep { opacity: 0.5; }

.seller-messenger__body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 28px 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 100%),
        var(--bg-card);
}
.seller-messenger__empty {
    text-align: center;
    max-width: 300px;
    padding: 20px 18px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--border) 85%, transparent);
    background: rgba(255, 255, 255, 0.02);
}
.seller-messenger__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.seller-messenger__empty-lead {
    margin: 0 0 8px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.seller-messenger__empty-hint {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.seller-messenger__empty a { color: var(--accent); }

.seller-messenger__compose {
    flex-shrink: 0;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.seller-messenger__compose-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}
.seller-messenger__input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.92rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.seller-messenger__input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.seller-messenger__input::placeholder { color: var(--text-muted); }
.seller-messenger__input:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.seller-messenger__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #04120d;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.seller-messenger__send:hover:not(:disabled) {
    transform: translateY(-1px);
    opacity: 0.94;
}
.seller-messenger__send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Seller offers table */
.seller-offers { padding: 0; overflow: hidden; margin-bottom: 16px; }
.seller-offers__title {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 18px 22px 12px;
    margin: 0;
    border-bottom: 1px solid var(--border);
}
.seller-offers__group + .seller-offers__group { border-top: 1px solid var(--border); }
.seller-offers__cat {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    padding: 16px 22px 10px;
    margin: 0;
}
.seller-offers__list { display: flex; flex-direction: column; }
.seller-offers__list-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 8px 22px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.seller-offers__list-head span:last-child { text-align: right; min-width: 110px; }
.seller-offers__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 22px;
    color: var(--text-primary);
    text-decoration: none !important;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}
.seller-offers__group .seller-offers__row:nth-child(2n) { background: rgba(255, 255, 255, 0.015); }
.seller-offers__row:hover,
.seller-offers__row:focus-visible {
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-card)) !important;
    color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
    outline: none;
}
.seller-offers__row-desc {
    line-height: 1.45;
    min-width: 0;
}
.seller-offers__row-price {
    text-align: right;
    font-weight: 700;
    font-family: var(--font-mono);
    white-space: nowrap;
    min-width: 110px;
}

@media (max-width: 1023px) {
    .seller-messenger {
        position: static;
        min-height: 340px;
    }
    .seller-messenger__body {
        min-height: 180px;
        padding: 24px 20px;
    }
    .seller-page__identity { flex-direction: column; align-items: flex-start; margin-top: -36px; }
    .seller-page__identity-main { padding-top: 0; }
}

/* Dashboard — promotion */
.promotion-page { display: flex; flex-direction: column; gap: 16px; }
.promotion-page__intro h2 { margin: 0 0 8px; }
.promotion-page__intro p { margin: 0; max-width: 640px; }
.promotion-page__status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.promotion-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.promotion-card:hover {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.promotion-card--active {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 4%, var(--bg-card));
}
.promotion-card__head {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}
.promotion-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.promotion-card__title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.promotion-card__badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.promotion-card__price {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}
.promotion-card__desc {
    margin: 0 0 18px;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.promotion-card__btn { align-self: flex-start; }
.promotion-card__state {
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.status--sm { font-size: 0.75rem; }

.status--offline { color: var(--text-muted); }
.status--offline::before { content: '● '; color: #6b7280; }

.is-hidden { display: none !important; }

.avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a3340, #1a2129);
    color: var(--text-secondary);
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.cabinet-settings-card { padding: 18px; }
.cabinet-settings-card__title {
    font-size: 0.95rem;
    margin: 0 0 16px;
}
.settings-profile--aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.settings-profile--aside .settings-profile__aside { align-items: stretch; }
.settings-profile--aside .avatar-upload--compact { width: 100%; }
.avatar-upload__zone--compact { padding: 12px; }

.seller-reviews,
.cabinet-reviews { padding: 0; overflow: hidden; margin-top: 16px; }
.seller-reviews__head,
.cabinet-reviews__head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.seller-reviews__label,
.cabinet-reviews__label {
    display: block;
    font-size: 0.72rem;
    text-transform: lowercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.seller-reviews__summary,
.cabinet-reviews__summary {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.seller-reviews__score,
.cabinet-reviews__score {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.seller-reviews__score strong,
.cabinet-reviews__score strong {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 700;
}
.seller-reviews__score span,
.cabinet-reviews__score span {
    font-size: 1rem;
    color: var(--text-muted);
}
.seller-reviews__meta,
.cabinet-reviews__meta { font-size: 0.88rem; color: var(--text-muted); }

.seller-reviews__list,
.cabinet-reviews__list { display: flex; flex-direction: column; }
.seller-review,
.cabinet-review {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.seller-review--hidden,
.cabinet-review--hidden { display: none; }
.seller-review__top,
.cabinet-review__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.seller-review__meta,
.cabinet-review__meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.seller-review__product,
.seller-review__price,
.cabinet-review__product,
.cabinet-review__price { color: var(--text-secondary); }
.seller-review__product::before,
.seller-review__price::before,
.cabinet-review__product::before,
.cabinet-review__price::before { content: none; }
.seller-review__stars .stars,
.cabinet-review__stars .stars { justify-content: flex-end; }
.seller-review__text,
.cabinet-review__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-primary);
}
.seller-reviews__more,
.cabinet-reviews__more {
    margin: 0;
    border-radius: 0;
    border-top: 1px solid var(--border);
    color: var(--accent);
}

@media (max-width: 768px) {
    .cabinet-funpay__identity { flex-direction: column; align-items: flex-start; margin-top: -36px; }
    .cabinet-funpay__identity-main { padding-top: 0; }
    .seller-review,
    .cabinet-review { grid-template-columns: 40px 1fr; }
}

@media (max-width: 768px) {
    .settings-profile { grid-template-columns: 1fr; }
    .listings-grid--similar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .listings-grid--similar { grid-template-columns: 1fr; }
}

.purchase-card--premium { padding: 24px; }
.purchase-card__head { margin-bottom: 18px; }
.purchase-card__price { font-size: 2rem; font-weight: 700; color: var(--accent); margin: 0 0 6px; line-height: 1.1; }
.purchase-card__fee { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.purchase-card__stats--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    background: none;
    border: none;
}
.purchase-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.purchase-card__stat-icon { color: var(--text-muted); display: flex; }
.purchase-card__stat-value { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1; }
.purchase-card__stat-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.purchase-card__actions--stack { display: grid; gap: 10px; }
.purchase-card__form { margin: 0; }
.purchase-card__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.seller-card { padding: 22px; }
.seller-card__title { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px; }
.seller-card__profile {
    display: flex;
    gap: 14px;
    padding: 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: inherit;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.seller-card__profile:hover { border-color: var(--border-light); background: rgba(255, 255, 255, 0.04); color: inherit; }
.seller-card__avatar-wrap { position: relative; flex-shrink: 0; }
.seller-card__online {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.seller-card__info { min-width: 0; flex: 1; }
.seller-card__name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 2px; }
.seller-card__username { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.seller-card__metrics { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--text-secondary); }
.seller-card__metric { display: inline-flex; align-items: center; gap: 5px; }
.seller-card__bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 14px; }

.product-info__section--desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.product-info__section-title { font-size: 0.95rem; margin-bottom: 14px; color: var(--text-secondary); }
.product-info__desc { font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); }

.form__checks--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 16px; }

.analytics-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.analytics-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 24px; }
.analytics-stat { padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.analytics-stat--accent .analytics-stat__value { color: var(--accent); }
.analytics-stat__value { display: block; font-size: 1.35rem; font-weight: 700; }
.analytics-stat__label { font-size: 0.75rem; color: var(--text-muted); }
.analytics-panel__subtitle { font-size: 0.9rem; margin: 20px 0 12px; color: var(--text-secondary); }
.analytics-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
.analytics-chart__bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.analytics-chart__fill { width: 100%; max-width: 28px; height: var(--h); background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); border-radius: 6px 6px 2px 2px; transition: height 0.2s ease; }
.analytics-chart__label { font-size: 0.65rem; color: var(--text-muted); }
.analytics-sources { display: grid; gap: 10px; }
.analytics-source__head { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-secondary); }
.analytics-source__track { height: 6px; background: var(--bg-elevated); border-radius: 999px; overflow: hidden; }
.analytics-source__fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; opacity: 0.75; }

.section--promoted { padding-top: 20px; }

.table a, .admin-table a, .side-nav__link, .breadcrumbs a, .lot-card__link, .similar-card__link, .seller-card__profile, .nav-link, .link-arrow, .logo, .chat-item, .user-menu__item, .admin-list-item, .catalog-tabs__tab, .footer__col a, .footer__legal a, .footer__social-link, .service-card__link, .auth-card__footer a, .contact-card a, .legal-page__content a, .platform-chat a, .card a:not(.btn) {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration: none !important;
}
.table td a, .admin-table a, .link-arrow, .service-card__link, .auth-card__footer a, .contact-card a, .legal-page__content a, .page-header__meta-seller a {
    color: var(--accent);
}
.table td a:hover, .admin-table a:hover, .link-arrow:hover, .service-card__link:hover, .auth-card__footer a:hover, .contact-card a:hover, .legal-page__content a:hover {
    color: #33ffbb;
    opacity: 1;
}

@media (max-width: 768px) {
    .purchase-card__stats--grid { grid-template-columns: 1fr; }
    .product-similar__grid { grid-template-columns: 1fr; }
    .listings-grid--similar { grid-template-columns: 1fr; }
    .user-menu__dropdown { right: -8px; min-width: 280px; }
}
.chat-msg__delete { margin-left: auto; }
.chat-msg__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
input[type="file"]::file-selector-button { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); border-radius: 8px; padding: 8px 14px; margin-right: 10px; cursor: pointer; }
@media (max-width: 900px) {
    .listing-create-layout { grid-template-columns: 1fr; }
    .listing-create-aside { position: static; order: -1; }
    .form__row--2 { grid-template-columns: 1fr; }
}

/* Абсолютный запрет подчёркиваний */
button,
input,
label,
summary,
h1, h2, h3, h4, h5, h6,
p, span, strong, em, li, td, th,
.btn, .nav-link, .side-nav__link, .user-menu__item,
.lot-card__link, .lot-card__link *,
.similar-card__link, .similar-card__link *,
.seller-card__profile, .seller-card__profile *,
.chat-item, .chat-item *,
.breadcrumbs a, .footer a, .footer a *,
.admin-list-item, .catalog-tabs__tab,
a span, a strong, a em, a svg {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-underline-offset: unset !important;
    text-decoration-thickness: 0 !important;
    -webkit-text-decoration: none !important;
}
