/* Box sizing for everything inside the sidebar to avoid clipping on smaller screens */
.evart-sidebar,
.evart-sidebar * {
    box-sizing: border-box;
}

/* Root variables – can be overridden via inline CSS from settings */
:root {
    --evart-sidebar-gradient-start: #7c3aed;
    --evart-sidebar-gradient-end: #6366f1;
    --evart-sidebar-surface: #0b0c10;
    --evart-sidebar-border: rgba(148, 163, 184, 0.3);
    --evart-sidebar-text: #e5e7eb;
    --evart-sidebar-muted: #cbd5f5;
    --evart-sidebar-accent: #22c55e;
    --evart-price-track: rgba(15, 23, 42, 0.9);
    --evart-price-fill: #22c55e;
    --evart-sidebar-radius-lg: 1.7rem;
    --evart-sidebar-radius-md: 1.25rem;
    --evart-sidebar-radius-pill: 999px;
    --evart-shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.65);
}

/* Container */
.evart-sidebar {
    position: relative; /* explicitly NOT sticky */
    top: auto;
    margin: 1.5rem 0;
    color: var(--evart-sidebar-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.evart-sidebar__inner {
    background: radial-gradient(circle at top left,
        rgba(129, 140, 248, 0.22),
        transparent 55%)
        , radial-gradient(circle at bottom right,
        rgba(236, 72, 153, 0.18),
        transparent 55%)
        , linear-gradient(145deg,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.86));
    border-radius: 2.1rem;
    padding: 1.5rem;
    border: 1px solid var(--evart-sidebar-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--evart-shadow-soft);
    position: relative;
    overflow: hidden;
    transition:
        background 0.25s ease,
        filter 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Pixelated bleed overlay (used only when dimmed) */
.evart-sidebar__inner::after {
    content: "";
    position: absolute;
    inset: -10%;
    pointer-events: none;
    opacity: 0;
    display: none; /* use per-card bleed instead of a single overlay */
}

/* Dimmed state – bleed to very light grey with pixel effect from centre */
.evart-sidebar.evart-sidebar--dimmed .evart-sidebar__inner {
    background: radial-gradient(circle at center,
        #ffffff,
        #fbfcff 62%,
        #f7f9ff 96%);
    filter: grayscale(0.78) brightness(1.04);
    box-shadow: 0 14px 32px rgba(129, 140, 158, 0.55);
    border-color: rgba(148, 163, 184, 0.65);
    transition:
        background 1.5s ease,
        filter 1.5s ease,
        box-shadow 1.2s ease,
        border-color 1.2s ease;
}

.evart-sidebar.evart-sidebar--dimmed .evart-sidebar__inner::after {
    animation: none;
}

.evart-sidebar.evart-sidebar--dimmed .evart-card {
    background: radial-gradient(circle at top left,
        rgba(249, 250, 254, 0.82),
        rgba(245, 247, 253, 0.99));
    border-color: rgba(148, 163, 184, 0.7);
    transition: background 1.2s ease, border-color 1.2s ease;
}

.evart-sidebar.evart-sidebar--dimmed .evart-native {
    background: radial-gradient(circle at top left,
        rgba(249, 250, 254, 0.82),
        rgba(245, 247, 253, 0.99));
    transition: background 1.2s ease;
}

.evart-sidebar.evart-sidebar--dimmed .evart-card__heading,
.evart-sidebar.evart-sidebar--dimmed .evart-native__title {
    color: #0b1220;
}

.evart-sidebar.evart-sidebar--dimmed .evart-native__text,
.evart-sidebar.evart-sidebar--dimmed .evart-price-filter__values {
    color: #1f2937;
}

.evart-sidebar.evart-sidebar--dimmed .evart-list__label,
.evart-sidebar.evart-sidebar--dimmed .evart-list__count,
.evart-sidebar.evart-sidebar--dimmed .evart-artist__name,
.evart-sidebar.evart-sidebar--dimmed .evart-artist__tagline,
.evart-sidebar.evart-sidebar--dimmed .evart-product__title,
.evart-sidebar.evart-sidebar--dimmed .evart-product__artist,
.evart-sidebar.evart-sidebar--dimmed .evart-product__price {
    color: #0b1220;
}

.evart-sidebar.evart-sidebar--dimmed .evart-native__image,
.evart-sidebar.evart-sidebar--dimmed .evart-product__thumb img,
.evart-sidebar.evart-sidebar--dimmed .evart-search-result__thumb img {
    filter: none;
}

.evart-sidebar.evart-sidebar--dimmed .evart-button,
.evart-sidebar.evart-sidebar--dimmed .evart-chip,
.evart-sidebar.evart-sidebar--dimmed .evart-pill-link {
    filter: grayscale(0.7) brightness(0.92);
    background-image: none;
    background-color: #b7bcc4;
    color: #0b1220 !important;
}

.evart-sidebar.evart-sidebar--dimmed .evart-search__field-wrap,
.evart-sidebar.evart-sidebar--dimmed .evart-list__item a,
.evart-sidebar.evart-sidebar--dimmed .evart-artist,
.evart-sidebar.evart-sidebar--dimmed .evart-product,
.evart-sidebar.evart-sidebar--dimmed .evart-native__badge,
.evart-sidebar.evart-sidebar--dimmed .evart-theme-toggle,
.evart-sidebar.evart-sidebar--dimmed .evart-theme-toggle__btn,
.evart-sidebar.evart-sidebar--dimmed .evart-list__count {
    background: #c1c6ce;
    border-color: rgba(148, 163, 184, 0.65);
    box-shadow: none;
    color: #0b1220;
}

.evart-sidebar.evart-sidebar--dimmed .evart-search__input {
    color: #0b1220;
}

.evart-sidebar.evart-sidebar--dimmed .evart-search__input::placeholder {
    color: #4b5563;
}

.evart-sidebar.evart-sidebar--dimmed .evart-button__label,
.evart-sidebar.evart-sidebar--dimmed .evart-button__icon,
.evart-sidebar.evart-sidebar--dimmed .evart-chip span,
.evart-sidebar.evart-sidebar--dimmed .evart-pill-link {
    color: #0b1220 !important;
}

/* Pixel bleed keyframes */
@keyframes evart-pixel-bleed {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    35% {
        opacity: 0.85;
        transform: scale(0.7);
    }
    70% {
        opacity: 0.95;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Cards */
.evart-card {
    background: radial-gradient(circle at top left,
        rgba(148, 163, 184, 0.10),
        rgba(15, 23, 42, 0.95));
    border-radius: var(--evart-sidebar-radius-md);
    padding: 1.2rem 1.15rem 1.05rem;
    border: 1px solid var(--evart-sidebar-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
    margin-bottom: 1.1rem;
    position: relative;
    overflow: visible; /* avoid clipping inner content, esp. giveaway */
    color: var(--evart-sidebar-text);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.evart-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top,
        rgba(255, 255, 255, 0.06),
        transparent 60%);
    opacity: 0;
    transition: opacity 180ms ease-out;
    pointer-events: none;
    z-index: 0;
}

.evart-card > * {
    position: relative;
    z-index: 1;
}

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

/* Headings & body */
.evart-card__heading {
    font-size: 1rem;
    margin: 0 0 0.55rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

.evart-card__body {
    font-size: 0.86rem;
    color: var(--evart-sidebar-muted);
}

/* Primary button */
.evart-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--evart-sidebar-radius-pill);
    border: none;
    text-decoration: none;
    font-size: 0.88rem;
    color: #ffffff;
    background-image: linear-gradient(120deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
    box-shadow: 0 14px 35px rgba(79, 70, 229, 0.75);
    transform: translateY(0);
    transition:
        transform 120ms ease-out,
        box-shadow 120ms ease-out,
        filter 120ms ease-out;
}

.evart-button--sm {
    padding: 0.48rem 0.9rem;
    font-size: 0.84rem;
}

.evart-button__label {
    white-space: nowrap;
    color: #ffffff;
    font-weight: 600;
}

.evart-button__icon {
    font-size: 1rem;
    transform: translateX(0);
    transition: transform 120ms ease-out;
    color: #ffffff;
}

.evart-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.9);
    filter: brightness(1.05);
}

.evart-button:hover .evart-button__icon {
    transform: translateX(3px);
}

/* Search */
.evart-card--search {
    margin-bottom: 1.2rem;
}

.evart-search__field-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    border: none !important; /* remove any theme borders */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.evart-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    color: rgba(226, 232, 240, 0.92);
}

.evart-search__input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.evart-search__input::placeholder {
    color: rgba(148, 163, 184, 0.85);
}

/* Hide default search decoration on some browsers */
.evart-search__input::-webkit-search-decoration,
.evart-search__input::-webkit-search-cancel-button,
.evart-search__input::-webkit-search-results-button,
.evart-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.evart-search__dropdown {
    margin-top: 0.4rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
    display: none;
    max-height: 260px;
    overflow-y: auto;
    font-size: 0.84rem;
    z-index: 40;
}

.evart-search-result {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #e5e7eb;
}

.evart-search-result:hover {
    background: radial-gradient(circle at left,
        rgba(129, 140, 248, 0.3),
        rgba(15, 23, 42, 0.9));
}

.evart-search-result__thumb {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.7rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    flex-shrink: 0;
}

.evart-search-result__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evart-search-result__meta {
    flex: 1;
    min-width: 0;
}

.evart-search-result__title {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: #f9fafb;
}

.evart-search-result__price {
    margin: 0.12rem 0 0;
    font-size: 0.78rem;
    color: rgba(209, 213, 219, 0.92);
}

/* Dark / light mode toggle under search */
.evart-theme-toggle {
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.14rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.75rem;
}

.evart-theme-toggle__btn {
    flex: 1;
    border-radius: 999px;
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    cursor: pointer;
    background: transparent;
    color: var(--evart-sidebar-muted);
    white-space: nowrap;
}

.evart-theme-toggle__btn--active {
    background-image: linear-gradient(120deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.7);
}

/* Category list */
.evart-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evart-list__item {
    margin: 0.24rem 0;
}

.evart-list__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.55rem 0.6rem;
    border-radius: 0.9rem;
    text-decoration: none;
    color: var(--evart-sidebar-text);
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.26);
    transition:
        border-color 120ms ease,
        background 120ms ease,
        transform 120ms ease;
}

