/* envato-front.css - "Elements" look for the SELLERS public pages
   (sellers/index.php, marketplace.php, categories.php, become-seller.php, product.php chrome,
   and the shared header-frontend.php / footer-frontend.php).
   Loaded LAST (after the page's inline <style>). Brand purple #4f46e5 / deep #4338ca replaces
   the reference's green; near-black #15131f is the dark card; lime #d9ff3f is a tiny highlight only.
   Light theme = warm cream canvas. [data-theme="dark"] = #0f0d16 canvas, #161524 cards, same layout.
   Remove the <link> tags to revert. */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
    --ev-acc: #4f46e5;
    --ev-acc-deep: #4338ca;
    --ev-acc-text: #4338ca;          /* purple text on cream (AA) */
    --ev-acc-on-dark: #8882ff;       /* purple text on near-black (AA) */
    --ev-lime: #d9ff3f;
    --ev-ink: #15131f;
    --ev-canvas: #fdf3ea;
    --ev-cream-2: #f9e4cf;
    --ev-card: #ffffff;
    --ev-outline: #15131f;
    --ev-muted: #5f5870;
    --ev-dark: #15131f;
    --ev-r: 24px;
    --ev-r-lg: 30px;
    --ev-font: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* map onto the tokens the existing pages already consume */
    --bg: var(--ev-canvas);
    --surface: var(--ev-card);
    --surface-2: #f8ebdd;
    --border: #e8d6c3;
    --text-primary: #15131f;
    --text-secondary: #4a4458;
    --text-muted: #6b6478;
    --accent: #4338ca;
    --accent-hover: #362dd8;
    --accent-light: rgba(100, 92, 255, .12);
    --accent-a: rgba(100, 92, 255, .12);
    --purple: #4f46e5;
    --purple-light: rgba(100, 92, 255, .12);
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-md: 0 10px 28px -14px rgba(21, 19, 31, .25);
    --shadow-lg: 0 18px 40px -16px rgba(21, 19, 31, .3);
}

[data-theme="dark"] {
    --ev-acc-text: #9a95ff;
    --ev-canvas: #0f0d16;
    --ev-cream-2: #1b1a2e;
    --ev-card: #161524;
    --ev-outline: #3d3656;
    --ev-muted: #a39db8;
    --ev-dark: #0a0912;

    --bg: #0f0d16;
    --surface: #161524;
    --surface-2: #1d1c30;
    --border: #2c2740;
    --text-primary: #f1f1fa;
    --text-secondary: #bdb8d0;
    --text-muted: #9a94b2;
    --accent: #4f46e5;
    --accent-hover: #8882ff;
    --shadow-md: 0 10px 28px -14px rgba(0, 0, 0, .6);
    --shadow-lg: 0 18px 40px -16px rgba(0, 0, 0, .7);
}

