/*
 * CodyChat Store for Developer
 * Developer: Dedar
 * Site Developer: dedar.online
 */

:root {
    --bg: #292929;
    --bg2: #212121;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-b: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-h: rgba(255, 255, 255, 0.16);
    --accent: #7c6aff;
    --accent2: #ff6a9e;
    --primary: #03add8;
    --text: #e8e8f0;
    --muted: #a0a0b0;
    --danger: #ff6b6b;
    --success: #4cd69a;
    --max-width: 90%;
}

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

html,
body {
    min-height: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 58% 48% at 20% 20%, rgba(124, 106, 255, 0.08) 0%, transparent 62%),
        radial-gradient(ellipse 48% 40% at 80% 80%, rgba(3, 173, 216, 0.07) 0%, transparent 62%);
    pointer-events: none;
    z-index: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(41, 41, 41, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-container {
    width: var(--max-width);
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.8px;
}

.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--border-h);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--glass-b);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    transition: 0.2s ease;
}

.cart-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-badge {
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-panel {
    display: none;
}

.mobile-nav-backdrop {
    display: none;
}

.avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    border: 2px solid rgba(124, 106, 255, 0.3);
    font-weight: 700;
    overflow: hidden;
}

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

.ghost-btn,
.btn,
.btn-outline,
.btn-danger {
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-family: inherit;
}

.ghost-btn,
.btn-outline {
    background: var(--glass);
    color: var(--text);
}

.ghost-btn:hover,
.btn-outline:hover {
    border-color: var(--accent);
}

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

.btn:hover {
    opacity: 0.9;
}

.btn-danger {
    background: rgba(255, 107, 107, 0.18);
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffe3e3;
}

.btn:disabled,
.btn-outline:disabled,
.btn-danger:disabled,
.ghost-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-full {
    width: 100%;
}

.flash-wrap {
    width: var(--max-width);
    max-width: 1600px;
    margin: 12px auto 0;
    position: relative;
    z-index: 2;
}

.flash {
    border-radius: 12px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    background: var(--glass);
    margin-bottom: 8px;
    font-size: 13px;
}

.flash.error {
    border-color: rgba(255, 107, 107, 0.45);
    color: #ffdede;
}

.flash.success {
    border-color: rgba(76, 214, 154, 0.45);
    color: #defdeb;
}

.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.toast {
    min-width: 240px;
    max-width: 320px;
    border: 1px solid var(--border);
    background: rgba(33, 33, 33, 0.95);
    color: var(--text);
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: toastIn 0.25s ease;
}

.toast.hide {
    opacity: 0;
    transform: translateY(8px);
    transition: 0.25s ease;
}

.toast-close {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.toast-close:hover {
    border-color: var(--border-h);
    color: var(--text);
}

.toast.error {
    border-color: rgba(255, 107, 107, 0.45);
}

.toast.success {
    border-color: rgba(76, 214, 154, 0.45);
}

.layout-wrapper {
    width: var(--max-width);
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 1;
    gap: 0;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    padding: 32px 16px 32px 0;
    border-right: 1px solid var(--border);
    height: calc(100vh - 64px);
    position: sticky;
    top: 64px;
    overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(136, 136, 136, .3) transparent;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-title {
    margin: 0 0 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    padding-left: 12px;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    transition: 0.2s ease;
    margin-bottom: 4px;
}

.sidebar a:hover,
.sidebar a.active {
    color: var(--text);
    background: var(--glass);
}

.badge-count {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 7px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--glass-b);
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 14px 0;
}

.content-area {
    flex: 1;
    min-width: 0;
    padding: 32px;
}

.right-panel {
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    padding: 32px 0 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

.panel-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-sub {
    font-size: 12px;
    margin-bottom: 10px;
}

.mini-link {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    margin-bottom: 7px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    font-size: 12px;
}

.mini-link:hover {
    border-color: var(--border-h);
}

.mini-link small {
    color: var(--muted);
}

.active-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.av {
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--glass-b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    overflow: hidden;
}

.av.online {
    border-color: var(--primary);
}

.av-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.page-title {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    line-height: 1.1;
}

.muted {
    color: var(--muted);
}

.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.search-box {
    position: relative;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(33, 33, 33, 0.98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
    z-index: 30;
    overflow: hidden;
}

.search-suggest.hidden {
    display: none;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.suggest-item:last-child {
    border-bottom: none;
}

.suggest-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.suggest-thumb img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.suggest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggest-text small {
    color: var(--muted);
    font-size: 11px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--muted);
    background: var(--glass-b);
}

.chip:hover,
.chip.active {
    border-color: var(--primary);
    color: var(--text);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: 0.2s ease;
}

.product-card[data-product-url] {
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--border-h);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.product-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--bg2);
    border: 1px solid var(--border);
}

.product-name {
    font-size: 16px;
    margin: 0 0 4px;
}

.product-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 10px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    font-size: 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 8px;
    color: var(--muted);
    background: var(--glass-b);
}

.product-price {
    text-align: right;
    min-width: 130px;
}

.prod-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--bg2);
    border: 1px solid var(--border);
    overflow: hidden;
}

.prod-body {
    flex: 1;
    min-width: 0;
}

.prod-name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.prod-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.prod-price {
    text-align: right;
    min-width: 130px;
}

.price-old {
    font-size: 12px;
    color: #ff7f7f;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-new {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.stars {
    color: #f5c842;
    font-size: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    margin-bottom: 8px;
}

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

.prod-hero {
    margin-bottom: 12px;
}