.evart-list__item a:hover {
    border-color: rgba(129, 140, 248, 0.9);
    background: radial-gradient(circle at left,
        rgba(129, 140, 248, 0.28),
        rgba(15, 23, 42, 0.85));
    transform: translateY(-1px);
}

.evart-list__item--empty {
    font-size: 0.82rem;
    color: var(--evart-sidebar-muted);
}

.evart-list__label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.evart-list__dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
    flex-shrink: 0;
}

.evart-list__label {
    flex: 1;
    color: #ffffff;
    font-weight: 600;
}

.evart-list__count {
    font-size: 0.78rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: rgba(229, 231, 235, 0.96);
}

/* Categories toggle button */
.evart-categories-toggle {
    margin-top: 0.45rem;
    border-radius: var(--evart-sidebar-radius-pill);
    padding: 0.35rem 0.75rem;
    border: 1px dashed rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.8);
    color: var(--evart-sidebar-text);
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Best-selling artists */
.evart-artist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.evart-artist {
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition:
        transform 130ms ease,
        box-shadow 130ms ease,
        border-color 130ms ease;
}

.evart-artist a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.6rem;
    text-decoration: none;
    color: inherit;
}

.evart-artist__avatar img {
    border-radius: 999px;
    width: 2.6rem;
    height: 2.6rem;
    object-fit: cover;
}

