/* =========================================
   DESIGN SYSTEM — Lumina Professional
   Font: Plus Jakarta Sans
   Primary: #f5c842
========================================= */
:root {
    --primary:          #f5c842;
    --primary-dark:     #d97706;
    --primary-light:    rgba(245,200,66,0.14);
    --primary-xlight:   rgba(245,200,66,0.08);
    --primary-glow:     rgba(245,200,66,0.28);

    --bg:               #090d16;
    --surface:          #111625;
    --surface-low:      #0e1320;
    --surface-med:      #182033;
    --surface-high:     #24304c;
    --surface-glass:    rgba(17, 22, 37, 0.85);

    --on-surface:       #f8fafc;
    --on-surface-2:     #cbd5e1;
    --on-surface-3:     #94a3b8;

    --outline:          #1e273d;
    --outline-strong:   #2a3754;

    --green:            #16a34a;
    --green-bg:         rgba(22,163,74,0.12);
    --red:              #ef4444;
    --red-bg:           rgba(239,68,68,0.12);
    --orange:           #f97316;
    --orange-bg:        rgba(249,115,22,0.12);

    --ultra-bg:         rgba(124,58,237,0.12);
    --ultra-border:     rgba(124, 58, 237, 0.30);
    --ultra-color:      #a78bfa;

    --notch-bg:         rgba(10, 13, 22, 0.82);
    --notch-border:     rgba(245, 200, 66, 0.25);

    --font:             'Plus Jakarta Sans', -apple-system, sans-serif;
    --header-h:         64px;

    --r-sm:  4px;
    --r-md:  8px;
    --r-lg:  12px;
    --r-xl:  16px;
    --r-2xl: 20px;
    --r-full: 9999px;

    --shadow-sm:  0 1px 2px rgba(0,0,0,0.2);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-lg:  0 10px 25px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
    --shadow-xl:  0 20px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 24px var(--primary-glow);
}

html.dark {
    --bg:               #0b0f19;
    --surface:          #111827;
    --surface-low:      #1f2937;
    --surface-med:      #374151;
    --surface-high:     #4b5563;

    --on-surface:       #f3f4f6;
    --on-surface-2:     #d1d5db;
    --on-surface-3:     #9ca3af;

    --outline:          #374151;
    --outline-strong:   #4b5563;

    --notch-bg:         rgba(15, 23, 42, 0.65);
    --notch-border:     rgba(255, 255, 255, 0.15);

    --primary-light:    #1e293b;
    --primary-xlight:   #1e1b4b;

    --ultra-bg:         #1e1b4b;
    --ultra-border:     rgba(124, 58, 237, 0.4);
    --ultra-color:      #a78bfa;

    --red-bg:           color-mix(in srgb, var(--red) 12%, transparent) !important;
    --green-bg:         color-mix(in srgb, var(--green) 12%, transparent) !important;
    --orange-bg:        color-mix(in srgb, var(--orange) 12%, transparent) !important;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--on-surface);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 14px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Loader ---- */
#site-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#site-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 64px; height: 64px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); animation: popIn .5s ease; }
.loader-logo img { width: 100%; height: 100%; object-fit: cover; }
.loader-name { font-size: 24px; font-weight: 800; color: var(--on-surface); letter-spacing: -0.02em; }
.loader-name span { color: var(--primary); }
.loader-bar-track { width: 160px; height: 2px; background: var(--outline); border-radius: var(--r-full); overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0; background: var(--primary); border-radius: var(--r-full); animation: fillBar 1.5s ease forwards; }
@keyframes popIn { from { opacity:0; transform:scale(.8); } to { opacity:1; transform:scale(1); } }
@keyframes fillBar { to { width: 100%; } }

