﻿/* ═══════════════════════════════════════════════════════
   wc-archive.css - Electromi catalog / shop page
   ═══════════════════════════════════════════════════════ */

.em-shop { padding-top: 0; }

/* ── Breadcrumbs ── */
.em-shop__crumbs {
    padding: 16px 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.em-shop__crumbs-list {
    display: flex; align-items: center; gap: 8px;
    list-style: none; padding: 0; margin: 0;
    font-size: 0.75rem; color: var(--silver-3);
}
.em-shop__crumb { display: flex; align-items: center; gap: 8px; }
.em-shop__crumb a { color: var(--silver-3); transition: color .2s var(--ease); }
.em-shop__crumb a:hover { color: var(--neon); }
.em-shop__crumb i { font-size: 0.5rem; opacity: 0.4; }
.em-shop__crumb span { color: var(--silver); }

/* ── Page Header ── */
.em-shop__header {
    padding: 32px 0 24px;
    background: var(--black);
}
.em-shop__header > .container {
    display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) {
    .em-shop__header > .container {
        flex-direction: row; align-items: center; justify-content: space-between;
    }
}

.em-shop__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900; color: var(--white);
    letter-spacing: -0.03em; margin: 0;
}
.em-shop__meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; color: var(--silver-3); margin-top: 4px;
}
.em-shop__sep { opacity: 0.3; }
.em-shop__cat-desc { max-width: 400px; }

/* ── Лид-абзац описания под заголовком (первый абзац сверху) ── */
.em-shop__lead {
    margin-top: 14px;
    max-width: 900px;
    color: var(--silver);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.em-shop__lead p { margin: 0; }

/* ── SEO-текст категории/бренда: отдельный блок под каталогом ── */
.em-shop__seo {
    padding: 40px 0 16px;
    background: var(--black);
}
.em-shop__seo-inner {
    max-width: 880px;
    color: var(--silver);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.em-shop__seo-inner > :first-child { margin-top: 0; }
.em-shop__seo-inner p { margin: 0 0 14px; }
.em-shop__seo-inner strong { color: var(--white); font-weight: 700; }
.em-shop__seo-inner ul { list-style: none; padding: 0; margin: 4px 0 16px; }
.em-shop__seo-inner li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.em-shop__seo-inner li::before {
    content: ""; position: absolute; left: 6px; top: 10px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--neon);
}
.em-shop__seo-inner a { color: var(--neon); }

/* ── Controls ── */
.em-shop__controls {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.em-shop__sort select,
.em-shop__sort .woocommerce-ordering select {
    padding: 8px 32px 8px 12px; font-size: 0.8125rem; font-weight: 600;
    background: var(--black-3); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm); color: var(--silver);
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg fill='%236B7280' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 14px;
    transition: border-color .25s var(--ease);
}
.em-shop__sort select:focus { border-color: var(--neon); outline: none; }

/* Hide default WC ordering form labels */
.em-shop__sort .woocommerce-ordering { margin: 0; }
.woocommerce-result-count { display: none; }

.em-shop__view-toggle {
    display: none; gap: 4px;
}
@media (min-width: 768px) { .em-shop__view-toggle { display: flex; } }
.em-shop__view-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm); color: var(--silver-3); font-size: 0.875rem;
    background: var(--black-3); border: 1px solid rgba(255,255,255,0.04);
    transition: all .25s var(--ease);
}
.em-shop__view-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.08); }
.em-shop__view-btn.active { color: var(--neon); background: var(--neon-ghost); border-color: rgba(57,255,20,0.15); }

/* ── Product Grid ── */
.em-shop__products {
    padding: 0 0 64px;
    background: var(--black);
}

.em-shop__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 600px) { .em-shop__grid { gap: 16px; } }
@media (min-width: 768px) { .em-shop__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .em-shop__grid { grid-template-columns: repeat(4, 1fr); } }

/* List view */
.em-shop__grid--list {
    grid-template-columns: 1fr;
    gap: 12px;
}
.em-shop__grid--list .em-pcard {
    display: grid; grid-template-columns: 200px 1fr; gap: 0;
    min-width: 0;
}
.em-shop__grid--list .em-pcard > * { min-width: 0; }
@media (max-width: 599px) {
    .em-shop__grid--list .em-pcard { grid-template-columns: 1fr; }
}

