/* ================================================================
   YEDIBOX — index_style.css COMPLETO
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
    --bg: #050d07;
    --surface: #0c1810;
    --card: #111f15;
    --card2: #162a1c;
    --green: #2ecc71;
    --green2: #27ae60;
    --green-dim: #1a4d2e;
    --orange: #ff6b00;
    --orange2: #e55f00;
    --text: #e8f5e9;
    --muted: #6fcf97;
    --dim: #3d7a52;
    --border: rgba(46, 204, 113, .12);
    --border2: rgba(46, 204, 113, .3);
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
}

/* ── RESET / BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text);
}

/* ── PRELOADER ─────────────────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    background: #020805;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .6s ease;
}

#preloader img {
    width: 360px;
    max-width: 80vw;
    height: auto;
}

.loaded #preloader {
    opacity: 0;
    pointer-events: none;
}

/* ── NAVBAR ────────────────────────────────────────────────────── */
.navbar {
    background: #101d0d;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all .3s ease;
}

[data-theme="dark"] .offcanvas {
    background-color: #101d0d !important;
}


[data-theme="dark"] .ps-title {
    color: rgb(255, 255, 255) !important;
}


[data-theme="dark"] .hero-title {
    color: rgb(255, 255, 255) !important;
}
@media (max-width:991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        padding: 2rem 1.5rem;
        background-color: #2c3e50;
        box-shadow: -5px 0 15px rgba(0, 0, 0, .2);
        transform: translateX(100%);
        transition: transform .3s ease-out;
        z-index: 1050;
        overflow-y: auto;
    }

    [data-theme="dark"] .navbar-collapse {
        background-color: #1a1a1a;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }

    .nav-item {
        margin-bottom: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
    }

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

.nav-link {
    transition: all .3s ease;
}

.nav-link:hover {
    transform: translateX(5px);
}

.navbar-brand {
    font-weight: 700;
    transition: all .3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* ── HERO SECTION ──────────────────────────────────────────────── */
.hero-section {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 204, 113, .07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-left {
    z-index: 1;
}

.hero-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dim);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: .5px;
    margin-bottom: 20px;
    border: 1px solid var(--border2);
    animation: fadeUp .6s ease both;
}

.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

.hero-title {
    font-size: clamp(34px, 4.5vw, 58px);
    color: #000000;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
    animation: fadeUp .6s .1s ease both;
}

.hero-title em {
    font-style: normal;
    color: var(--green);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeUp .6s .2s ease both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp .6s .3s ease both;
}

.btn-hero-main {
    background: var(--green);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .25s;
}

.btn-hero-main:hover {
    background: var(--green2);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(46, 204, 113, .4);
}

.btn-hero-alt {
    background: transparent;
    color: var(--green);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--r-md);
    border: 1px solid var(--border2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .25s;
}

.btn-hero-alt:hover {
    background: var(--green-dim);
    color: var(--green);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 44px;
    animation: fadeUp .6s .4s ease both;
}

.stat-item .stat-num {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 12px;
    color: var(--dim);
    margin-top: 3px;
    font-weight: 500;
}

.hero-visual-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp .6s .2s ease both;
    z-index: 1;
}

.hero-visual {
    position: relative;
    width: 550px;
    height: 550px;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border2);
}

.ring-1 {
    inset: 0;
    animation: spin 20s linear infinite;
}

.ring-2 {
    inset: 40px;
    animation: spin 14s linear infinite reverse;
    border-style: dashed;
    opacity: .5;
}

.ring-3 {
    inset: 90px;
    animation: spin 9s linear infinite;
    border-color: rgba(255, 107, 0, .2);
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.hero-card-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card2);
    border: 1px solid var(--border2);
    border-radius: var(--r-lg);
    padding: 24px 20px;
    width: 350px;
    height: 350px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.hero-card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
}

.hero-card-name {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 4px;
}