/* ---- PWA Bar ---- */
#pwa-install-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; background: var(--primary); display: none; }
.pwa-bar-inner { max-width: 1280px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 12px; }
#pwa-bar-dismiss { background: none; border: none; color: rgba(255,255,255,.7); font-size: 16px; padding: 4px 8px; flex-shrink: 0; }
.pwa-bar-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.pwa-bar-text { flex: 1; font-size: 13px; color: rgba(255,255,255,.9); }
.pwa-bar-text strong { color: white; }
#pwa-bar-install-btn { background: white; color: var(--primary); border: none; border-radius: var(--r-md); padding: 6px 14px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
body.pwa-bar-visible { padding-top: 44px; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    padding: 6px 0;
    font-size: 12px;
    color: var(--on-surface-3);
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar-marquee { flex: 1; overflow: hidden; }
.top-bar-links { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.top-bar-links a { display: flex; align-items: center; gap: 5px; color: var(--on-surface-2); font-weight: 500; font-size: 12px; transition: color .15s; }
.top-bar-links a:hover { color: var(--primary); }
.top-bar-sep { color: var(--outline); }

/* ---- Header ---- */
.site-header {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--outline);
    position: sticky; top: 0; z-index: 200;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.header-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo { width: 38px; height: 38px; border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid rgba(245,200,66,0.3); box-shadow: 0 0 12px rgba(245,200,66,0.15); }
.header-logo img { width: 100%; height: 100%; object-fit: cover; }
.header-brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--on-surface); }
.header-brand-name span { color: var(--primary); }

/* Search */
.search-wrap { flex: 1; max-width: 440px; position: relative; }
.search-wrap form { display: flex; }
.search-input {
    flex: 1; background: var(--surface-low);
    border: 1px solid var(--outline); border-right: none;
    border-radius: var(--r-md) 0 0 var(--r-md);
    color: var(--on-surface); font-family: var(--font); font-size: 13px;
    padding: 10px 15px; outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
    min-width: 0;
}
.search-input::placeholder { color: var(--on-surface-3); }
.search-input:focus { border-color: var(--primary); background: #0f1523; box-shadow: 0 0 0 3px rgba(245,200,66,.15); }
.search-btn {
    background: linear-gradient(135deg, #f5c842, #d97706); border: 1px solid #d97706;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 10px 18px; color: #0a0d16; font-size: 13px;
    font-weight: 800; display: flex; align-items: center; gap: 6px;
    transition: all .2s;
    position: relative; overflow: hidden;
}
.search-btn:hover { background: #d97706; color: #ffffff; box-shadow: 0 0 16px rgba(245,200,66,0.4); }
.search-suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--surface); border: 1px solid var(--outline);
    border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
    z-index: 300; overflow: hidden; display: none;
    max-height: 340px; overflow-y: auto;
}
.search-suggest.show { display: block; }
.suggest-section { padding: 6px 0; }
.suggest-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-3); padding: 6px 14px; display: block; }
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13px; color: var(--on-surface); cursor: pointer; transition: background .12s; }
.suggest-item:hover { background: var(--surface-low); }
.suggest-item i { font-size: 11px; color: var(--primary); width: 14px; text-align: center; }
.suggest-sep { border: none; border-top: 1px solid var(--outline); margin: 0; }
.suggest-empty { padding: 20px 14px; font-size: 13px; color: var(--on-surface-3); text-align: center; }