/* ── Product Card ── */
.em-pcard {
    position: relative;
    background: var(--black-2);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all .3s var(--ease);
}
.em-pcard:hover {
    border-color: rgba(57,255,20,0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 16px rgba(57,255,20,0.05);
}
.em-pcard__name a::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
}
.em-pcard__cart { position: relative; z-index: 2; }
.em-pcard__img-wrap { position: relative; z-index: 0; }
.em-pcard--oos { opacity: 0.6; }
.em-pcard--oos:hover { transform: none; box-shadow: none; }

.em-pcard__img-wrap {
    display: block; position: relative; aspect-ratio: 1/1; overflow: hidden;
    background: linear-gradient(145deg, var(--black-3), var(--black-4));
}
.em-pcard__img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s var(--ease);
}
.em-pcard:hover .em-pcard__img-wrap img { transform: scale(1.05); }

.em-pcard__no-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(255,255,255,0.05);
}

.em-pcard__tag {
    position: absolute; top: 8px; left: 8px;
    padding: 3px 9px; font-size: 0.6875rem; font-weight: 700;
    border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.05em;
    z-index: 2;
}
.em-pcard__tag--sale { background: var(--danger); color: #fff; }
.em-pcard__tag--new  { background: var(--neon); color: var(--black); }

.em-pcard__oos-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,13,17,0.7); color: var(--silver-2);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}

.em-pcard__body { padding: 14px; }

.em-pcard__brand {
    font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--silver-2); margin-bottom: 4px;
}
.em-pcard__name {
    font-size: 0.875rem; font-weight: 700; color: var(--white);
    margin-bottom: 8px; line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.em-pcard__name a { transition: color .2s var(--ease); }
.em-pcard__name a:hover { color: var(--neon); text-shadow: 0 0 8px rgba(57,255,20,0.15); }

.em-pcard__specs {
    display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap;
}
.em-pcard__spec {
    display: flex; align-items: center; gap: 4px;
    padding: 3px 7px; background: rgba(255,255,255,0.04);
    border-radius: var(--r-sm); font-size: 0.625rem; font-weight: 600; color: var(--silver-2);
}
.em-pcard__spec i { font-size: 0.5rem; color: var(--cyan); }

.em-pcard__rating {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.6875rem; font-weight: 700; color: #FBBF24; margin-bottom: 8px;
}
.em-pcard__rating i { font-size: 0.5625rem; }

.em-pcard__foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.04);
}

.em-pcard__price-wrap { display: flex; flex-direction: column; }
.em-pcard__price-label,
.em-pick-card__price-label {
    color: var(--silver-3);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}
.em-pcard__price-wrap del {
    font-size: 0.6875rem; color: var(--silver-3); text-decoration: line-through;
    display: block; line-height: 1;
}
.em-pcard__price-wrap ins,
.em-pcard__price-wrap .woocommerce-Price-amount {
    font-size: 1rem; font-weight: 800; color: var(--white); text-decoration: none;
    letter-spacing: -0.02em;
}
.em-pcard__price-wrap .woocommerce-Price-currencySymbol { font-weight: 600; }

.em-pcard__cart {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(57,255,20,0.1); color: var(--neon);
    border: 1px solid rgba(57,255,20,0.15);
    border-radius: var(--r-sm); font-size: 0.875rem;
    transition: all .25s var(--ease); cursor: pointer;
}
.em-pcard__cart:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }
.em-pcard__cart:active { transform: scale(0.92); }

/* ── Pagination ── */
.em-shop__pagination {
    margin-top: 48px; display: flex; justify-content: center;
}
.em-shop__pagination .page-numbers {
    display: flex; gap: 6px; list-style: none; padding: 0; margin: 0;
    align-items: center;
}
.em-shop__pagination .page-numbers a,
.em-shop__pagination .page-numbers span {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    font-size: 0.8125rem; font-weight: 600;
    border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.06);
    color: var(--silver-2); transition: all .25s var(--ease);
}
.em-shop__pagination .page-numbers a:hover {
    border-color: var(--neon); color: var(--neon);
}
.em-shop__pagination .page-numbers .current {
    background: var(--neon); color: var(--black); border-color: var(--neon);
    font-weight: 800;
}

/* ── Empty state ── */
.em-shop__empty {
    text-align: center; padding: 96px 0;
}
.em-shop__empty-icon {
    font-size: 4rem; color: rgba(255,255,255,0.06); margin-bottom: 24px;
}
.em-shop__empty h2 {
    font-size: 1.5rem; color: var(--white); margin-bottom: 8px;
}
.em-shop__empty p {
    font-size: 1rem; color: var(--silver-3); margin-bottom: 24px;
}