.hero-fdot {
    position: absolute;
    width: 46px;
    height: 46px;
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.fdot-1 {
    top: 18px;
    right: 16px;
    animation: float 3.2s ease-in-out infinite;
}

.fdot-2 {
    bottom: 28px;
    left: 8px;
    animation: float 3.2s ease-in-out infinite .9s;
}

.fdot-3 {
    top: 70px;
    left: 4px;
    animation: float 3.2s ease-in-out infinite 1.7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:900px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 28px 16px 0;
        min-height: auto;
        gap: 0;
    }

    .hero-visual-wrap {
        display: none;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 36px);
        letter-spacing: -1.5px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hero-live-tag {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn-hero-main,
    .btn-hero-alt {
        flex: 1;
        justify-content: center;
        font-size: 13px;
        padding: 12px 16px;
    }

    .hero-stats {
        display: none;
    }
}

/* Stats chips mobile */
.stats-chips-row {
    display: none;
}

@media(max-width:900px) {
    .stats-chips-row {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin: 14px 16px 0;
    }

    .stat-chip {
        background: var(--card2);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 5px 12px;
        font-size: 11px;
        color: var(--muted);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .stat-chip strong {
        color: #fff;
    }
}

/* Producto del día — solo mobile */
.product-of-day {
    display: none;
}

@media(max-width:900px) {
    .product-of-day {
        display: block;
        margin: 20px 16px 0;
    }

    .pod-card {
        background: linear-gradient(135deg, #0d2215 0%, #1a3d20 50%, #0d2215 100%);
        border: 1px solid var(--border2);
        border-radius: 22px;
        overflow: hidden;
        position: relative;
    }

    .pod-header {
        padding: 14px 16px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pod-label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 10px;
        font-weight: 700;
        color: var(--green);
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    .pod-label-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--green);
        animation: blink 2s infinite;
    }

    .pod-discount {
        background: var(--orange);
        font-size: 11px;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 20px;
    }

    .pod-body {
        padding: 14px 16px;
        display: flex;
        gap: 14px;
        align-items: center;
    }

    .pod-img {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
        background: #0a1a0d;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border: 1px solid var(--border);
    }

    .pod-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

    .pod-info {
        flex: 1;
        min-width: 0;
    }

    .pod-category {
        font-size: 10px;
        color: var(--dim);
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .pod-name {
        font-size: 15px;
        color: #ffffff;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .pod-desc {
        font-size: 11px;
        color: #4a8a60;
        line-height: 1.5;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pod-prices {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 12px;
    }

    .pod-price-old {
        font-size: 12px;
        color: var(--dim);
        text-decoration: line-through;
    }

    .pod-price-new {
        font-size: 22px;
        font-weight: 900;
        color: var(--orange);
        line-height: 1;
    }

    .pod-btn {
        width: 100%;
        background: var(--green);
        color: #000;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 700;
        padding: 11px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all .2s;
    }

    .pod-btn:hover {
        background: var(--green2);
    }
}

/* ════════════════════════════════════════════════════════════════
   SECCIONES PRODUCTOS — NUEVO DISEÑO GRID MAGAZINE
   ════════════════════════════════════════════════════════════════ */

.ps-section {
    padding: 5rem 0;
    position: relative;
}

.ps-vendidos {
    background: #060f08;
}

.ps-ofertas {
    background: #050d07;
}

/* ── Header ── */
.ps-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 3rem 2.5rem;
    gap: 1rem;
}

.ps-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ps-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
}

.ps-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    animation: psDotBlink 1.8s ease-in-out infinite;
}

.ps-tag-orange {
    color: var(--orange);
}

.ps-tag-dot-orange {
    background: var(--orange);
}

@keyframes psDotBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.6);
    }
}

.ps-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: #000000;
    margin: 0;
}


.ps-title span {
    color: var(--green);
}

.ps-title-orange span {
    color: var(--orange);
}

.ps-count {
    font-size: 0.78rem;
    color: var(--dim);
    font-weight: 500;
    padding-bottom: 0.15rem;
    align-self: flex-end;
}

/* Línea decorativa */
.ps-divider {
    height: 1px;
    margin: 0 3rem 2.5rem;
}

.ps-divider-green {
    background: linear-gradient(90deg, rgba(46, 204, 113, .35), transparent);
}

.ps-divider-orange {
    background: linear-gradient(90deg, rgba(255, 107, 0, .35), transparent);
}

/* ── Grid ── */
.ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2px;
    padding: 0 3rem;
}

/* ── Tarjeta ── */
.ps-card {
    position: relative;
    background: #0c1810;
    cursor: pointer;
    transition: background .3s ease;
    animation: psFadeIn 0.55s ease both;
}

.ps-card:hover {
    background: #111f15;
    z-index: 2;
}

.ps-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(46, 204, 113, .06);
    pointer-events: none;
    transition: border-color .3s ease;
}

.ps-card:hover::after {
    border-color: rgba(255, 107, 0, .22);
}

/* ── Imagen ── */
.ps-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background: #081209;
}

.ps-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}

.ps-card:hover .ps-card-img img {
    transform: scale(1.06);
}

/* Badges */
.ps-badge-off {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: var(--orange);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 9px;
    border-radius: 3px;
}

.ps-badge-hot {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: var(--green);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 9px;
    border-radius: 3px;
}

/* Overlay hover */
.ps-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 7, .86);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 10;
}

.ps-card:hover .ps-card-overlay {
    opacity: 1;
}

.ps-overlay-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.ps-overlay-btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
    transform: translateY(-1px);
}

.ps-overlay-wsp {
    background: #25D366;
    border-color: #25D366;
    color: #000;
    font-weight: 700;
}

.ps-overlay-wsp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
}

/* ── Info ── */
.ps-card-body {
    padding: 1rem 1.15rem 1.2rem;
    border-top: 1px solid rgba(46, 204, 113, .06);
}

.ps-card-cat {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.3rem;
}