/* Nav */
.header-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-nav a {
    display: flex; align-items: center; gap: 6px; padding: 8px 14px;
    border-radius: var(--r-md); font-size: 13px; font-weight: 600;
    color: var(--on-surface-2); transition: all .18s; white-space: nowrap;
}
.header-nav a i { font-size: 11px; }
.header-nav a:hover { background: var(--surface-low); color: var(--on-surface); }
.header-nav a.active { color: #0a0d16; background: linear-gradient(135deg, #f5c842, #d97706); font-weight: 800; box-shadow: 0 2px 10px rgba(245,200,66,0.3); }
.header-nav a.btn-cek {
    background: linear-gradient(135deg, #f5c842, #d97706);
    color: #0a0d16; font-weight: 800; padding: 8px 18px;
    border-radius: var(--r-md);
    box-shadow: 0 2px 12px rgba(245,200,66,0.25);
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-nav a.btn-cek:hover {
    background: #d97706; color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245,200,66,0.4);
}
.header-nav a.btn-user { background: var(--surface-low); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 7px 14px; gap: 7px; font-weight: 600; }
.header-nav a.btn-user:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-xlight); }
.header-nav a.btn-user .user-avatar { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0a0d16; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.header-nav a.btn-login { border: 1px solid var(--outline); border-radius: var(--r-md); padding: 7px 15px; font-weight: 600; }
.header-nav a.btn-login:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-xlight); }
.header-nav .role-tag { font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; }
.header-nav .role-tag.reseller { background: #fffbeb; color: #d97706; border: 1px solid rgba(217,119,6,.2); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 4px; background: var(--surface-low); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 0; width: 38px; height: 38px; align-items: center; justify-content: center; transition: background .12s; }
.hamburger:hover { background: var(--surface-med); }
.hamburger span { display: block; width: 16px; height: 2px; background: var(--on-surface-2); border-radius: 2px; }

/* Side menu */
.side-overlay { position: fixed; inset: 0; background: rgba(25,28,30,.45); z-index: 299; display: none; }
.side-overlay.active { display: block; }
.side-menu { position: fixed; top: 0; right: -300px; width: 276px; height: 100%; background: var(--surface); box-shadow: -8px 0 32px rgba(0,0,0,.1); z-index: 300; transition: right .28s ease; overflow-y: auto; padding-bottom: 20px; }
.side-menu.active { right: 0; }
.side-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--outline); }
.side-menu-brand { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.side-menu-brand span { color: var(--primary); }
.side-menu-close { width: 30px; height: 30px; background: var(--surface-low); border: 1px solid var(--outline); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--on-surface-2); font-size: 13px; transition: background .15s; }
.side-menu-close:hover { background: var(--red-bg); color: var(--red); }
.side-menu ul { list-style: none; padding: 10px; }
.side-menu ul li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; color: var(--on-surface-2); transition: background .12s, color .12s; margin-bottom: 2px; }
.side-menu ul li a i { width: 15px; text-align: center; color: var(--primary); font-size: 12px; }
.side-menu ul li a:hover { background: var(--surface-low); color: var(--on-surface); }

/* ---- Category Bar ---- */
.cat-bar-wrap {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--outline);
    position: sticky; top: var(--header-h); z-index: 100;
}
.cat-bar-outer { display: flex; align-items: center; position: relative; }
.cat-scroll-btn { width: 32px; height: 32px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; color: var(--on-surface-2); font-size: 11px; transition: all .2s; z-index: 2; opacity: 0; pointer-events: none; margin: 10px 4px; box-shadow: var(--shadow-sm); }
.cat-scroll-btn.visible { opacity: 1; pointer-events: auto; }
.cat-scroll-btn:hover { background: var(--primary); color: #0a0d16; border-color: var(--primary); transform: scale(1.08); }
.cat-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 10px 4px; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-btn {
    display: flex; align-items: center; gap: 7px; padding: 7px 16px;
    border-radius: var(--r-full); font-size: 13px; font-weight: 600; white-space: nowrap;
    border: 1px solid var(--outline); color: var(--on-surface-2); background: var(--surface-low);
    flex-shrink: 0; transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-xlight); transform: translateY(-1px); }
.cat-btn.active {
    background: linear-gradient(135deg, #f5c842, #d97706);
    color: #0a0d16; border-color: #d97706; font-weight: 800;
    box-shadow: 0 4px 16px rgba(245,200,66,0.35);
    transform: translateY(-1px);
}
.cat-btn i { font-size: 11px; }
.cat-count { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-full); background: rgba(0,0,0,.08); }
.cat-btn.active .cat-count { background: rgba(0,0,0,.22); color: #0a0d16; }

/* Mobile search bar */
.search-wrap-mobile {
    display: none; padding: 10px 0;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--outline);
    position: relative;
}
.search-wrap-mobile form { display: flex; }
.search-suggest-mobile { position: absolute; top: 100%; left: 24px; right: 24px; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); box-shadow: var(--shadow-xl); z-index: 300; overflow: hidden; display: none; max-height: 280px; overflow-y: auto; margin-top: 4px; }
.search-suggest-mobile.show { display: block; }

/* ---- Page Body ---- */
.page-body { padding: 28px 0 80px; }