/* ═══════════════════════════════════════════════════════
   FILTER SYSTEM
   ═══════════════════════════════════════════════════════ */

/* ── Layout: sidebar + main ── */
.em-shop__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 64px;
    align-items: start;
}
@media (min-width: 1024px) {
    .em-shop__layout {
        grid-template-columns: 268px 1fr;
        gap: 32px;
    }
    .em-shop__sidebar {
        position: sticky;
        top: 80px;
    }
}

/* ── Sidebar (desktop default state) ── */
.em-shop__sidebar {
    z-index: 10;
}

/* ── Filter panel card ── */
.em-filter {
    background: var(--black-2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    overflow: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.em-filter::-webkit-scrollbar { width: 4px; }
.em-filter::-webkit-scrollbar-track { background: transparent; }
.em-filter::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

/* ── Filter header ── */
.em-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--black-3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 2;
}
.em-filter__head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--silver);
}
.em-filter__head-left > i { color: var(--neon); font-size: 0.75rem; }
.em-filter__active-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--neon);
    color: var(--black);
    border-radius: var(--r-full);
    font-size: 0.5625rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* [hidden] глобальное правило перенесено в base/reset.css */

.em-filter__head-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.em-filter__reset-all {
    font-size: 0.6875rem;
    color: var(--silver-3);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s var(--ease);
}
.em-filter__reset-all:hover { color: var(--neon); }
.em-filter__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    color: var(--silver-3);
    font-size: 1rem;
    transition: all .2s var(--ease);
    cursor: pointer;
    border: none;
    background: transparent;
}
@media (max-width: 599px) {
    .em-filter__close { width: 44px; height: 44px; }
}
.em-filter__close:hover { color: var(--white); background: rgba(255,255,255,0.05); }

/* ── In-stock toggle section ── */
.em-filter__section--stock {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.em-filter__stock-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.em-filter__stock-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.em-toggle-track {
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--r-full);
    position: relative;
    transition: background .25s var(--ease);
}
.em-filter__stock-toggle input:checked ~ .em-toggle-track { background: var(--neon); }
.em-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    transition: transform .25s var(--ease);
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.em-filter__stock-toggle input:checked ~ .em-toggle-track .em-toggle-thumb {
    transform: translateX(16px);
    background: var(--black);
}
.em-filter__stock-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--silver);
}

/* ── Section: accordion ── */
.em-filter__section {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.em-filter__section:last-child { border-bottom: none; }

.em-filter__section-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--silver);
    text-align: left;
    transition: color .2s var(--ease);
}
.em-filter__section-head:hover { color: var(--white); }
.em-filter__section-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 0.75rem;
}
.em-filter__section-title { flex: 1; }
.em-filter__chevron {
    font-size: 0.5625rem;
    color: var(--silver-3);
    transition: transform .25s var(--ease);
}
.em-filter__section-head[aria-expanded="false"] .em-filter__chevron {
    transform: rotate(-90deg);
}

/* ── Section body (collapsible) ── */
.em-filter__section-body {
    padding: 0 16px 12px;
    overflow: hidden;
}
.em-filter__section-body--collapsed {
    display: none;
}

/* ── Checkbox options ── */
.em-filter__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    user-select: none;
    min-height: 32px;
}
.em-filter__option input { position: absolute; opacity: 0; width: 0; height: 0; }
.em-filter__cb-box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    background: transparent;
    position: relative;
    transition: all .2s var(--ease);
}
.em-filter__option input:checked ~ .em-filter__cb-box {
    background: var(--neon);
    border-color: var(--neon);
}
.em-filter__option input:checked ~ .em-filter__cb-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 5px;
    height: 8px;
    border: 2px solid var(--black);
    border-top: none;
    border-left: none;
    transform: rotate(40deg);
}
.em-filter__option:hover .em-filter__cb-box { border-color: var(--neon); }
.em-filter__option-label {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--silver);
    transition: color .2s var(--ease);
}
.em-filter__option:hover .em-filter__option-label { color: var(--white); }
.em-filter__option input:checked ~ .em-filter__cb-box ~ .em-filter__option-label { color: var(--white); }
.em-filter__option-count {
    font-size: 0.6875rem;
    color: var(--silver-3);
}