/* ── 2. BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
    font-family: var(--ev-font);
    background: var(--ev-canvas);
    color: var(--text-primary);
    letter-spacing: -.005em;
}
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #4f46e5;
    outline-offset: 2px;
}
.ev-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ev-skip {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--ev-ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600;
    text-decoration: none; transition: top .15s;
}
.ev-skip:focus { top: 10px; }
[data-lucide] { stroke-width: 1.75; }

/* ── 3. HEADER (shared: header-frontend.php) ───────────────── */
.seller-header {
    top: -56px;                       /* search row scrolls away, top bar stays */
    background: var(--ev-canvas);
    border-bottom: 0;
    font-family: var(--ev-font);
}
.seller-header.scrolled {
    background: rgba(253, 243, 234, .94);
    box-shadow: 0 1px 0 rgba(21, 19, 31, .08);
}
[data-theme="dark"] .seller-header.scrolled { background: rgba(15, 13, 22, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.seller-header .header-container { max-width: 1360px; height: 64px; padding: 0 24px; gap: 20px; }
.seller-header .logo-link { font-family: var(--ev-font); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.seller-header .logo-icon { background: var(--ev-acc-deep); border-radius: 10px; }
.seller-header .seller-tag { background: var(--ev-ink); color: #fff; font-size: 10px; padding: 3px 8px; }
[data-theme="dark"] .seller-header .seller-tag { background: #2c2740; }

.seller-header .desktop-nav { flex: 1; margin-left: 8px; }
.seller-header .nav-menu { gap: 2px; }
.seller-header .nav-link {
    min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: .9rem; font-weight: 500;
    color: var(--text-primary); background: transparent; border: 0; font-family: var(--ev-font); cursor: pointer;
}
.seller-header .nav-link:hover, .seller-header .nav-link.active { background: rgba(100, 92, 255, .12); color: var(--ev-acc-text); }
.seller-header .nav-link svg { width: 14px; height: 14px; }

.ev-dd { position: relative; }
.ev-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none;
    margin-top: 4px; padding: 8px; background: var(--surface); border: 2px solid var(--ev-outline);
    border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 60;
}
.ev-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 6px; }
.ev-dd:hover .ev-menu, .ev-dd:focus-within .ev-menu { display: block; }
.ev-menu a {
    display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 12px;
    color: var(--text-primary); text-decoration: none; font-size: .92rem;
}
.ev-menu a:hover { background: rgba(100, 92, 255, .12); color: var(--ev-acc-text); }

.seller-header .header-right { gap: 8px; }
.seller-header .btn { min-height: 40px; padding: 0 18px; font-family: var(--ev-font); font-weight: 600; font-size: .9rem; border-width: 2px; }
.seller-header .btn-outline { border-color: transparent; color: var(--text-primary); background: transparent; }
.seller-header .btn-outline:hover { background: rgba(100, 92, 255, .12); border-color: transparent; color: var(--ev-acc-text); }
.seller-header .btn-primary { background: var(--ev-acc-deep); color: #fff; border-color: var(--ev-acc-deep); }
.seller-header .btn-primary:hover { background: #362dd8; transform: translateY(-1px); }
.seller-header .icon-btn, .seller-header .mobile-menu-btn { width: 40px; height: 40px; border-radius: 999px; border-color: var(--ev-outline); }
.seller-header .user-trigger { min-height: 40px; border: 2px solid var(--ev-outline); }
.seller-header .user-avatar { background: var(--ev-acc-deep); }
.seller-header .user-dropdown { border: 2px solid var(--ev-outline); border-radius: 18px; }

/* search pill */
.ev-searchbar { height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 24px 6px; }
.ev-search {
    display: flex; align-items: center; width: 100%; max-width: 640px; height: 46px;
    background: var(--surface); border: 2px solid var(--ev-outline); border-radius: 999px; overflow: hidden;
}
.ev-search-cat { position: relative; display: flex; align-items: center; height: 100%; border-right: 2px solid var(--ev-outline); }
.ev-search-cat select {
    appearance: none; -webkit-appearance: none; border: 0; background: transparent; height: 100%;
    padding: 0 30px 0 18px; font: 600 .88rem var(--ev-font); color: var(--text-primary); cursor: pointer; max-width: 170px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6478' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.ev-search-ico { width: 18px; height: 18px; margin-left: 14px; color: var(--text-muted); flex-shrink: 0; }
.ev-search input[type="search"] {
    flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 12px;
    font: 500 .95rem var(--ev-font); color: var(--text-primary);
}
.ev-search input[type="search"]:focus-visible { outline: 0; }
.ev-search:focus-within { box-shadow: 0 0 0 3px rgba(100, 92, 255, .45); }
.ev-search-go {
    height: 100%; padding: 0 22px; border: 0; background: var(--ev-acc-deep); color: #fff;
    font: 600 .9rem var(--ev-font); cursor: pointer;
}
.ev-search-go:hover { background: #362dd8; }
.ev-search-mobile { height: 48px; margin-bottom: 12px; max-width: none; }
.mobile-nav { background: var(--ev-canvas); }
.mobile-nav-link { min-height: 48px; font-family: var(--ev-font); }

@media (max-width: 991px) {
    .seller-header { top: 0; }
    .ev-searchbar { display: none; }
    .seller-header .header-container { padding: 0 16px; height: 60px; }
}

/* ── 4. SHARED PAGE PRIMITIVES ─────────────────────────────── */
.ev-page { font-family: var(--ev-font); padding-bottom: 24px; }
.ev-wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.ev-section { padding-top: 64px; }
.ev-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 24px; color: var(--text-primary); }
.ev-h2-center { text-align: center; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.ev-lead { margin: -10px 0 26px; color: var(--text-secondary); font-size: 1.05rem; }
.ev-display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; margin: 0; }
.ev-hl { color: var(--ev-acc-text); }
.ev-hero-banner .ev-hl, .ev-stack-dark .ev-hl, .ev-cta .ev-hl { color: var(--ev-acc-on-dark); }
.ev-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px;
    border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e5e4ff; font-size: .85rem; font-weight: 600;
}
.ev-eyebrow svg { width: 15px; height: 15px; color: var(--ev-lime); }

.ev-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
    border-radius: 999px; border: 2px solid transparent; font: 600 .98rem var(--ev-font); text-decoration: none;
    cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; white-space: nowrap;
}
.ev-btn svg { width: 17px; height: 17px; }
.ev-btn:hover { transform: translateY(-2px); }
.ev-btn-primary { background: var(--ev-acc-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(70, 61, 240, .8); }
.ev-btn-primary:hover { background: #362dd8; }
.ev-btn-dark { background: var(--ev-ink); color: #fff; }
.ev-btn-dark:hover { background: #262540; }
[data-theme="dark"] .ev-btn-dark { background: #f1f1fa; color: #15131f; }
[data-theme="dark"] .ev-btn-dark:hover { background: #fff; }
.ev-btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.ev-btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.ev-btn-block { width: 100%; }

.ev-metrics { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 34px 0 0; padding: 0; }
.ev-metrics li { display: flex; flex-direction: column; }
.ev-metrics strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.ev-metrics span { font-size: .85rem; color: #cac9e6; }
.ev-metrics-col { flex-direction: column; margin: 0; gap: 22px; }

/* ── 5. HERO ───────────────────────────────────────────────── */
.ev-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; padding-top: 20px; }
.ev-hero-banner {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: center;
    min-height: 480px; padding: 52px 48px; border-radius: var(--ev-r-lg); overflow: hidden; color: #fff;
    background: radial-gradient(900px 420px at 85% 10%, rgba(100, 92, 255, .38), transparent 60%), var(--ev-dark);
}
.ev-hero-copy { position: relative; z-index: 2; }
.ev-hero-copy .ev-display { color: #fff; }
.ev-hero-sub { margin: 20px 0 0; max-width: 520px; font-size: 1.08rem; line-height: 1.55; color: #d7d6f2; }
.ev-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ev-hero-art { position: relative; min-height: 340px; }
.ev-blob { position: absolute; border-radius: 50%; }
.ev-blob-1 { width: 260px; height: 260px; right: -30px; top: 6px; background: linear-gradient(135deg, #4f46e5, #bcb8ff); opacity: .9; }
.ev-blob-2 { width: 150px; height: 150px; left: 10px; bottom: 6px; background: linear-gradient(135deg, #ff9a7a, #ff5fa2); opacity: .9; }
.ev-blob-3 { width: 54px; height: 54px; right: 40px; bottom: 30px; background: var(--ev-lime); }
.ev-chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    border-radius: 999px; background: #fff; color: #15131f; font-size: .82rem; font-weight: 700;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.ev-chip svg { width: 15px; height: 15px; color: #4338ca; }
.ev-chip-1 { top: 0; left: 6%; } .ev-chip-2 { top: 44%; right: -6px; } .ev-chip-3 { bottom: 0; left: 30%; }
.ev-dash {
    position: relative; z-index: 2; width: min(100%, 330px); margin: 36px auto 0; padding: 18px; border-radius: 22px;
    background: #fff; color: #15131f; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); transform: rotate(-2deg);
}
.ev-dash-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f5870; }
.ev-dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 6px 0 4px; }
.ev-dash-lbl { font-size: .8rem; color: #5f5870; }
.ev-dash-amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.ev-dash-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: #e7e6ff; color: #362dd8; font-size: .74rem; font-weight: 700; }
.ev-dash-badge svg { width: 13px; height: 13px; }
.ev-dash-chart { display: block; width: 100%; height: 70px; margin: 6px 0 10px; }
.ev-dash-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid #eee6dc; font-size: .84rem; }
.ev-dash-rows span { display: inline-flex; align-items: center; gap: 8px; color: #4a4458; }
.ev-dash-rows svg { width: 15px; height: 15px; color: #4338ca; }

.ev-offer {
    display: flex; flex-direction: column; padding: 28px; border-radius: var(--ev-r-lg);
    background: var(--surface); border: 2px solid var(--ev-outline);
}
.ev-offer-from { margin: 0; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.ev-offer-price { margin: 2px 0 20px; font-size: .95rem; color: var(--text-secondary); }
.ev-offer-price span { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; color: var(--text-primary); }
.ev-offer-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; flex: 1; }
.ev-offer-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.ev-offer-list svg { width: 18px; height: 18px; margin-top: 1px; color: var(--ev-acc-text); }
.ev-offer-link { margin-top: 14px; text-align: center; font-size: .86rem; font-weight: 600; color: var(--ev-acc-text); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* ── 6. BENTO ──────────────────────────────────────────────── */
.ev-bento { columns: 4; column-gap: 16px; }
.ev-tile {
    display: flex; flex-direction: column; break-inside: avoid; margin: 0 0 16px; padding: 20px 20px 18px;
    background: var(--surface); color: var(--text-primary); text-decoration: none;
    border: 2px solid var(--ev-outline); border-radius: var(--ev-r);
    transition: transform .2s ease, box-shadow .2s ease;
}
a.ev-tile:hover, .ev-tile-cat:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 -2px rgba(100, 92, 255, .55); }
.ev-tile h3 { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ev-count { margin: 4px 0 0; font-size: .82rem; font-weight: 500; color: var(--text-muted); }
.ev-tile-sub { margin: 10px 0 0; font-size: .92rem; line-height: 1.5; color: #d1d0ec; }
.ev-tile-dark { background: var(--ev-dark); color: #fff; border-color: var(--ev-dark); gap: 6px; }
[data-theme="dark"] .ev-tile-dark { border-color: #3d3656; }
.ev-tile-dark h3 { font-size: 1.5rem; margin-bottom: 8px; }
.ev-mini-menu { list-style: none; margin: 14px 0 20px; padding: 12px; display: grid; gap: 2px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.ev-mini-menu li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .88rem; color: #e2e1f7; }
.ev-mini-menu li:first-child { background: rgba(100, 92, 255, .35); color: #fff; }
.ev-mini-menu svg { width: 16px; height: 16px; }

.ev-art {
    position: relative; display: grid; place-items: center; margin-top: 16px; aspect-ratio: 1 / 1.1;
    border-radius: 18px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #4f46e5, #4338ca);
}
.ev-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -16%; background: rgba(255, 255, 255, .2); }
.ev-art::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 28%; left: -8%; bottom: -10%; background: rgba(255, 255, 255, .16); transform: rotate(18deg); }
.ev-art svg { position: relative; z-index: 1; width: 42%; height: auto; stroke-width: 1.25; }
.ev-tile-cat:nth-of-type(3n+1) .ev-art { aspect-ratio: 1 / 1.35; }
.ev-tile-cat:nth-of-type(3n+2) .ev-art { aspect-ratio: 1 / .95; }
.ev-tile-cat:nth-of-type(3n) .ev-art { aspect-ratio: 1 / 1.2; }
.ev-tile-cat:nth-of-type(8n+1) .ev-art, .ev-tool:nth-child(8n+1) .ev-art { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.ev-tile-cat:nth-of-type(8n+2) .ev-art, .ev-tool:nth-child(8n+2) .ev-art { background: linear-gradient(135deg, #ffb48a, #ff6f91); color: #15131f; }
.ev-tile-cat:nth-of-type(8n+3) .ev-art, .ev-tool:nth-child(8n+3) .ev-art { background: linear-gradient(135deg, #15131f, #3b2f7a); }
.ev-tile-cat:nth-of-type(8n+4) .ev-art, .ev-tool:nth-child(8n+4) .ev-art { background: linear-gradient(135deg, #c0bdff, #7b74ff); color: #15131f; }
.ev-tile-cat:nth-of-type(8n+5) .ev-art, .ev-tool:nth-child(8n+5) .ev-art { background: linear-gradient(135deg, #6ee7f9, #4f46e5); }
.ev-tile-cat:nth-of-type(8n+6) .ev-art, .ev-tool:nth-child(8n+6) .ev-art { background: linear-gradient(135deg, #ffd36e, #ff8a5c); color: #15131f; }
.ev-tile-cat:nth-of-type(8n+7) .ev-art, .ev-tool:nth-child(8n+7) .ev-art { background: linear-gradient(135deg, #9893fb, #4f46e5); }
.ev-tile-cat:nth-of-type(8n) .ev-art, .ev-tool:nth-child(8n) .ev-art { background: linear-gradient(135deg, #4338ca, #15131f); }

/* ── 7. TOOL TILES (4-up with chips) ───────────────────────── */
.ev-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ev-tool { position: relative; display: flex; flex-direction: column; padding: 10px; background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r); transition: transform .2s ease, box-shadow .2s ease; }
.ev-tool:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 -2px rgba(100, 92, 255, .55); }
.ev-tool .ev-art { margin: 0; aspect-ratio: 4 / 3; }
.ev-chipl {
    position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 11px; border-radius: 10px; background: #15131f; color: #fff; font-size: .78rem; font-weight: 600;
}
.ev-chipl svg { width: 14px; height: 14px; }
.ev-tool-text { padding: 14px 10px 8px; }
.ev-tool-text h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; }
.ev-tool-text p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--text-secondary); }

/* ── 8. STEPS ──────────────────────────────────────────────── */
.ev-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-step { padding: 28px; background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r); }
.ev-step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ev-acc-deep); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.ev-step h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.ev-step p { margin: 0; color: var(--text-secondary); line-height: 1.55; }

/* ── 9. STICKY STACK ───────────────────────────────────────── */
.ev-stack { display: block; }
.ev-stack-card {
    position: sticky; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center;
    min-height: 380px; margin-bottom: 24px; padding: 44px; border: 2px solid var(--ev-outline); border-radius: var(--ev-r-lg);
}
.ev-stack-card:nth-child(1) { top: 84px; z-index: 1; }
.ev-stack-card:nth-child(2) { top: 104px; z-index: 2; }
.ev-stack-card:nth-child(3) { top: 124px; z-index: 3; }
.ev-stack-cream { background: var(--ev-cream-2); }
.ev-stack-dark { background: var(--ev-dark); color: #fff; border-color: var(--ev-dark); }
[data-theme="dark"] .ev-stack-dark { border-color: #3d3656; }
.ev-stack-white { background: var(--surface); }
.ev-stack-copy h3 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.ev-stack-copy p { margin: 0 0 24px; max-width: 520px; font-size: 1.05rem; line-height: 1.6; color: var(--text-secondary); }
.ev-stack-dark .ev-stack-copy p { color: #d1d0ec; }
.ev-stack-art {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 280px; border-radius: 22px; overflow: hidden; color: #fff;
}
.ev-stack-art::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -12%; top: -14%; background: rgba(255, 255, 255, .18); }
.ev-stack-art svg { position: relative; width: 88px; height: 88px; stroke-width: 1.25; }
.ev-stack-big { position: relative; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ev-art-a { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.ev-art-b { background: linear-gradient(135deg, #9893fb, #4f46e5); }
.ev-art-c { background: linear-gradient(135deg, #ffb48a, #ff6f91); color: #15131f; }

/* ── 10. PRICING ───────────────────────────────────────────── */
.ev-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; }
.ev-price-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.ev-price { position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r); transition: transform .2s ease; }
.ev-price:hover { transform: translateY(-4px); }
.ev-price-featured { border-color: var(--ev-acc-deep); box-shadow: 8px 8px 0 -2px rgba(100, 92, 255, .45); }
.ev-badge { position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: 999px; background: var(--ev-acc-deep); color: #fff; font-size: .78rem; font-weight: 700; }
.ev-price h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.ev-price-amt { margin: 8px 0 4px; color: var(--text-secondary); }
.ev-price-amt span { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; color: var(--text-primary); }
.ev-price-desc { margin: 0 0 20px; color: var(--text-secondary); font-size: .95rem; }
.ev-checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.ev-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; line-height: 1.4; }
.ev-checks svg { width: 17px; height: 17px; margin-top: 2px; color: var(--ev-acc-text); }

/* ── 11. WORDMARKS ─────────────────────────────────────────── */
.ev-brands { padding-top: 80px; padding-bottom: 8px; }
.ev-wordmarks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; }
.ev-wordmarks li { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--ev-muted); }

/* ── 12. FAQ ───────────────────────────────────────────────── */
.ev-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ev-faq-item { background: var(--surface); border: 2px solid var(--ev-outline); border-radius: 20px; overflow: hidden; }
.ev-faq-item summary {
    position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 56px 14px 22px;
    font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none;
}
.ev-faq-item summary::-webkit-details-marker { display: none; }
.ev-faq-item summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%; background: rgba(100, 92, 255, .14); color: var(--ev-acc-text); font-size: 1.2rem; font-weight: 700;
}
.ev-faq-item[open] summary::after { content: "\2212"; }
.ev-faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-secondary); line-height: 1.6; }

/* ── 13. FINAL CTA ─────────────────────────────────────────── */
.ev-cta {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 56px; color: #fff;
    border-radius: var(--ev-r-lg);
    background: radial-gradient(700px 360px at 90% 0%, rgba(100, 92, 255, .45), transparent 60%), var(--ev-dark);
}
.ev-cta:not(:has(.ev-metrics)) { grid-template-columns: 1fr; }
.ev-cta .ev-display { color: #fff; }

/* ── 14. FOOTER (shared: footer-frontend.php) ──────────────── */
.ev-foot { margin-top: 72px; background: transparent; border-top: 0; font-family: var(--ev-font); }
.ev-foot-inner { max-width: 1360px; margin: 0 auto; padding: 24px 24px 28px; }
.ev-foot-top { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 48px; padding-bottom: 40px; }
.ev-foot-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.ev-foot-logo .footer-logo-icon { background: var(--ev-acc-deep); }
.ev-foot-logo .footer-logo-text { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.ev-foot .social-links { display: flex; gap: 10px; margin-bottom: 24px; }
.ev-foot .social-link { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ev-outline); color: var(--text-primary); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .18s, background .18s, color .18s; }
.ev-foot .social-link:hover { background: var(--ev-acc-deep); color: #fff; border-color: var(--ev-acc-deep); transform: translateY(-2px); }
.ev-foot-news-title { margin: 0 0 12px; font-weight: 700; font-size: .98rem; line-height: 1.35; }
.ev-foot .newsletter-form { display: flex; align-items: center; gap: 0; height: 46px; background: var(--surface); border: 2px solid var(--ev-outline); border-radius: 999px; overflow: hidden; }
.ev-foot .newsletter-input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; background: transparent; padding: 0 16px; font: 500 .92rem var(--ev-font); color: var(--text-primary); box-shadow: none; }
.ev-foot .newsletter-input:focus-visible { outline: 0; }
.ev-foot .newsletter-form:focus-within { box-shadow: 0 0 0 3px rgba(100, 92, 255, .45); }
.ev-foot .newsletter-button { width: 54px; height: 100%; border: 0; border-radius: 0; background: var(--ev-acc-deep); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ev-foot .newsletter-button:hover { background: #362dd8; transform: none; }
.ev-foot .newsletter-button svg { width: 18px; height: 18px; }
.ev-foot-note { margin: 8px 0 0; font-size: .78rem; color: var(--text-muted); }
.ev-foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.ev-foot .footer-col { display: flex; flex-direction: column; gap: 4px; }
.ev-foot .footer-title { margin: 0 0 8px; font-size: .95rem; font-weight: 700; text-transform: none; letter-spacing: -.01em; color: var(--text-primary); display: block; }
.ev-foot .footer-link { display: inline-flex; align-items: center; min-height: 32px; font-size: .92rem; color: var(--text-secondary); text-decoration: none; width: fit-content; transform: none; }
.ev-foot .footer-link:hover { color: var(--ev-acc-text); text-decoration: underline; text-underline-offset: 3px; transform: none; }
.ev-foot-pay-title { margin-top: 18px; }
.ev-foot .payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-foot .payment-icon { display: inline-flex; padding: 5px 11px; border-radius: 999px; border: 2px solid var(--ev-outline); background: transparent; font-size: .74rem; font-weight: 700; color: var(--text-primary); transform: none; }
.ev-foot .payment-icon .btc, .ev-foot .payment-icon .eth, .ev-foot .payment-icon .usdt, .ev-foot .payment-icon .usdc { color: inherit; }
.ev-foot .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; border-top: 2px solid var(--ev-outline); }
.ev-foot .footer-copyright, .ev-foot .footer-bottom-link { font-size: .82rem; color: var(--text-secondary); text-decoration: none; }
.ev-foot .footer-bottom-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ev-foot .footer-bottom-link { display: inline-flex; align-items: center; min-height: 32px; }
.ev-foot .footer-bottom-link:hover { color: var(--ev-acc-text); }

.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface); color: var(--text-primary); border: 2px solid var(--ev-outline); cursor: pointer;
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease, background .2s ease; z-index: 40;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--ev-acc-deep); color: #fff; border-color: var(--ev-acc-deep); }
@media (max-width: 768px) { .back-to-top { bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px)); right: 1rem; } }

/* ── 15. SELLER MARKETPLACE (sm-*) ─────────────────────────── */
.sm-hero {
    width: calc(100% - 48px); max-width: 1312px; margin: 20px auto 0; padding: 56px 0 48px; border-radius: var(--ev-r-lg);
    background: radial-gradient(800px 360px at 85% 0%, rgba(100, 92, 255, .4), transparent 60%), var(--ev-dark); color: #fff;
    font-family: var(--ev-font);
}
.sm-hero .sm-hero-vignette, .sm-hero .sm-grid-lines { display: none; }
.sm-hero .sm-orb { opacity: .35; }
.sm-hero-heading { color: #fff; font-family: var(--ev-font); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(2.3rem, 5vw, 4rem); }
.sm-hero .sm-accent-text { background: none; -webkit-text-fill-color: currentColor; color: var(--ev-acc-on-dark); }
.sm-hero-pill { background: rgba(255, 255, 255, .1); color: #e5e4ff; border: 0; }
.sm-hero-subtext { color: #d7d6f2; }
.sm-hero .sm-metric-val { color: #fff; }
.sm-hero .sm-metric-lbl { color: #cac9e6; }
.sm-hero .sm-metric-sep { background: rgba(255, 255, 255, .2); }
.sm-btn { font-family: var(--ev-font); min-height: 44px; }
.sm-btn-primary { background: var(--ev-acc-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(70, 61, 240, .8); }
.sm-btn-primary:hover { background: #362dd8; }
.sm-btn-ghost { border: 2px solid var(--ev-outline); background: var(--surface); color: var(--text-primary); }
.sm-hero .sm-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.sm-hero .sm-btn-ghost:hover { border-color: #fff; color: #fff; }
.sm-btn-ghost:hover { border-color: var(--ev-acc-deep); color: var(--ev-acc-text); }

.sm-filters-inner {
    margin-top: 20px; padding: 12px 18px; background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r);
    width: calc(100% - 48px); max-width: 1312px;
}
.sm-search, .sm-select, .sm-price-input-wrapper, .sm-filter-toggle { font-family: var(--ev-font); }
.sm-section-head h2 { font-family: var(--ev-font); font-weight: 700; letter-spacing: -.03em; }
.sm-count { background: rgba(100, 92, 255, .14); color: var(--ev-acc-text); border-radius: 999px; }

.sm-card {
    background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r); overflow: hidden; box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.sm-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 -2px rgba(100, 92, 255, .5); }
.sm-card-image { margin: 10px 10px 0; border-radius: 16px; }
.sm-card-title { font-family: var(--ev-font); font-weight: 700; letter-spacing: -.02em; }
.sm-card-price, .sm-price { color: var(--ev-acc-text); font-weight: 800; }
.sm-card-cat { color: var(--ev-acc-text); }
.sm-page-btn, .sm-page-number { border-radius: 999px; min-width: 40px; min-height: 40px; }
.sm-empty { border: 2px solid var(--ev-outline); border-radius: var(--ev-r); background: var(--surface); }

/* ── 16. CATEGORIES PAGE ───────────────────────────────────── */
.categories-header { background: var(--ev-canvas); border-bottom: 0; font-family: var(--ev-font); }
.categories-header .logo-link { font-family: var(--ev-font); font-weight: 800; letter-spacing: -.03em; }
.categories-header .logo-icon { background: var(--ev-acc-deep); border-radius: 10px; }
.categories-header .back-link { min-height: 40px; display: inline-flex; align-items: center; }
.hero-section {
    width: calc(100% - 48px); max-width: 1312px; margin: 20px auto 0; padding: 64px 24px 56px; border: 0; border-radius: var(--ev-r-lg); color: #fff;
    background: radial-gradient(800px 360px at 85% 0%, rgba(100, 92, 255, .4), transparent 60%), var(--ev-dark);
}
.hero-badge { background: rgba(255, 255, 255, .1); border: 0; color: #e5e4ff; }
.hero-title { font-family: var(--ev-font); font-style: normal; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(2.3rem, 5vw, 4rem); color: #fff; }
.hero-title span { background: none; -webkit-text-fill-color: currentColor; color: var(--ev-acc-on-dark); }
.hero-subtitle { color: #d7d6f2; }
.section-header h2 { font-family: var(--ev-font); font-weight: 700; letter-spacing: -.03em; }
.featured-card, .category-card {
    background: var(--surface); border: 2px solid var(--ev-outline); border-radius: var(--ev-r); box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.featured-card:hover, .category-card:hover { transform: translateY(-4px); border-color: var(--ev-outline); box-shadow: 8px 8px 0 -2px rgba(100, 92, 255, .55); }
.featured-icon, .category-icon { border-radius: 16px; background: linear-gradient(135deg, #4f46e5, #4338ca); }
.featured-icon svg, .category-icon svg { color: #fff; }
.featured-name, .category-name { font-family: var(--ev-font); font-weight: 700; letter-spacing: -.02em; }
.cta-section { background: radial-gradient(700px 320px at 90% 0%, rgba(100, 92, 255, .45), transparent 60%), var(--ev-dark); border-radius: var(--ev-r-lg); }
.cta-section h3 { font-family: var(--ev-font); font-style: normal; font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cta-btn { min-height: 48px; background: var(--ev-acc-deep); color: #fff; font-family: var(--ev-font); }
.cta-btn:hover { background: #362dd8; }

/* ── 17. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ev-hero { grid-template-columns: 1fr; }
    .ev-offer { max-width: none; }
    .ev-bento { columns: 3; }
    .ev-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-foot-top { grid-template-columns: 1fr; gap: 32px; }
    .ev-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ev-price-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .ev-hero-banner { grid-template-columns: 1fr; padding: 40px 28px; min-height: 0; }
    .ev-hero-art { min-height: 300px; }
    .ev-bento { columns: 2; }
    .ev-steps { grid-template-columns: 1fr; }
    .ev-stack-card { grid-template-columns: 1fr; padding: 30px 24px; min-height: 0; position: relative; top: auto !important; }
    .ev-stack-art { min-height: 200px; }
    .ev-price-grid, .ev-price-grid-3 { grid-template-columns: 1fr; }
    .ev-faq { grid-template-columns: 1fr; }
    .ev-cta { grid-template-columns: 1fr; padding: 36px 26px; }
    .ev-metrics-col { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .ev-wrap { padding: 0 16px; }
    .ev-section { padding-top: 48px; }
    .ev-foot-inner { padding: 16px 16px 24px; }
    .ev-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-hero, .hero-section { width: calc(100% - 32px); border-radius: 24px; }
    .sm-filters-inner { width: calc(100% - 32px); }
    .ev-chip-2 { right: 0; }
}
@media (max-width: 480px) {
    .ev-bento { columns: 1; }
    .ev-tools { grid-template-columns: 1fr; }
    .ev-hero-actions .ev-btn { width: 100%; }
    .ev-btn { white-space: normal; text-align: center; }
    .ev-foot-cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .ev-search-mobile .ev-search-go { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
    .ev-btn:hover, .ev-tile:hover, .ev-tool:hover, .ev-price:hover, .sm-card:hover, .featured-card:hover, .category-card:hover { transform: none; }
}