/* ---- Hero Banner ---- */
.banner-section { max-width: 960px; margin: 0 auto 32px auto; }
.banner-swiper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px -8px rgba(0,0,0,0.5), 0 0 25px -4px rgba(245,200,66,0.12);
    border: 1px solid rgba(245,200,66,0.22);
    transition: all 0.3s ease;
}
.banner-swiper:hover {
    box-shadow: 0 16px 40px -8px rgba(0,0,0,0.6), 0 0 35px 0 rgba(245,200,66,0.22);
    border-color: rgba(245,200,66,0.45);
}
.banner-swiper img { width: 100%; height: auto; display: block; border-radius: 20px; }
.swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: rgba(255,255,255,.45) !important;
    opacity: 1 !important;
    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.swiper-pagination-bullet-active {
    width: 26px !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #f5c842, #d97706) !important;
    box-shadow: 0 0 10px rgba(245,200,66,0.6);
}

/* ---- Section ---- */
.section-block { margin-bottom: 44px; }
.section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--on-surface); display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.section-title .ttl-accent { color: var(--primary); }
.section-title-bar { width: 4px; height: 22px; background: linear-gradient(to bottom, #f5c842, #d97706); border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 8px rgba(245,200,66,0.4); }
.section-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(249,115,22,0.12); color: var(--orange); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); border: 1px solid rgba(249,115,22,0.25); }
.section-link { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; transition: gap .15s; }
.section-link:hover { gap: 8px; }

/* ---- Product Cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.product-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .35s ease;
    opacity: 0;
    transform: translateY(12px);
    padding: 10px;
    position: relative;
}
.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1), transform .5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .35s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px -2px rgba(245, 200, 66, 0.22);
    border-color: var(--primary);
}
.card-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 16px; /* High border-radius for image container */
    background: #1e293b;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .card-img-wrap img {
    transform: scale(1.08);
}
.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.brand-badge-name {
    position: absolute;
    bottom: 8px;
    left: 52px;
    height: 36px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -0.01em;
}
.card-notch {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    background: var(--notch-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--notch-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.notch-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.card-notch-curve-top, .card-notch-curve-right {
    display: none;
}
.card-discount {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    z-index: 2;
}
.card-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}
.card-body {
    padding: 12px 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.status-badge-wrap {
    display: flex;
    margin-bottom: 2px;
}
.badge, .stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
    margin-top: 0;
}
.badge-success, .stock-badge.in {
    background: #f5c842 !important; /* Vibrant blue badge */
}
.badge-warning, .stock-badge.low {
    background: #eab308 !important; /* Yellow-orange badge */
}
.badge-error, .stock-badge.out {
    background: #ef4444 !important; /* Red badge */
}
.card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8; /* Slate gray */
    background: transparent;
    padding: 0;
    margin: 2px 0 0;
    text-transform: capitalize;
    letter-spacing: normal;
}
.card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.4;
    margin: 2px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: unset;
}
.card-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.price-now-prefix, .price-plain-prefix {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}
.price-now, .price-plain {
    font-size: 15px;
    font-weight: 800;
    color: #f5c842; /* Premium blue price */
    letter-spacing: -0.01em;
}
.price-old {
    font-size: 11px;
    color: #64748b;
    text-decoration: line-through;
}
.reseller-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    background: rgba(217, 119, 6, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(217, 119, 6, 0.25);
}
.card-sold {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}
.card-sold i {
    color: #f97316;
}

/* ---- Show More / Load More Products ---- */
.load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 24px;
    width: 100%;
}
.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(245, 200, 66, 0.08);
    color: var(--primary, #f5c842);
    border: 1.5px solid rgba(245, 200, 66, 0.4);
    padding: 13px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}