/* ── Price range slider ── */
.em-filter__price-display {
    font-size: 0.75rem;
    color: var(--silver-2);
    margin-bottom: 14px;
}
.em-filter__price-display strong { color: var(--white); }

.em-filter__range-wrap {
    position: relative;
    padding: 8px 0 20px;
}
.em-filter__range-track {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    pointer-events: none;
}
.em-filter__range-fill {
    position: absolute;
    height: 100%;
    background: var(--neon);
    border-radius: 2px;
}

.em-range {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}
.em-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon);
    border: 2px solid var(--black);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 0 6px rgba(57,255,20,0.4);
    transition: box-shadow .2s var(--ease);
}
.em-range::-webkit-slider-thumb:hover { box-shadow: 0 0 12px rgba(57,255,20,0.7); }
.em-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--neon);
    border: 2px solid var(--black);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 0 6px rgba(57,255,20,0.4);
}
.em-range::-webkit-slider-runnable-track { height: 3px; }
.em-range::-moz-range-track { height: 3px; background: transparent; }

/* ── Chips bar ── */
.em-filter__chips-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 8px;
}
.em-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}
.em-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(57,255,20,0.08);
    border: 1px solid rgba(57,255,20,0.18);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    color: var(--neon);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.em-filter__chip:hover { background: rgba(57,255,20,0.15); }
.em-filter__chip-remove {
    font-size: 0.5625rem;
    opacity: 0.7;
    transition: opacity .15s;
}
.em-filter__chip:hover .em-filter__chip-remove { opacity: 1; }
.em-filter__chips-reset {
    font-size: 0.75rem;
    color: var(--silver-3);
    white-space: nowrap;
    transition: color .2s var(--ease);
    display: flex;
    align-items: center;
    gap: 5px;
}
.em-filter__chips-reset:hover { color: var(--danger, #FF4444); }

/* ── Filter trigger button ── */
.em-filter__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--black-3);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--silver);
    transition: all .25s var(--ease);
    cursor: pointer;
    position: relative;
}
.em-filter__trigger:hover { border-color: var(--neon); color: var(--neon); }
.em-filter__trigger[aria-expanded="true"] {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(57,255,20,0.06);
}
.em-filter__trigger-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--neon);
    color: var(--black);
    border-radius: var(--r-full);
    font-size: 0.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide trigger on desktop (sidebar always visible) */
@media (min-width: 1024px) {
    .em-filter__trigger { display: none; }
}

/* ── Mobile: bottom-sheet ── */
@media (max-width: 1023px) {
    .em-shop__sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        transform: translateY(100%);
        transition: transform .35s cubic-bezier(0.22, 0.61, 0.36, 1);
        max-height: 90vh;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        overflow: hidden;
    }
    .em-shop__sidebar.is-open {
        transform: translateY(0);
    }
    .em-filter {
        max-height: 90vh;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
    }
}

/* ── Filter footer (apply button, mobile) ── */
.em-filter__foot {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--black-2);
    position: sticky;
    bottom: 0;
}
.em-filter__apply-btn {
    width: 100%;
    padding: 12px;
    background: var(--neon);
    color: var(--black);
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: box-shadow .25s var(--ease);
}
.em-filter__apply-btn:hover { box-shadow: 0 0 16px rgba(57,255,20,0.4); }
@media (min-width: 1024px) { .em-filter__foot { display: none; } }

/* ── Backdrop (mobile) ── */
.em-filter__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.em-filter__backdrop.is-visible { display: block; }

/* ── Loading overlay ── */
.em-shop__main { position: relative; }
.em-shop__loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    background: rgba(11,13,17,0.6);
    backdrop-filter: blur(2px);
    border-radius: var(--r-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}
.em-shop__loading.is-active {
    opacity: 1;
    pointer-events: auto;
}
.em-shop__loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.em-shop__loading-icon {
    font-size: 2rem;
    color: var(--neon);
    animation: emPulse 0.8s ease-in-out infinite alternate;
}
@keyframes emPulse {
    from { opacity: 0.3; transform: scale(0.9); }
    to   { opacity: 1;   transform: scale(1.1); text-shadow: 0 0 20px rgba(57,255,20,0.8); }
}

/* ── Empty state ── */
.em-shop__empty {
    grid-column: 1 / -1;
    padding: 80px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.em-shop__empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--silver-3);
}
.em-shop__empty h2 { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.em-shop__empty p  { font-size: 0.875rem; color: var(--silver-3); }