.ps-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 0.28rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-card-desc {
    font-size: 0.73rem;
    color: #4a8a60;
    line-height: 1.5;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ps-card-garantia {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    color: var(--green);
    background: rgba(46, 204, 113, .08);
    padding: 3px 7px;
    border-radius: 2px;
    margin-bottom: 0.65rem;
}

.ps-card-garantia i {
    font-size: 10px;
}

.ps-card-prices {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.ps-price-new {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -0.5px;
    line-height: 1;
}

.ps-price-old {
    font-size: 0.72rem;
    color: var(--dim);
    text-decoration: line-through;
}

/* ── Tarjeta destacada (index 0) ── */
.ps-featured {
    grid-row: span 2;
}

.ps-featured .ps-card-img {
    aspect-ratio: 3/4;
}

.ps-featured .ps-card-name {
    font-size: 1.05rem;
    white-space: normal;
}

.ps-featured .ps-price-new {
    font-size: 1.55rem;
}

/* ── Tarjeta wide (index 1) ── */
.ps-wide {
    grid-column: span 2;
}

.ps-wide .ps-card-img {
    aspect-ratio: 2/1;
}

/* ── Botones mobile (siempre visibles) ── */
.ps-mobile-actions {
    display: none;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.ps-mob-btn {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(46, 204, 113, .22);
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.48rem 0.2rem;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all .2s ease;
}

.ps-mob-wsp {
    background: #25D366;
    border-color: #25D366;
    color: #000;
    font-weight: 700;
}

/* ── Empty ── */
.ps-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--dim);
    font-size: 0.9rem;
}

/* ── Animación entrada ── */
@keyframes psFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .ps-featured {
        grid-row: span 1;
    }

    .ps-featured .ps-card-img {
        aspect-ratio: 1/1;
    }

    .ps-wide {
        grid-column: span 1;
    }

    .ps-wide .ps-card-img {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 900px) {
    .ps-section {
        padding: 3rem 0;
    }

    .ps-header {
        padding: 0 1rem 1.75rem;
    }

    .ps-divider {
        margin: 0 1rem 1.75rem;
    }

    .ps-grid {
        padding: 0 1rem;        
        gap: 1px;
    }

    .ps-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .ps-card-overlay {
        display: none;
    }

    .ps-mobile-actions {
        display: flex;
    }

    .ps-card-body {
        padding: 0.8rem 0.9rem 0.95rem;
    }

    .ps-card-name {
        font-size: 0.82rem;
    }

    .ps-price-new {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .ps-card-desc {
        display: none;
    }

    .ps-price-new {
        font-size: 0.98rem;
    }

    .ps-card-name {
        font-size: 0.78rem;
    }
}

/* ── MODO LIGHT ── */
[data-theme="light"] .ps-vendidos,
[data-theme="light"] .ps-ofertas {
    background: #f4f4ef;
}

[data-theme="light"] .ps-card {
    background: #fff;
}

[data-theme="light"] .ps-card:hover {
    background: #fafafa;
}

[data-theme="light"] .ps-card-img {
    background: #f0f4f0;
}

[data-theme="light"] .ps-title {
    color: #1a1a1a;
}

[data-theme="light"] .ps-card-name {
    color: #1a1a1a;
}

[data-theme="light"] .ps-card-cat {
    color: #aaa;
}

[data-theme="light"] .ps-card-desc {
    color: #777;
}

[data-theme="light"] .ps-count {
    color: #aaa;
}

[data-theme="light"] .ps-card::after {
    border-color: rgba(0, 0, 0, .06);
}

[data-theme="light"] .ps-card:hover::after {
    border-color: rgba(255, 107, 0, .28);
}

[data-theme="light"] .ps-card-body {
    border-top-color: rgba(0, 0, 0, .06);
}

[data-theme="light"] .ps-card-overlay {
    background: rgba(255, 255, 255, .92);
}

[data-theme="light"] .ps-overlay-btn {
    color: #111;
    border-color: rgba(0, 0, 0, .2);
}

[data-theme="light"] .ps-overlay-btn:hover {
    background: rgba(0, 0, 0, .06);
}

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--green-dim);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green2);
}

/* ── BOTTOM NAV MOBILE ─────────────────────────────────────────── */
.bottom-nav-mobile {
    display: none;
}

@media(max-width:900px) {
    .bottom-nav-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(5, 13, 7, .97);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        padding: 10px 0 env(safe-area-inset-bottom, 14px);
        z-index: 1020;
        justify-content: space-around;
    }

    .bnav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 9px;
        font-weight: 600;
        color: var(--dim);
        text-decoration: none;
        padding: 0 8px;
        cursor: pointer;
        transition: color .2s;
    }

    .bnav-item.active {
        color: var(--green);
    }

    .bnav-icon {
        font-size: 20px;
        line-height: 1;
    }

    body {
        padding-bottom: 70px;
    }
}

@media(min-width:901px) {
    body {
        padding-bottom: 0;
    }
}