.btn-load-more:hover {
    background: var(--primary, #f5c842);
    color: #080a10;
    border-color: var(--primary, #f5c842);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 200, 66, 0.35);
}
.btn-load-more:active {
    transform: translateY(-1px);
}
.btn-load-more i {
    transition: transform 0.2s ease;
}
.btn-load-more:hover i {
    transform: translateY(3px);
}
.product-card-collapsed {
    display: none !important;
}
.product-card-reveal {
    animation: fadeInUpCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Komunitas / Grup ---- */
.grup-section { background: linear-gradient(135deg, #0f172a 0%, #1e1b10 50%, #2a220d 100%); padding: 24px 0; border-radius: var(--r-xl); margin-bottom: 32px; overflow: hidden; position: relative; }
.grup-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.grup-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.grup-title i { color: #f5c842; }
.grup-swiper { overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); padding: 4px 0 12px; }
.grup-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.grup-card { display: flex; align-items: center; gap: 14px; width: auto; max-width: 280px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: 12px 16px; color: white; transition: all .25s; backdrop-filter: blur(8px); }
.grup-card:hover { background: rgba(255,255,255,.14); border-color: rgba(245,200,66,.4); transform: translateY(-2px); }
.grup-card-img { width: 48px; height: 48px; border-radius: var(--r-lg); overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,.15); }
.grup-card-img img { width: 100%; height: 100%; object-fit: cover; }
.grup-card-info h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.grup-card-info span { font-size: 11px; color: rgba(255,255,255,.5); }

/* ---- Why cards ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-xl); padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.why-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.why-card-border-left { border-left: 3px solid var(--primary); }
.why-icon { width: 44px; height: 44px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.why-icon.blue { background: var(--primary-xlight); color: var(--primary); }
.why-icon.indigo { background: #fffbeb; color: #f59e0b; }
.why-icon.slate { background: #fef3c7; color: #b45309; }
.why-info h4 { font-size: 15px; font-weight: 700; color: var(--on-surface); margin-bottom: 5px; }
.why-info p { font-size: 13px; color: var(--on-surface-2); line-height: 1.6; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-xl); padding: 24px 16px; text-align: center; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.step-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; }
.step-icon { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--primary-xlight); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 12px; }
.step-card h4 { font-size: 14px; font-weight: 700; color: var(--on-surface); margin-bottom: 6px; }
.step-card p { font-size: 12.5px; color: var(--on-surface-2); line-height: 1.6; }

/* ---- Testimonial ---- */
.testi-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-xl); padding: 22px; height: 100%; transition: border-color .15s, box-shadow .15s; }
.testi-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.testi-stars { color: #f59e0b; margin-bottom: 10px; font-size: 13px; display: flex; gap: 2px; }
.testi-text { font-size: 13.5px; color: var(--on-surface-2); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.testi-author { font-size: 13px; font-weight: 600; color: var(--on-surface); }

/* ---- Special panels (Attic / Necro / Ultra) ---- */
.special-panel { display: none; }
.special-panel.active { display: block; animation: fadeUp .25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-header { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-xl); margin-bottom: 20px; border: 1px solid var(--outline); }
.panel-header.attic { background: var(--primary-xlight); border-color: rgba(245,200,66,.25); }
.panel-header.necro { background: var(--red-bg); border-color: rgba(186,26,26,.25); }
.panel-header.ultra { background: var(--ultra-bg); border-color: var(--ultra-border); }
.panel-logo { width: 50px; height: 50px; border-radius: var(--r-lg); overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.panel-logo img { width: 100%; height: 100%; object-fit: cover; }
.panel-info h3 { font-size: 17px; font-weight: 700; color: var(--on-surface); margin-bottom: 2px; }
.panel-info p { font-size: 12.5px; color: var(--on-surface-2); }
.panel-steps { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.ps { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 12.5px; font-weight: 500; color: var(--on-surface-3); transition: all .2s; }
.ps.active.attic-clr { color: var(--primary); background: var(--primary-xlight); font-weight: 600; }
.ps.active.necro-clr { color: var(--red); background: var(--red-bg); font-weight: 600; }
.ps.active.ultra-clr { color: var(--ultra-color); background: var(--ultra-bg); font-weight: 600; }
.ps.done { color: var(--green); }
.ps-num { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.ps.active.attic-clr .ps-num { background: var(--primary); border-color: var(--primary); color: white; }
.ps.active.necro-clr .ps-num { background: var(--red); border-color: var(--red); color: white; }
.ps.active.ultra-clr .ps-num { background: var(--ultra-color); border-color: var(--ultra-color); color: white; }
.ps.done .ps-num { background: var(--green); border-color: var(--green); color: white; }
.ps-sep { width: 1px; height: 32px; background: var(--outline); flex-shrink: 0; }
.panel-lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-3); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.panel-lbl i { color: var(--primary); }
.panel-lbl.necro { color: var(--red); }
.panel-lbl.ultra { color: var(--ultra-color); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.game-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 18px 12px; text-align: center; cursor: pointer; transition: all .15s; }
.game-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.game-card.selected.attic-sel { border-color: var(--primary); background: var(--primary-xlight); }
.game-card.selected.necro-sel { border-color: var(--red); background: var(--red-bg); }
.game-card.selected.ultra-sel { border-color: var(--ultra-color); background: var(--ultra-bg); }
.game-icon { width: 44px; height: 44px; border-radius: var(--r-lg); margin: 0 auto 10px; background: var(--primary-xlight); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; overflow: hidden; }
.game-icon.necro-icon { background: var(--red-bg); color: var(--red); }
.game-icon.ultra-icon { background: var(--ultra-bg); color: var(--ultra-color); }
.game-name { font-size: 12.5px; font-weight: 600; color: var(--on-surface); line-height: 1.3; }
.game-code { font-size: 10px; color: var(--on-surface-3); margin-top: 2px; }
.game-status { display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: var(--r-full); font-size: 9.5px; font-weight: 600; }
.game-status.safe { background: var(--green-bg); color: var(--green); }
.game-status.unsafe { background: var(--red-bg); color: var(--red); }
.game-check { display: none; width: 18px; height: 18px; border-radius: 50%; color: white; font-size: 8px; align-items: center; justify-content: center; margin: 6px auto 0; }
.game-card.selected.attic-sel .game-check { display: flex; background: var(--primary); }
.game-card.selected.necro-sel .game-check { display: flex; background: var(--red); }
.game-card.selected.ultra-sel .game-check { display: flex; background: #7c3aed; }
.durasi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
.durasi-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 18px 16px; cursor: pointer; transition: all .15s; display: block; position: relative; }
.durasi-card.attic-dur:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.durasi-card.necro-dur:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.durasi-card.ultra-dur:hover { border-color: #7c3aed; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.durasi-card.vynix-dur:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dur-days { font-size: 24px; font-weight: 800; color: var(--on-surface); line-height: 1; letter-spacing: -0.02em; }
.dur-days span { font-size: 12px; font-weight: 500; color: var(--on-surface-2); }
.dur-price { font-size: 14px; font-weight: 700; color: var(--green); margin: 6px 0 2px; }
.dur-note { font-size: 10.5px; color: var(--on-surface-3); }
.dur-arrow { position: absolute; bottom: 10px; right: 12px; font-size: 11px; color: var(--primary); opacity: 0; transition: opacity .15s, transform .15s; }
.durasi-card.necro-dur .dur-arrow { color: var(--red); }
.durasi-card.ultra-dur .dur-arrow { color: #7c3aed; }
.durasi-card.vynix-dur .dur-arrow { color: var(--primary); }
.panel-header.vynix { background: var(--primary-xlight); border-color: rgba(245,200,66,0.25); }
.ps.active.vynix-clr { color: var(--primary); background: var(--primary-xlight); font-weight: 600; }
.ps.active.vynix-clr .ps-num { background: var(--primary); border-color: var(--primary); color: white; }
.panel-lbl.vynix { color: var(--primary); }
.game-card.selected.vynix-sel { border-color: var(--primary); background: var(--primary-xlight); }
.game-card.selected.vynix-sel .game-check { display: flex; background: var(--primary); }
.durasi-card:hover .dur-arrow { opacity: 1; transform: translateX(3px); }
.panel-loading { display: flex; gap: 6px; justify-content: center; padding: 30px; }
.panel-loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: dotBounce 1s ease-in-out infinite; }
.panel-loading span:nth-child(2) { animation-delay: .12s; }
.panel-loading span:nth-child(3) { animation-delay: .24s; }
@keyframes dotBounce { 0%, 100% { transform: scaleY(1); opacity: .4; } 45% { transform: scaleY(1.6); opacity: 1; } }
.panel-empty { text-align: center; padding: 36px; color: var(--on-surface-3); background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-lg); }
.panel-empty i { font-size: 24px; opacity: .3; display: block; margin-bottom: 10px; }
.panel-empty p { font-size: 13px; }

/* ---- Footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--outline); }
.footer-main { padding: 48px 0 36px; border-bottom: 1px solid var(--outline); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer-logo { width: 40px; height: 40px; border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--outline); }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-name { font-size: 16px; font-weight: 800; color: var(--on-surface); margin-bottom: 8px; letter-spacing: -0.01em; }
.footer-brand-name span { color: var(--primary); }
.footer-desc { font-size: 13px; color: var(--on-surface-2); line-height: 1.65; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--r-md); font-size: 12.5px; font-weight: 600; color: white; transition: opacity .15s, transform .15s; }
.social-btn.tg { background: #0088cc; }
.social-btn.wa { background: #25D366; }
.social-btn:hover { transform: translateY(-1px); opacity: .9; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-3); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13.5px; color: var(--on-surface-2); font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: var(--primary); }
.footer-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.footer-img-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--outline); background: white; transition: transform .15s; }
.footer-img-grid img:hover { transform: scale(1.04); }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12.5px; color: var(--on-surface-3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12.5px; color: var(--on-surface-3); transition: color .15s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ---- FAB & Help popup ---- */
.help-fab { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 50px; height: 50px; background: linear-gradient(135deg, #f5c842, #d97706); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0a0d16; font-size: 20px; cursor: pointer; box-shadow: 0 4px 20px rgba(245,200,66,0.4); transition: transform .15s, background .15s; }
.help-fab:hover { transform: scale(1.08); background: #d97706; color: white; }
.help-popup { position: fixed; bottom: 86px; right: 24px; z-index: 998; background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-xl); padding: 20px; min-width: 252px; box-shadow: var(--shadow-xl); transform: translateY(8px) scale(.96); opacity: 0; visibility: hidden; transition: all .2s ease; }
.help-popup.show { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.help-popup-close { position: absolute; top: 10px; right: 14px; font-size: 18px; color: var(--on-surface-3); cursor: pointer; }
.help-popup h4 { font-size: 14px; font-weight: 700; color: var(--on-surface); margin-bottom: 3px; }
.help-popup p { font-size: 12.5px; color: var(--on-surface-2); margin-bottom: 14px; }
.help-popup-btns { display: flex; flex-direction: column; gap: 6px; }
.help-popup-btns a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: white; transition: opacity .15s, transform .15s; }
.help-popup-btns a:hover { transform: translateY(-1px); opacity: .92; }
.help-popup-btns a.tg { background: #0088cc; }
.help-popup-btns a.wa { background: #25D366; }

/* ---- Purchase notif ---- */
.purch-notif { position: fixed; bottom: 20px; left: 20px; max-width: 295px; background: var(--surface); border: 1px solid var(--outline); border-left: 3px solid var(--primary); padding: 12px 14px; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 10px; transform: translateX(-130%); transition: transform .35s cubic-bezier(.4,0,.2,1); z-index: 490; }
.purch-notif.show { transform: translateX(0); }
.purch-notif-img { width: 40px; height: 40px; border-radius: var(--r-lg); object-fit: cover; border: 1px solid var(--outline); flex-shrink: 0; }
.purch-notif-body { flex: 1; min-width: 0; }
.purch-notif-text { font-size: 12.5px; color: var(--on-surface); line-height: 1.4; }
.purch-notif-time { font-size: 10.5px; color: var(--on-surface-3); margin-top: 2px; }
.purch-notif-close { font-size: 18px; color: var(--on-surface-3); cursor: pointer; flex-shrink: 0; }

/* ---- Info popup ---- */
.popup-overlay { position: fixed; inset: 0; background: rgba(25,28,30,.5); z-index: 500; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s; }
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup-box { background: var(--surface); border-radius: var(--r-2xl); width: 90%; max-width: 400px; overflow: hidden; box-shadow: var(--shadow-xl); transform: scale(.94); transition: transform .25s; }
.popup-overlay.show .popup-box { transform: scale(1); }
.popup-head { background: var(--primary); color: white; padding: 12px 20px; font-size: 13px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.popup-body img { width: 100%; display: block; }
.popup-foot { padding: 20px; }
.popup-marquee { font-size: 13px; color: var(--on-surface); margin-bottom: 12px; display: block; font-weight: 500; }
.popup-join { display: block; width: 100%; padding: 12px; background: var(--primary); color: white; border-radius: var(--r-lg); text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 12px; transition: background .15s; }
.popup-join:hover { background: var(--primary-dark); }
.popup-controls { display: flex; align-items: center; justify-content: space-between; }
.popup-hide { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--on-surface-2); cursor: pointer; }
.popup-hide input[type="checkbox"] { appearance: none; width: 15px; height: 15px; border: 2px solid var(--outline-strong); border-radius: var(--r-sm); background: white; cursor: pointer; position: relative; transition: all .15s; }
.popup-hide input:checked { background: var(--primary); border-color: var(--primary); }
.popup-hide input:checked::after { content: ''; position: absolute; top: -1px; left: 3px; width: 5px; height: 8px; border: 2px solid white; border-top: none; border-left: none; transform: rotate(45deg); }
.popup-close-btn { padding: 7px 16px; background: var(--surface-low); border: 1px solid var(--outline); border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: var(--on-surface-2); cursor: pointer; transition: background .15s; }
.popup-close-btn:hover { background: var(--surface-med); color: var(--on-surface); }

/* ---- Empty state ---- */
.empty-state { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: var(--on-surface-3); background: var(--surface); border: 1px dashed var(--outline-strong); border-radius: var(--r-xl); }
.empty-state i { font-size: 30px; opacity: .2; display: block; margin-bottom: 10px; }
.empty-state p { font-size: 14px; }

/* ---- Bottom Nav (Mobile Floating Glass Dock) ---- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 14px;
    right: 14px;
    z-index: 990;
    background: rgba(17, 22, 37, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 6px 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.35);
}
.bottom-nav-inner { display: flex; justify-content: space-around; align-items: center; }
.bottom-nav-btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; padding: 6px 14px; border-radius: 18px;
    color: var(--on-surface-3); font-size: 10px; font-weight: 600;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 52px; position: relative;
}
.bottom-nav-btn:hover { color: var(--on-surface); }
.bottom-nav-btn.active {
    color: #0a0d16;
    background: linear-gradient(135deg, #f5c842, #d97706);
    box-shadow: 0 4px 15px rgba(245, 200, 66, 0.35);
    transform: translateY(-2px);
}
.bottom-nav-btn.active i, .bottom-nav-btn.active .msym { color: #0a0d16; }
.bottom-nav-btn i { font-size: 19px; }
.bottom-nav-btn .msym { font-size: 20px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-nav a span { display: none; }
}
@media (max-width: 768px) {
    .header-nav, .top-bar { display: none; }
    .hamburger { display: flex; }
    .why-grid { grid-template-columns: 1fr; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .help-fab { bottom: 82px; right: 18px; }
    .purch-notif { bottom: 82px; left: 14px; max-width: 265px; }
    .help-popup { right: 14px; min-width: unset; left: 14px; bottom: 140px; }
    .ps span { display: none; }
    .search-wrap { display: none; }
    .search-wrap-mobile { display: block; }
    .cat-scroll-btn { display: none !important; }
    .section-title { font-size: 18px; }
    .page-body { padding: 20px 0 70px; }
    .bottom-nav { display: block; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .product-grid { gap: 8px; }
    .card-body { padding: 10px; }
    .card-name { font-size: 12.5px; }
    .price-now, .price-plain { font-size: 14px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: none;
    border: none;
    padding: 8px;
    color: var(--on-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}
.theme-toggle-btn:hover {
    background: var(--surface-low);
    color: var(--on-surface);
}
.theme-toggle-btn span {
    font-size: 20px;
}

/* Hide moon icon by default in light mode, show sun */
html.light .theme-toggle-btn .theme-icon-moon,
html:not(.dark) .theme-toggle-btn .theme-icon-moon {
    display: none;
}
html.light .theme-toggle-btn .theme-icon-sun,
html:not(.dark) .theme-toggle-btn .theme-icon-sun {
    display: block;
}

/* Hide sun icon by default in dark mode, show moon */
html.dark .theme-toggle-btn .theme-icon-moon {
    display: block;
}
html.dark .theme-toggle-btn .theme-icon-sun {
    display: none;
}

/* Mobile theme toggle placement */
.header-inner .theme-toggle-btn {
    margin-right: 8px;
    margin-left: auto;
}
@media (min-width: 769px) {
    #theme-toggle-mobile {
        display: none;
    }
}
@media (max-width: 768px) {
    .header-nav .theme-toggle-btn {
        display: none;
    }
}