.evart-artist__meta {
    flex: 1;
    min-width: 0;
}

.evart-artist__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.evart-artist__tagline {
    font-size: 0.78rem;
    color: var(--evart-sidebar-muted);
}

.evart-artist:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.85);
    border-color: rgba(129, 140, 248, 0.95);
}

/* Price filter */
.evart-card--price .evart-card__body {
    color: var(--evart-sidebar-muted);
}

.evart-price-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.evart-price-filter__range-wrap {
    position: relative;
    padding: 1.4rem 0.2rem 0.4rem;
}

/* Range track (visual, not actual input track) */
.evart-price-filter__track {
    position: relative;
    left: 0;
    right: 0;
    top: 0.2rem;
    height: 0.55rem;
    border-radius: 999px;
    background: radial-gradient(circle at top,
        rgba(15, 23, 42, 0.95),
        rgba(15, 23, 42, 0.85));
    overflow: hidden;
    border: none !important; /* nuke rectangular edge */
}

.evart-price-filter__track-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0%;
    width: 0%;
    background-image: linear-gradient(90deg,
        var(--evart-price-fill),
        var(--evart-sidebar-gradient-end));
    box-shadow: 0 0 24px rgba(129, 140, 248, 0.9);
}

/* Range sliders – both thumbs sit on a single line */
.evart-price-filter__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent !important;
    border: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0.2rem;
    pointer-events: auto;
    outline: none !important;
}

/* Hide the actual track (we use our own track element) */
.evart-price-filter__slider::-webkit-slider-runnable-track {
    height: 0.55rem;
    background: transparent !important;
    border: none !important;
}
.evart-price-filter__slider::-moz-range-track {
    height: 0.55rem;
    background: transparent !important;
    border: none !important;
}

/* Thumbs */
.evart-price-filter__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-image: linear-gradient(135deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
    border: 2px solid #020617;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.45);
    cursor: pointer;
}
.evart-price-filter__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-image: linear-gradient(135deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
    border: 2px solid #020617;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.45);
    cursor: pointer;
}

.evart-price-filter__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.evart-price-filter__values {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--evart-sidebar-text);
}

.evart-price-filter__divider {
    opacity: 0.8;
}

/* Filter chips */
.evart-price-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.evart-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.36rem 0.9rem; /* slightly bigger */
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.85);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.82rem; /* slightly bigger text */
    cursor: pointer;
    color: var(--evart-sidebar-text);
}

.evart-chip input {
    display: none;
}

.evart-chip span {
    position: relative;
    padding-left: 1.1rem;
}