.hero-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.hero-placeholder {
    height: 200px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    font-family: 'Syne', sans-serif;
    color: var(--muted);
}

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

.gallery-item {
    display: block;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
    padding: 14px 8px 6px;
    line-height: 1.35;
}

.avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
}

.avatar-mini {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    gap: 12px;
}

.market-filter-form {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr auto;
    align-items: end;
}

.market-filter-form > .btn {
    height: 42px;
}

.form-row {
    display: grid;
    gap: 6px;
}

label {
    font-size: 12px;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-users-table {
    min-width: 1120px;
}

.admin-users-table input,
.admin-users-table select {
    min-width: 0;
    font-size: 12px;
    padding: 8px 10px;
}

.wallet-adjust-inline {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 220px;
}

.wallet-adjust-inline .wallet-note {
    grid-column: 1 / -1;
}

th,
td {
    padding: 11px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.price {
    font-weight: 700;
}

.pagination {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.page-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
}

.page-link.active,
.page-link:hover {
    border-color: var(--accent);
    color: var(--text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    padding: 14px;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
}

.stat-value {
    margin-top: 4px;
    font-size: 28px;
    font-family: 'Syne', sans-serif;
}

.empty {
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 26px;
}

.split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    color: var(--muted);
}

.badge.paid,
.badge.active {
    border-color: rgba(76, 214, 154, 0.4);
    color: #d7ffe9;
}

.badge.pending {
    border-color: rgba(246, 192, 75, 0.45);
    color: #ffe9be;
}

.badge.suspended,
.badge.failed {
    border-color: rgba(255, 107, 107, 0.45);
    color: #ffdede;
}

.right {
    text-align: right;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.modal-dialog {
    position: relative;
    width: min(780px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid var(--border);
    background: rgba(35, 35, 35, 0.98);
    border-radius: 16px;
    padding: 20px;
    z-index: 1;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
z-index:2;
}

.modal-content h3 {
    margin-bottom: 6px;
    font-family: 'Syne', sans-serif;
}

.modal-content p {
    line-height: 1.6;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.modal-thumb {
    width: 100%;
    height: 210px;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
    margin-bottom: 12px;
}

.modal-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 10px;
}

.modal-tab {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--glass);
    color: var(--muted);
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

.modal-tab.active {
    border-color: var(--primary);
    color: #fff;
    background: rgba(3, 173, 216, 0.14);
}

.modal-tab-content {
    display: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.modal-tab-content.active {
    display: block;
}

.modal-review {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.modal-review:last-child {
    border-bottom: none;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.modal-gallery-item {
    display: block;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.modal-gallery-item img {
    width: 100%;
    height: 98px;
    object-fit: cover;
    display: block;
}

.modal-gallery-caption {
    display: block;
    padding: 6px 7px;
    font-size: 11px;
    color: var(--muted);
}

#product-screenshots-tbody tr {
    transition: background 0.18s ease, opacity 0.18s ease;
}

#product-screenshots-tbody tr.dragging {
    opacity: 0.5;
    background: rgba(3, 173, 216, 0.08);
}

#product-screenshots-tbody tr.drag-over {
    background: rgba(3, 173, 216, 0.12);
}

.drag-handle {
    cursor: grab;
    user-select: none;
    color: var(--muted);
    width: 42px;
    text-align: center;
}

.drag-handle:active {
    cursor: grabbing;
}

.compare-toggle.active {
    border-color: var(--primary);
    color: var(--text);
}

.compare-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 250;
}

.compare-bar.hidden {
    display: none;
}

.compare-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(33, 33, 33, 0.96);
    padding: 10px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.compare-bar-inner #compare-count {
    color: var(--text);
    font-size: 12px;
    min-width: 90px;
}

.layout-wrapper > .content-area:only-child {
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .right-panel {
        display: none;
    }

    .market-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-filter-form .form-row:first-child {
        grid-column: 1 / -1;
    }

    .market-filter-form > .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 900px) {
    :root {
        --max-width: 95%;
    }

    .topbar-right .ghost-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-nav-panel {
        position: fixed;
        top: 74px;
        left: 12px;
        right: 12px;
        z-index: 190;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgba(33, 33, 33, 0.98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.2s ease;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 11px;
        border-radius: 10px;
        border: 1px solid transparent;
        color: var(--text);
        font-size: 14px;
    }

    .mobile-nav-link:hover {
        border-color: var(--border);
        background: rgba(255, 255, 255, 0.03);
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 64px 0 0;
        z-index: 170;
        background: rgba(0, 0, 0, 0.46);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .mobile-nav-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.mobile-menu-open .mobile-nav-backdrop {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .content-area {
        padding: 20px 0;
    }

    .compare-bar {
        width: calc(100% - 24px);
        left: 12px;
        transform: none;
    }

    .compare-bar-inner {
        justify-content: space-between;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-users-table {
        min-width: 950px;
    }

    .admin-users-table .col-avatar,
    .admin-users-table .col-created {
        display: none;
    }

    .market-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .market-filter-form .form-row {
        min-width: 0;
    }

    .market-filter-form .form-row:first-child,
    .market-filter-form > .btn {
        grid-column: 1 / -1;
    }

    .market-filter-form > .btn {
        width: 100%;
    }

    .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .filter-chips .chip {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-price,
    .prod-price {
        text-align: left;
        width: 100%;
        border-top: 1px solid var(--border);
        padding-top: 10px;
    }

    .stars {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .market-filter-form {
        grid-template-columns: 1fr;
    }

    .market-filter-form .form-row:first-child,
    .market-filter-form > .btn {
        grid-column: auto;
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