.evart-chip span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    transform: translateY(-50%);
    background: radial-gradient(circle at center,
        rgba(15, 23, 42, 0.95),
        rgba(15, 23, 42, 0.9));
}

.evart-chip--active {
    border-color: rgba(129, 140, 248, 0.95);
    background: radial-gradient(circle at left,
        rgba(129, 140, 248, 0.35),
        rgba(15, 23, 42, 0.95));
}

.evart-chip--active span::before {
    border-color: transparent;
    background-image: linear-gradient(135deg,
        var(--evart-sidebar-gradient-start),
        var(--evart-sidebar-gradient-end));
}

/* Clear filters */
.evart-price-filter__clear-wrap {
    margin-top: 0.45rem;
}

.evart-pill-link,
.evart-price-filter__clear {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.9rem;
    border-radius: var(--evart-sidebar-radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.9);
    text-decoration: none;
    font-size: 0.8rem;
    color: #ffffff !important; /* force white text */
    background: rgba(15, 23, 42, 0.8);
    transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.evart-pill-link:hover,
.evart-price-filter__clear:hover {
    border-color: rgba(129, 140, 248, 0.9);
    background: radial-gradient(circle at left,
        rgba(129, 140, 248, 0.35),
        rgba(15, 23, 42, 0.9));
    transform: translateY(-1px);
}

/* Product list */
.evart-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.evart-product {
    border-radius: 1.1rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition:
        transform 130ms ease,
        box-shadow 130ms ease,
        border-color 130ms ease;
}

.evart-product a {
    display: flex;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    padding: 0.6rem 0.65rem;
}

.evart-product__thumb img {
    width: 3.6rem;
    height: 3.6rem;
    object-fit: cover;
    border-radius: 0.9rem;
}

.evart-product__meta {
    flex: 1;
    min-width: 0;
}

.evart-product__title {
    font-size: 0.92rem;
    margin: 0 0 0.2rem;
    color: #e5e7eb;
    font-weight: 600;
}

.evart-product__artist {
    font-size: 0.82rem;
    margin: 0 0 0.25rem;
    color: var(--evart-sidebar-muted);
}

.evart-product__price {
    font-size: 0.84rem;
    margin: 0;
    color: rgba(244, 244, 245, 0.98);
}

.evart-product:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.85);
    border-color: rgba(129, 140, 248, 0.95);
}

.evart-product--empty {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
    color: var(--evart-sidebar-muted);
}

/* Native advertisement */
.evart-card--native {
    padding: 0;
    overflow: visible;
}

.evart-native {
    display: flex;
    flex-direction: row;
    overflow: visible;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left,
        rgba(129, 140, 248, 0.35),
        transparent 60%),
        radial-gradient(circle at bottom right,
        rgba(236, 72, 153, 0.3),
        transparent 60%),
        linear-gradient(145deg,
        rgba(15, 23, 42, 0.97),
        rgba(15, 23, 42, 0.9));
    transition: background 0.25s ease, border-color 0.25s ease;
}

.evart-native__image-wrap {
    position: relative;
    overflow: hidden;
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.evart-native__image {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    object-position: left center; /* middle-left focal point */
    transform: scale(1.02);
    transition: transform 220ms ease-out, filter 220ms ease-out;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0.08) 88%, rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0.08) 88%, rgba(0,0,0,0) 100%);
}

.evart-native__badge {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(0.2rem, 1vw, 0.35rem);
    padding: clamp(0.12rem, 1vw, 0.2rem) clamp(0.4rem, 2vw, 0.7rem);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(209, 213, 219, 0.32);
    font-size: clamp(0.55rem, 1.5vw, 0.7rem);
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5e7eb;
    max-width: 82%;
}

.evart-native__badge-dot {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 999px;
    background: var(--evart-sidebar-accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

@media (max-width: 640px) {
    .evart-native__badge {
        left: 0.65rem;
        top: 0.65rem;
        max-width: 88%;
    }
}

.evart-native__content {
    flex: 1;
    padding: 1rem 1.2rem 1.2rem;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.evart-native__title {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-weight: 700;
}

.evart-native__text {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    color: rgba(226, 232, 240, 0.9);
}

.evart-native__text ul {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
}

.evart-native__text li {
    margin: 0.12rem 0;
}

.evart-native__button {
    margin-top: 0.05rem;
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
}

.evart-native__button .evart-button__label {
    white-space: normal;
}

/* Image hover */
.evart-card--native:hover .evart-native__image {
    transform: scale(1.06);
    filter: saturate(1.1);
}

/* Touch highlight for cards */
.evart-card.evart-card--touched {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .evart-native {
        flex-direction: column;
    }

    .evart-native__image-wrap {
        max-width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 782px) {
    .evart-sidebar__inner {
        border-radius: 1.6rem;
        padding: 1.2rem;
    }
}
