/* ═══════════════════════════════════════════
   CARIBE ROLEPLAY — LOJA
   Neon-Style Layout · Light Cyan Theme
   ═══════════════════════════════════════════ */

:root {
    --bg-body: #0a0a14;
    --bg-sidebar: #0d0d1a;
    --bg-header: rgba(10, 10, 20, 0.92);
    --bg-card: rgb(16, 16, 32);
    --bg-card-hover: rgb(22, 22, 44);
    --bg-glass: rgba(10, 10, 22, 0.88);
    --bg-input: rgba(255, 255, 255, 0.04);
    --accent: #5ce1e6;
    --accent-dark: #3bbfc4;
    --accent-light: #8cf0f4;
    --accent-glow: rgba(92, 225, 230, 0.15);
    --accent-glow-strong: rgba(92, 225, 230, 0.35);
    --teal: #00d4aa;
    --gold: #f1c40f;
    --red: #ff4757;
    --text-primary: #e8ecf4;
    --text-secondary: #8490a8;
    --text-muted: #3e4862;
    --border: rgba(92, 225, 230, 0.06);
    --border-hover: rgba(92, 225, 230, 0.18);
    --border-active: rgba(92, 225, 230, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --font: 'Inter', -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(92,225,230,0.04);
    --transition: 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
    --sidebar-w: 220px;
    --header-h: 56px;
    --promo-h: 36px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family:var(--font); color:var(--text-primary); overflow-x:hidden; -webkit-font-smoothing:antialiased;
    background: var(--bg-body);
}
body::before {
    content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
    background:
        radial-gradient(600px circle at 15% 25%, rgba(92,225,230,0.07) 0%, transparent 100%),
        radial-gradient(500px circle at 85% 20%, rgba(92,225,230,0.06) 0%, transparent 100%),
        radial-gradient(400px circle at 50% 55%, rgba(92,225,230,0.05) 0%, transparent 100%),
        radial-gradient(550px circle at 80% 75%, rgba(92,225,230,0.06) 0%, transparent 100%),
        radial-gradient(450px circle at 20% 80%, rgba(92,225,230,0.05) 0%, transparent 100%);
}
::selection { background:var(--accent); color:var(--bg-body); }
a { color:inherit; text-decoration:none; }
button { font-family:var(--font); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--text-muted); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--accent-dark); }

/* ── Particles ────────────────────────── */
#particles { position:fixed; inset:0; pointer-events:none; z-index:0; }

/* ═══════════════════════════════════════════
   PROMO BAR
   ═══════════════════════════════════════════ */
.promo-bar {
    position:fixed; top:0; left:0; right:0; z-index:100;
    height:var(--promo-h);
    background: linear-gradient(90deg, #0e7490, var(--accent-dark), #0e7490);
    display:flex; align-items:center; justify-content:center;
    font-size:0.75rem; font-weight:700; letter-spacing:0.5px;
    color:#fff; text-transform:uppercase;
}
.promo-bar.hidden { display:none; }
.promo-highlight {
    display:inline-block; margin:0 6px; padding:2px 10px;
    background:rgba(255,255,255,0.2); border-radius:4px;
    font-weight:800; letter-spacing:1px;
}
.promo-close {
    position:absolute; right:12px; background:none; border:none;
    color:rgba(255,255,255,0.6); cursor:pointer; font-size:0.85rem;
    padding:4px 8px; transition:var(--transition);
}
.promo-close:hover { color:#fff; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
    position:fixed; top:var(--promo-h); left:0; right:0; z-index:90;
    height:var(--header-h);
    background:var(--bg-header);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    display:flex; align-items:center;
    padding:0 20px; gap:16px;
}
.header-left { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.mobile-menu-btn {
    display:none; background:none; border:none; color:var(--text-secondary);
    cursor:pointer; padding:4px; border-radius:var(--radius-xs);
    transition:var(--transition);
}
.mobile-menu-btn:hover { color:var(--accent); }

.header-brand { display:flex; align-items:center; gap:10px; }
.header-logo { width:36px; height:36px; flex-shrink:0; object-fit:contain; }
.header-verified { width:20px; height:20px; flex-shrink:0; object-fit:contain; margin-left:4px; }
.header-name {
    font-family:var(--font-display); font-weight:800; font-size:1rem;
    color:var(--text-primary); white-space:nowrap;
}

.header-center { flex:1; max-width:480px; margin:0 auto; }
.header-search {
    display:flex; align-items:center; gap:8px;
    background:var(--bg-input); border:1px solid var(--border);
    border-radius:var(--radius); padding:0 14px;
    transition:var(--transition);
}
.header-search:focus-within {
    border-color:var(--accent);
    background:rgba(92,225,230,0.04);
    box-shadow:0 0 0 3px rgba(92,225,230,0.06);
}
.header-search-icon { color:var(--text-muted); flex-shrink:0; transition:var(--transition); }
.header-search:focus-within .header-search-icon { color:var(--accent); }
#search-input {
    flex:1; padding:10px 0; background:none; border:none;
    color:var(--text-primary); font-size:0.85rem; outline:none;
}
#search-input::placeholder { color:var(--text-muted); }
.search-clear {
    background:none; border:none; cursor:pointer; padding:4px;
    color:var(--text-muted); display:flex; transition:var(--transition);
}
.search-clear:hover { color:var(--accent); }

.header-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.header-btn {
    display:flex; align-items:center; gap:6px;
    padding:8px 16px; border-radius:var(--radius);
    border:none; cursor:pointer; font-size:0.82rem; font-weight:700;
    transition:var(--transition);
}
.cart-btn {
    background:linear-gradient(135deg, var(--accent), var(--accent-dark));
    color:var(--bg-body); position:relative;
}
.cart-btn:hover { box-shadow:0 4px 20px var(--accent-glow-strong); transform:translateY(-1px); }
.cart-badge {
    position:absolute; top:-6px; right:-6px;
    min-width:18px; height:18px; padding:0 5px;
    border-radius:9px; background:var(--red); color:#fff;
    font-size:0.65rem; font-weight:800; line-height:18px;
    text-align:center; font-family:var(--font-display);
}
.cart-badge.pulse { animation:pulse 0.4s ease; }
@keyframes float {
    0% { transform:translateY(0); }
    50% { transform:translateY(-8px); }
    100% { transform:translateY(0); }
}
@keyframes badgePulse { 50%{transform:scale(1.4)} }

/* ═══════════════════════════════════════════
   APP LAYOUT
   ═══════════════════════════════════════════ */
.app-layout {
    display:flex; min-height:100vh;
    padding-top:calc(var(--promo-h) + var(--header-h));
    position:relative; z-index:1;
}

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar {
    width:var(--sidebar-w); flex-shrink:0;
    position:fixed; top:calc(var(--promo-h) + var(--header-h));
    left:0; bottom:0;
    background:var(--bg-sidebar);
    border-right:1px solid var(--border);
    overflow-y:auto; z-index:40;
    padding:10px 8px;
}
.sidebar-nav { display:flex; flex-direction:column; gap:1px; }
.sidebar-label {
    display:flex; align-items:center; gap:6px;
    padding:14px 12px 5px;
    font-size:0.55rem; font-weight:800; letter-spacing:2px;
    color:var(--text-muted); text-transform:uppercase;
    font-family:var(--font-display);
}
.sidebar-label:first-child { padding-top:4px; }

.sidebar-item {
    display:flex; align-items:center; gap:9px;
    width:100%; padding:9px 12px; border-radius:var(--radius-sm);
    background:transparent; border:none; color:var(--text-secondary);
    font-size:0.84rem; font-weight:500; cursor:pointer;
    font-family:var(--font); transition:var(--transition);
    text-align:left; position:relative;
}
.sidebar-item:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
.sidebar-item.active {
    color:var(--accent);
    background:linear-gradient(135deg, rgba(92,225,230,0.1), rgba(92,225,230,0.03));
    font-weight:600;
}
.sidebar-icon { font-size:0.95rem; width:20px; text-align:center; flex-shrink:0; }
.sidebar-item-name { flex:1; }
.sidebar-count {
    font-size:0.6rem; font-weight:700; padding:2px 6px;
    border-radius:8px; background:rgba(255,255,255,0.05);
    color:var(--text-muted); font-family:var(--font-display);
}
.sidebar-item.active .sidebar-count { background:rgba(92,225,230,0.1); color:var(--accent); }

/* Sidebar Group (expandable) */
.sidebar-group-toggle {
    display:flex; align-items:center; gap:9px;
    width:100%; padding:9px 12px; border-radius:var(--radius-sm);
    background:transparent; border:none; color:var(--text-secondary);
    font-size:0.84rem; font-weight:600; cursor:pointer;
    font-family:var(--font); transition:var(--transition);
    text-align:left;
}
.sidebar-group-toggle:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
.sidebar-group-toggle.open { color:var(--accent-light); }
.sidebar-chevron {
    margin-left:auto; transition:transform 0.25s ease;
    color:var(--text-muted); flex-shrink:0;
}
.sidebar-group-toggle.open .sidebar-chevron { transform:rotate(180deg); color:var(--accent); }

.sidebar-group-children {
    max-height:0; overflow:hidden;
    transition:max-height 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    padding-left:8px;
}
.sidebar-group-children.open { max-height:500px; }
.sidebar-child { font-size:0.8rem; padding:7px 12px 7px 16px; }
.sidebar-child .sidebar-icon { font-size:0.85rem; width:18px; }

/* ═══════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════ */
.main-content {
    flex:1; margin-left:var(--sidebar-w);
    display:flex; flex-direction:column; min-height:calc(100vh - var(--promo-h) - var(--header-h));
}

/* ── Featured Banner ──────────────────── */
.featured-banner {
    position:relative; margin:-80px 20px -200px;
    background: transparent;
    display:flex; align-items:flex-start; justify-content:center;
    padding:0;
    will-change: transform, opacity;
    transition: opacity 0.05s linear, transform 0.05s linear;
}
.featured-banner-logo {
    height:500px; width:auto; object-fit:contain;
    filter:drop-shadow(0 0 50px rgba(92,225,230,0.5));
    animation:float 6s ease-in-out infinite;
}

/* ── Store Area ───────────────────────── */
.store-area { flex:1; padding:10px 20px 60px; position:relative; z-index:2; }
.store-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; flex-wrap:wrap; gap:8px; }
.store-header-left { display:flex; align-items:center; gap:8px; }
.store-section-icon { font-size:1.1rem; }
.store-category-title { font-family:var(--font-display); font-size:1.2rem; font-weight:800; }
.store-category-desc { font-size:0.8rem; color:var(--text-muted); }

/* ═══════════════════════════════════════════
   PRODUCT CARDS — Neon Style
   ═══════════════════════════════════════════ */
.products-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
    gap:14px;
}
/* Showcase mode for categories with ≤3 items (e.g. Blindados) */
.products-grid.grid-showcase {
    grid-template-columns:repeat(3, 1fr);
    gap:24px; max-width:960px;
}
.grid-showcase .product-card {
    border-width:2px;
}
.grid-showcase .product-image-wrapper {
    min-height:260px;
}
.grid-showcase .product-image {
    max-height:240px;
}
.grid-showcase .product-name-overlay h3 {
    font-size:1.05rem;
}
.grid-showcase .product-price {
    font-size:1.3rem;
}
.grid-showcase .product-body {
    padding:16px 18px 18px;
}

.product-card {
    position:relative; border-radius:var(--radius); overflow:hidden;
    background:var(--bg-card); border:1px solid var(--border);
    cursor:default; transition:var(--transition);
    display:flex; flex-direction:column;
    animation:fadeInUp 0.4s ease both;
}
.product-card:nth-child(2){animation-delay:.03s}
.product-card:nth-child(3){animation-delay:.06s}
.product-card:nth-child(4){animation-delay:.09s}
.product-card:nth-child(5){animation-delay:.12s}
.product-card:nth-child(6){animation-delay:.15s}
.product-card:nth-child(7){animation-delay:.18s}
.product-card:nth-child(8){animation-delay:.21s}
.product-card:nth-child(9){animation-delay:.24s}
.product-card:nth-child(10){animation-delay:.27s}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(92, 225, 230, 0.15), 0 0 20px rgba(92, 225, 230, 0.08);
    transform: translateY(-6px);
}

/* Product Image */
.product-image-wrapper {
    position:relative; height:200px; overflow:hidden;
    background:rgba(0,0,0,0.3);
}
.product-image {
    width:100%; height:100%; object-fit:contain; padding:10px;
    transition:transform 0.5s ease;
}
.product-image.photo-mode { object-fit:cover; padding:0; }
.product-card:hover .product-image { transform:scale(1.1); }

.product-image-placeholder {
    width:100%; height:100%; display:flex; align-items:center;
    justify-content:center; font-size:2.5rem; opacity:0.12;
}

/* Name overlay at bottom of image */
.product-name-overlay {
    position:absolute; bottom:0; left:0; right:0;
    padding:24px 12px 8px;
    background:linear-gradient(transparent, rgba(10,10,20,0.7));
}
.product-name-overlay h3 {
    font-family:var(--font-display); font-size:0.95rem;
    font-weight:800; text-transform:uppercase; letter-spacing:0.5px;
    line-height:1.2; text-shadow:0 2px 8px rgba(0,0,0,0.6);
}

/* Stock Badge */
.stock-badge {
    position:absolute; top:8px; right:8px;
    padding:3px 8px; border-radius:5px;
    font-size:0.58rem; font-weight:700; z-index:2;
    font-family:var(--font-display);
}
.stock-badge.low { background:rgba(241,196,15,0.2); color:var(--gold); border:1px solid rgba(241,196,15,0.25); }
.stock-badge.out { background:rgba(255,71,87,0.2); color:var(--red); border:1px solid rgba(255,71,87,0.25); }

.out-of-stock-overlay {
    position:absolute; inset:0; z-index:5;
    background:rgba(10,10,20,0.7); display:flex;
    align-items:center; justify-content:center; border-radius:var(--radius);
}
.out-of-stock-overlay span {
    font-family:var(--font-display); font-weight:900;
    font-size:1rem; color:var(--red); letter-spacing:3px;
}

/* Product Body */
.product-body {
    padding:12px 14px 14px; display:flex; flex-direction: column;
    border-top:1px solid var(--border); gap:10px;
}
.product-old-price {
    font-size:0.78rem; color:#ff4a6a; text-decoration:line-through;
    opacity:0.7; font-weight:600; margin-bottom:-2px;
}
.product-price {
    font-family:var(--font-display); font-size:1.1rem;
    font-weight:800; color:var(--accent);
}
.product-desc-text {
    font-size:0.68rem; color:var(--text-muted);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    width:100%;
}
.product-actions {
    display:flex; align-items:center; gap:6px; width:100%;
}

.btn-more {
    flex:1; padding:7px 0; border-radius:var(--radius-sm);
    background:rgba(255,255,255,0.05); border:1px solid var(--border);
    color:var(--text-secondary); font-size:0.75rem; font-weight:600;
    cursor:pointer; transition:var(--transition); font-family:var(--font);
}
.btn-more:hover { color:var(--text-primary); border-color:var(--border-hover); background:rgba(255,255,255,0.08); }

.btn-buy {
    display:flex; align-items:center; gap:4px;
    padding:7px 14px; border-radius:var(--radius-sm);
    background:linear-gradient(135deg, var(--accent), var(--accent-dark));
    color:var(--bg-body); font-weight:700; font-size:0.75rem;
    border:none; cursor:pointer; transition:var(--transition);
    font-family:var(--font); white-space:nowrap;
}
.btn-buy:hover:not(:disabled) { transform:scale(1.05); box-shadow:0 4px 16px var(--accent-glow-strong); }
.btn-buy:active:not(:disabled) { transform:scale(0.97); }
.btn-buy:disabled { opacity:0.3; cursor:not-allowed; background:var(--text-muted); }
.btn-buy svg { flex-shrink:0; }

/* ═══════════════════════════════════════════
   SKELETONS
   ═══════════════════════════════════════════ */
.skeleton-card {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:var(--radius); height:280px; position:relative;
    overflow:hidden;
}
.skeleton-card::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.025), transparent);
    animation:shimmer 1.8s infinite;
}

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */
.pagination {
    display:flex; align-items:center; justify-content:center;
    gap:5px; margin-top:28px;
}
.page-btn {
    min-width:36px; height:36px; padding:0 8px;
    border-radius:var(--radius-sm); border:1px solid var(--border);
    background:var(--bg-card); color:var(--text-secondary);
    font-size:0.82rem; font-weight:600; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:var(--transition); font-family:var(--font-display);
}
.page-btn:hover:not(:disabled):not(.active) { border-color:var(--border-hover); color:var(--text-primary); }
.page-btn.active {
    background:linear-gradient(135deg, var(--accent), var(--accent-dark));
    color:var(--bg-body); border-color:transparent;
}
.page-btn:disabled { opacity:0.3; cursor:not-allowed; }
.page-dots { color:var(--text-muted); font-size:0.8rem; padding:0 3px; }

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.empty-state { text-align:center; padding:70px 24px; color:var(--text-muted); grid-column:1/-1; }
.empty-state .empty-icon { font-size:2.5rem; margin-bottom:14px; }
.empty-state h3 { font-family:var(--font-display); font-size:1.1rem; color:var(--text-secondary); margin-bottom:5px; }

/* ═══════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════ */
.cart-overlay {
    position:fixed; inset:0; z-index:90;
    background:rgba(0,0,0,0.6); backdrop-filter:blur(4px);
    opacity:0; transition:opacity 0.3s;
}
.cart-overlay:not([hidden]) { opacity:1; }
.cart-overlay[hidden] { pointer-events:none; }

.cart-drawer {
    position:fixed; top:0; right:0; bottom:0;
    width:380px; max-width:100vw; z-index:100;
    background:var(--bg-glass); backdrop-filter:blur(20px);
    border-left:1px solid var(--border-hover);
    display:flex; flex-direction:column;
    transform:translateX(100%);
    transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.cart-drawer.open { transform:translateX(0); }

.cart-header {
    padding:18px 20px 14px; display:flex;
    align-items:center; justify-content:space-between;
    border-bottom:1px solid var(--border);
}
.cart-header h3 { font-family:var(--font-display); font-size:1.05rem; font-weight:700; }
.cart-close {
    background:none; border:none; cursor:pointer;
    color:var(--text-muted); padding:4px; border-radius:6px;
    transition:var(--transition); display:flex;
}
.cart-close:hover { color:var(--accent); background:rgba(92,225,230,0.08); }

.cart-body { flex:1; overflow-y:auto; padding:14px 20px; }

.cart-empty {
    display:flex; flex-direction:column; align-items:center;
    justify-content:center; height:100%; text-align:center; color:var(--text-muted);
}
.cart-empty-icon { font-size:2.2rem; margin-bottom:10px; opacity:0.3; }
.cart-empty p { font-size:0.88rem; color:var(--text-secondary); margin-bottom:3px; }
.cart-empty-hint { font-size:0.72rem; }

.cart-item {
    display:flex; align-items:center; gap:10px;
    padding:10px 0; border-bottom:1px solid var(--border);
    animation:fadeInUp 0.3s ease;
}
.cart-item:last-child { border-bottom:none; }
.cart-item-image {
    width:48px; height:48px; border-radius:var(--radius-xs);
    background:rgba(255,255,255,0.03); overflow:hidden;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.cart-item-image img { width:100%; height:100%; object-fit:contain; padding:3px; }
.cart-item-image img.photo-mode { object-fit:cover; padding:0; }
.cart-item-image span { font-size:1rem; }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-weight:600; font-size:0.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cart-item-price { font-size:0.75rem; color:var(--accent); font-weight:600; margin-top:1px; }

.cart-item-actions { display:flex; align-items:center; gap:3px; flex-shrink:0; }
.qty-btn {
    width:24px; height:24px; border-radius:5px;
    background:rgba(255,255,255,0.04); border:1px solid var(--border);
    color:var(--text-primary); font-size:0.85rem; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:var(--transition);
}
.qty-btn:hover { border-color:var(--accent); color:var(--accent); }
.qty-value { min-width:18px; text-align:center; font-size:0.8rem; font-weight:600; }
.remove-btn {
    background:none; border:none; cursor:pointer; color:var(--text-muted);
    padding:3px; margin-left:3px; border-radius:4px; transition:var(--transition); display:flex;
}
.remove-btn:hover { color:var(--red); background:rgba(255,71,87,0.1); }

.cart-checkout { padding:0 20px 20px; }
.cart-divider { height:1px; margin-bottom:14px; background:linear-gradient(90deg,transparent,var(--border-hover),transparent); }

.form-group { margin-bottom:10px; }
.form-group label { display:block; font-size:0.72rem; font-weight:600; color:var(--text-secondary); margin-bottom:3px; }
.form-group input {
    width:100%; padding:9px 12px; border-radius:var(--radius-xs);
    background:rgba(255,255,255,0.03); border:1px solid var(--border);
    color:var(--text-primary); font-size:0.82rem;
    font-family:var(--font); transition:var(--transition); outline:none;
}
.form-group input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(92,225,230,0.06); }
.form-group input.error { border-color:var(--red); box-shadow:0 0 0 3px rgba(255,71,87,0.08); }
.form-group input::placeholder { color:var(--text-muted); }

.cart-total { display:flex; justify-content:space-between; align-items:center; padding:12px 0; margin-bottom:10px; }
.cart-total span:first-child { font-size:0.85rem; font-weight:600; color:var(--text-secondary); }
.cart-total-value { font-family:var(--font-display); font-size:1.3rem; font-weight:800; color:var(--accent); }

.btn-checkout {
    width:100%; padding:13px; border-radius:var(--radius-sm);
    background:linear-gradient(135deg, var(--accent), var(--accent-dark));
    color:var(--bg-body); font-size:0.88rem; font-weight:700;
    border:none; cursor:pointer; position:relative; overflow:hidden;
    font-family:var(--font); transition:var(--transition);
    display:flex; align-items:center; justify-content:center; gap:7px;
}
.btn-checkout:hover { box-shadow:0 6px 24px var(--accent-glow-strong); transform:translateY(-2px); }
.btn-shine {
    position:absolute; top:-50%; left:-50%; width:200%; height:200%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);
    transform:rotate(25deg) translateX(-100%); transition:0.6s;
}
.btn-checkout:hover .btn-shine { transform:rotate(25deg) translateX(100%); }
.btn-checkout-big {
    padding:16px 20px; font-size:1rem; letter-spacing:0.5px;
    box-shadow:0 4px 20px rgba(92,225,230,0.25);
    animation: checkoutPulse 2s ease-in-out infinite;
}
.btn-checkout-big:hover {
    box-shadow:0 8px 32px rgba(92,225,230,0.4);
    transform:translateY(-3px) scale(1.02);
}
@keyframes checkoutPulse {
    0%, 100% { box-shadow:0 4px 20px rgba(92,225,230,0.25); }
    50% { box-shadow:0 4px 28px rgba(92,225,230,0.4); }
}

/* ═══════════════════════════════════════════
   TOASTS
   ═══════════════════════════════════════════ */
.toast-container {
    position:fixed; bottom:24px; right:24px; z-index:200;
    display:flex; flex-direction:column-reverse; gap:8px; pointer-events:none;
}
.toast {
    display:flex; align-items:center; gap:9px;
    padding:11px 16px; border-radius:var(--radius-sm);
    background:var(--bg-glass); backdrop-filter:blur(16px);
    border:1px solid var(--border-hover); box-shadow:var(--shadow-lg);
    color:var(--text-primary); font-size:0.82rem; font-weight:500;
    pointer-events:auto; animation:toastIn 0.3s ease; max-width:320px;
}
.toast-success { border-color:rgba(0,212,170,0.3); }
.toast-error { border-color:rgba(255,71,87,0.3); }
.toast-icon { font-size:0.95rem; flex-shrink:0; }
.toast-exit { animation:toastOut 0.3s ease forwards; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    padding:28px 20px; text-align:center;
    color:var(--text-muted); font-size:0.72rem;
    border-top:1px solid var(--border); margin-top:auto;
}
.footer-disclaimer { margin-top:3px; font-size:0.62rem; }
.footer-powered { margin-top:6px; font-size:0.62rem; }
.footer-powered a { color:var(--accent); font-weight:600; }
.footer-powered a:hover { text-decoration:underline; }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
@keyframes toastIn { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { to{opacity:0;transform:translateX(30px)} }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width:900px) {
    .products-grid { grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:10px; }
}

@media (max-width:768px) {
    :root { --sidebar-w:260px; }

    .promo-bar { font-size:0.65rem; padding:0 40px 0 12px; justify-content:flex-start; }

    .mobile-menu-btn { display:flex; }
    .header-name { display:none; }
    .header-center { max-width:none; }

    .sidebar {
        position:fixed; left:-100%; top:calc(var(--promo-h)+var(--header-h));
        bottom:0; z-index:80; transition:left 0.3s ease;
        background:var(--bg-glass); backdrop-filter:blur(16px);
    }
    .sidebar.open { left:0; }
    .sidebar-overlay {
        position:fixed; inset:0; z-index:70;
        background:rgba(0,0,0,0.5); opacity:0; transition:opacity 0.3s;
        pointer-events:none;
    }
    .sidebar-overlay:not([hidden]) { opacity:1; pointer-events:auto; }

    .main-content { margin-left:0; }

    .featured-banner { margin:10px 12px 0; padding:15px 0; }
    .featured-banner-logo { height:200px; }
    .featured-content { padding:20px; }

    .store-area { padding:16px 12px 40px; }
    .store-category-title { font-size:1.05rem; }
    .products-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
    .product-image-wrapper { height:150px; }
    .product-name-overlay h3 { font-size:0.78rem; }
    .product-body { padding:8px 10px 10px; }
    .product-price { font-size:0.9rem; }
    .btn-buy { padding:6px 10px; font-size:0.68rem; }

    .cart-drawer { width:100%; }
    .toast-container { bottom:16px; right:12px; left:12px; }
    .toast { max-width:100%; }
    .footer { padding:20px 12px; }
}

@media (max-width:400px) {
    .products-grid { grid-template-columns:1fr; gap:10px; }
    .product-image-wrapper { height:180px; }
    .product-body { flex-direction:column; align-items:flex-start; gap:6px; }
    .btn-buy { width:100%; justify-content:center; }
}

/* ═══════════════════════════════════════════
   PRODUCT MODAL
   ═══════════════════════════════════════════ */
.modal-overlay {
    position:fixed; inset:0; z-index:150;
    background:rgba(0,0,0,0.85); backdrop-filter:blur(3px);
    opacity:0; transition:opacity 0.3s;
}
.modal-overlay:not([hidden]) { opacity:1; }
.modal-overlay[hidden] { pointer-events:none; }

.product-modal {
    position:fixed; top:50%; left:50%; transform:translate(-50%, -50%) scale(0.95);
    width:90%; max-width:950px; z-index:160;
    background:var(--bg-glass); border:1px solid var(--border-hover);
    border-radius:var(--radius); box-shadow:var(--shadow-lg);
    opacity:0; transition:all 0.3s cubic-bezier(0.16,1,0.3,1);
    max-height:60vh; display:flex; flex-direction:column;
}
.product-modal:not([hidden]) { opacity:1; transform:translate(-50%, -50%) scale(1); }
.product-modal[hidden] { pointer-events:none; }

.modal-close {
    position:absolute; top:14px; right:14px; z-index:10;
    background:rgba(0,0,0,0.5); border:none; color:#fff;
    width:32px; height:32px; border-radius:50%; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:var(--transition);
}
.modal-close:hover { background:var(--red); transform:rotate(90deg); }

.modal-content { display:flex; flex-direction:row; height:100%; overflow:hidden; }
.modal-gallery { flex:1.6; position:relative; background:#000; display:flex; align-items:center; justify-content:center; }
.gallery-slider { width:100%; height:100%; position:relative; overflow:hidden; }
.gallery-slide {
    position:absolute; inset:0; opacity:0; transition:opacity 0.4s ease;
    display:flex; align-items:center; justify-content:center;
}
.gallery-slide.active { opacity:1; z-index:2; }
.gallery-slide img { width:100%; height:100%; object-fit:contain; }
.gallery-slide.photo-mode img { object-fit:cover; }

.gallery-nav {
    position:absolute; top:50%; transform:translateY(-50%); z-index:5;
    background:rgba(0,0,0,0.5); color:#fff; border:none; width:40px; height:40px;
    border-radius:50%; font-size:1.5rem; cursor:pointer; transition:var(--transition);
}
.gallery-nav:hover { background:var(--accent); }
.gallery-nav.prev { left:10px; }
.gallery-nav.next { right:10px; }

.gallery-dots {
    position:absolute; bottom:15px; left:0; right:0; z-index:5;
    display:flex; justify-content:center; gap:6px;
}
.gallery-dot {
    width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.3);
    cursor:pointer; transition:var(--transition);
}
.gallery-dot.active { background:var(--accent); transform:scale(1.2); }

.modal-info {
    flex:1; padding:30px; display:flex; flex-direction:column;
    overflow-y:auto; background:var(--bg-card);
}
.modal-title { font-family:var(--font-display); font-size:1.6rem; font-weight:900; margin-bottom:8px; }
.modal-price { font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:var(--accent); margin-bottom:20px; }
.modal-desc {
    font-size:0.85rem; color:var(--text-secondary); line-height:1.6;
    margin-bottom:24px; white-space:pre-wrap; flex:1;
}
.modal-btn-buy { width:100%; justify-content:center; padding:12px; font-size:0.9rem; }

@media (max-width:768px) {
    .product-modal { max-height:95vh; width:95%; }
    .modal-content { flex-direction:column; overflow-y:auto; }
    .modal-gallery { min-height:280px; max-height:320px; flex:none; }
    .gallery-slider { min-height:280px; }
    .gallery-slide { min-height:280px; }
    .gallery-slide img { width:100%; height:100%; object-fit:contain; }
    .modal-info { padding:20px; flex:none; }
}

/* ═══════════════════════════════════════════
   VIP CARDS — Bigger & More Visible
   ═══════════════════════════════════════════ */
.products-grid.grid-vip {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.grid-vip .product-image-wrapper {
    min-height: 280px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 70%);
}
.grid-vip .product-image {
    max-height: 260px;
    padding: 16px;
}
.grid-vip .product-name-overlay h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.grid-vip .product-price {
    font-size: 1.4rem;
}
.grid-vip .product-card {
    border-width: 2px;
    border-color: rgba(92, 225, 230, 0.15);
}
.grid-vip .product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(92, 225, 230, 0.15);
    transform: translateY(-6px);
}

/* ═══════════════════════════════════════════
   VIP MODAL — Floating Image + Glow Effects
   ═══════════════════════════════════════════ */
@keyframes vipFloat {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
    25%  { transform: translate3d(0, -8px, 0) rotate(0.3deg); }
    50%  { transform: translate3d(0, -14px, 0) rotate(0deg); }
    75%  { transform: translate3d(0, -8px, 0) rotate(-0.3deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes vipPulseGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}
@keyframes orbFloat {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
    33%  { transform: translate3d(0, -14px, 0) scale(1.15); opacity: 0.9; }
    66%  { transform: translate3d(0, -6px, 0) scale(1.05); opacity: 1; }
    100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
}
@keyframes glitterShimmer {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.4); opacity: 0; }
    12%  { opacity: 1; transform: translate3d(0, -8px, 0) rotate(40deg) scale(1); }
    100% { transform: translate3d(0, -65px, 0) rotate(180deg) scale(0.2); opacity: 0; }
}

.modal-gallery.vip-modal-gallery {
    overflow: hidden;
    position: relative;
}
.modal-gallery.vip-modal-gallery .gallery-slide.active {
    z-index: 3;
}
.modal-gallery.vip-modal-gallery .gallery-slide.active img {
    animation: vipFloat 4.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.vip-glow-bg {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    border-radius: 0;
    will-change: opacity;
}
/* Randola — Gray glow — STRONGER */
.vip-glow-randola {
    background: radial-gradient(ellipse at center, rgba(180,180,190,0.45) 0%, rgba(140,140,150,0.15) 50%, transparent 75%);
    animation: vipPulseGlow 3s ease-in-out infinite;
}
/* Ouro — Golden glow — STRONGER */
.vip-glow-ouro {
    background: radial-gradient(ellipse at center, rgba(255,200,50,0.55) 0%, rgba(255,180,30,0.2) 50%, transparent 75%);
    animation: vipPulseGlow 2.5s ease-in-out infinite;
}
/* Diamante — Blue glow — STRONGER */
.vip-glow-diamante {
    background: radial-gradient(ellipse at center, rgba(70,140,230,0.55) 0%, rgba(50,110,200,0.2) 50%, transparent 75%);
    animation: vipPulseGlow 2.8s ease-in-out infinite;
}
/* Ruby — Cherry red glow — STRONGER */
.vip-glow-ruby {
    background: radial-gradient(ellipse at center, rgba(220,40,60,0.55) 0%, rgba(200,30,50,0.2) 50%, transparent 75%);
    animation: vipPulseGlow 2.2s ease-in-out infinite;
}
/* Caribe — Vivid cyan glow — STRONGER */
.vip-glow-caribe {
    background: radial-gradient(ellipse at center, rgba(92,225,230,0.55) 0%, rgba(70,200,210,0.2) 50%, transparent 75%);
    animation: vipPulseGlow 2.5s ease-in-out infinite;
}

/* Orbs */
.vip-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none; z-index: 1;
    animation: orbFloat 3s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
/* Glitter */
.vip-glitter {
    position: absolute; width: 3px; height: 3px;
    border-radius: 50%; pointer-events: none; z-index: 1;
    animation: glitterShimmer 2.2s ease-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
/* Falling gems */
.vip-gem {
    position: absolute; top: -50px;
    pointer-events: none; z-index: 1;
    background-image: url('../assets/gem.png');
    background-size: contain; background-repeat: no-repeat;
    will-change: transform, opacity;
    backface-visibility: hidden;
    filter: drop-shadow(0 0 4px rgba(92,225,230,0.4));
}

/* ═══════════════════════════════════════════
   SECTION HEADERS — Destaques
   ═══════════════════════════════════════════ */
.section-header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 0 12px;
}
.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.section-products-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    width: 100%;
}

.section-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════
   GEM DISPLAY — Gemas Products
   ═══════════════════════════════════════════ */
.gem-icon {
    position: absolute;
    filter: drop-shadow(0 0 4px rgba(100, 200, 255, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.gem-icon:nth-child(2) { animation-delay: 0.4s; }
.gem-icon:nth-child(3) { animation-delay: 0.8s; }
.gem-icon:nth-child(4) { animation-delay: 1.2s; }
.gem-icon:nth-child(5) { animation-delay: 1.6s; }
.gem-icon:nth-child(6) { animation-delay: 2.0s; }
.gem-icon:nth-child(7) { animation-delay: 2.4s; }

.product-card:hover .gem-display .gem-icon {
    filter: drop-shadow(0 0 6px rgba(100, 200, 255, 0.35));
}
.product-card:hover .gem-display {
    transform: scale(1.08);
}
.gem-display {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 160px;
    transition: transform 0.35s ease;
    overflow: hidden;
}

/* Flying gems — hidden by default, appear on hover */
.gem-fly {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
}
.product-card:hover .gem-fly {
    opacity: 1;
}
/* Depth: near = close to camera (big, blurred) */
.product-card:hover .gem-depth-near {
    opacity: 0.55;
    filter: blur(2px) drop-shadow(0 0 8px rgba(100,220,255,0.5));
    animation: gemFlyNear 2s ease-in-out infinite alternate;
}
/* Depth: mid */
.product-card:hover .gem-depth-mid {
    opacity: 0.8;
    filter: drop-shadow(0 0 4px rgba(100,220,255,0.3));
    animation: gemFlyMid 2.5s ease-in-out infinite alternate;
}
/* Depth: far = behind the pile (small, sharp) */
.product-card:hover .gem-depth-far {
    opacity: 0.5;
    filter: drop-shadow(0 0 2px rgba(100,220,255,0.2));
    animation: gemFlyFar 3s ease-in-out infinite alternate;
}

@keyframes gemFlyNear {
    0% { transform: translate(-50%,-50%) rotate(-35deg) scale(1); }
    100% { transform: translate(-50%,-50%) rotate(-30deg) scale(1.08) translateY(-4px); }
}
@keyframes gemFlyMid {
    0% { transform: translate(-50%,-50%) rotate(20deg) scale(1); }
    100% { transform: translate(-50%,-50%) rotate(22deg) translateY(-6px); }
}
@keyframes gemFlyFar {
    0% { transform: translate(-50%,-50%) rotate(40deg) scale(1); }
    100% { transform: translate(-50%,-50%) rotate(38deg) translateY(-3px); }
}

/* Gem Card — VIP Diamante-style Refined Glow Effect */
.gem-display {
    position: relative;
}
.product-card:hover .gem-display {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
}
.product-card .gem-display::after {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.25) 0%, rgba(0, 200, 255, 0.08) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
    animation: gemGlowPulse 2.5s ease-in-out infinite;
}
.product-card:hover .gem-display::after {
    opacity: 1;
}
@keyframes gemGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes glitterShimmer {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
    100% { opacity: 0.6; transform: scale(0.97); }
}
/* ═══════════════════════════════════════════
   ILEGAL COMPOSITION — VIP Facção Prata
   ═══════════════════════════════════════════ */
.ilegal-composition {
    position: absolute;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Silver glow background */
.ilegal-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(192, 192, 220, 0.25) 0%, rgba(160, 170, 200, 0.12) 35%, rgba(100, 110, 140, 0.06) 60%, transparent 80%);
    animation: ilegalGlowPulse 3s ease-in-out infinite alternate;
    z-index: 0;
}

.ilegal-silver .ilegal-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(210, 215, 235, 0.35) 0%, rgba(180, 190, 220, 0.15) 35%, rgba(120, 130, 160, 0.06) 60%, transparent 80%);
}

@keyframes ilegalGlowPulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Main icon — Moto Sanchez (center, slide from left) */
.ilegal-icon-main {
    position: absolute;
    z-index: 3;
    width: 60%;
    max-width: 280px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: ilegalSlideMain 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(192, 200, 230, 0.5)) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

@keyframes ilegalSlideMain {
    0% { opacity: 0; transform: translate(-150%, -50%) scale(0.7); }
    60% { opacity: 1; transform: translate(-45%, -50%) scale(1.05); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Float icon — Maleta (top-right, floating) */
.ilegal-icon-float {
    position: absolute;
    z-index: 2;
    width: 35%;
    max-width: 150px;
    right: 5%;
    top: 8%;
    animation: ilegalSlideFloat 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards, ilegalFloat 3s ease-in-out 1.2s infinite alternate;
    opacity: 0;
    filter: drop-shadow(0 0 14px rgba(192, 200, 230, 0.4)) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}

@keyframes ilegalSlideFloat {
    0% { opacity: 0; transform: translateX(-80px) scale(0.5) rotate(-15deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}

@keyframes ilegalFloat {
    0% { transform: translateY(0px) rotate(-2deg); }
    100% { transform: translateY(-10px) rotate(2deg); }
}

/* Accent icon — Baú (bottom-left, scale entrance) */
.ilegal-icon-accent {
    position: absolute;
    z-index: 2;
    width: 32%;
    max-width: 140px;
    left: 5%;
    bottom: 8%;
    animation: ilegalAccentIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards, ilegalAccentBreathe 4s ease-in-out 1.2s infinite alternate;
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(192, 200, 230, 0.3)) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}

@keyframes ilegalAccentIn {
    0% { opacity: 0; transform: scale(0.3) rotate(10deg) translateY(30px); }
    70% { opacity: 1; transform: scale(1.08) rotate(-2deg) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) rotate(0deg) translateY(0); }
}

@keyframes ilegalAccentBreathe {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.04) rotate(-1deg); }
}

/* Silver sparkle particles */
.ilegal-silver .ilegal-glow::before,
.ilegal-silver .ilegal-glow::after {
    content: '';
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(220, 225, 245, 0.8);
    box-shadow: 
        30px 40px 0 rgba(200,210,240,0.6),
        80px 20px 0 rgba(200,210,240,0.4),
        150px 60px 0 rgba(200,210,240,0.5),
        200px 30px 0 rgba(200,210,240,0.3),
        50px 100px 0 rgba(200,210,240,0.5),
        120px 80px 0 rgba(200,210,240,0.4),
        170px 110px 0 rgba(200,210,240,0.3);
    animation: ilegalSparkle 2s ease-in-out infinite alternate;
}

.ilegal-silver .ilegal-glow::after {
    top: 20%;
    left: 30%;
    animation-delay: 1s;
}

@keyframes ilegalSparkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.9; }

/* Extra icon — 4th position (top-left) */
.ilegal-icon-extra {
    position: absolute;
    z-index: 2;
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain;
    left: 3%;
    top: 5%;
    animation: ilegalExtraIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards, ilegalFloat 3.5s ease-in-out 1.3s infinite alternate;
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(255, 200, 50, 0.3)) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}

@keyframes ilegalExtraIn {
    0% { opacity: 0; transform: scale(0.3) rotate(-10deg) translateY(-30px); }
    70% { opacity: 1; transform: scale(1.08) rotate(2deg) translateY(5px); }
    100% { opacity: 1; transform: scale(1) rotate(0deg) translateY(0); }
}

/* ═══ Gold Tier ═══ */
.ilegal-gold .ilegal-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.4) 0%, rgba(255, 180, 0, 0.2) 35%, rgba(200, 150, 0, 0.08) 60%, transparent 80%);
}
.ilegal-gold .ilegal-icon-main {
    filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.6)) drop-shadow(0 4px 14px rgba(0,0,0,0.4));
}
.ilegal-gold .ilegal-icon-float {
    filter: drop-shadow(0 0 18px rgba(255, 200, 50, 0.5)) drop-shadow(0 3px 10px rgba(0,0,0,0.3));
}
.ilegal-gold .ilegal-icon-accent {
    filter: drop-shadow(0 0 15px rgba(255, 200, 50, 0.4)) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}
.ilegal-gold .ilegal-icon-extra {
    filter: drop-shadow(0 0 12px rgba(255, 200, 50, 0.4)) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}

/* Gold sparkle particles */
.ilegal-gold .ilegal-glow::before,
.ilegal-gold .ilegal-glow::after {
    content: '';
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255, 220, 80, 0.9);
    box-shadow: 
        25px 35px 0 rgba(255,200,50,0.7),
        70px 15px 0 rgba(255,215,0,0.5),
        140px 55px 0 rgba(255,200,50,0.6),
        190px 25px 0 rgba(255,180,0,0.4),
        45px 90px 0 rgba(255,200,50,0.6),
        110px 70px 0 rgba(255,215,0,0.5),
        160px 100px 0 rgba(255,200,50,0.4);
    animation: ilegalSparkle 1.8s ease-in-out infinite alternate;
}
.ilegal-gold .ilegal-glow::after {
    top: 25%;
    left: 35%;
    animation-delay: 0.9s;
}


/* MAIS VENDIDO badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 2px 16px rgba(255, 215, 0, 0.7); }
}


/* Gem display in modal — fixed container for proper centering */



/* Mobile floating cart button */
.mobile-cart-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-body);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(92,225,230,0.4), 0 0 30px rgba(92,225,230,0.15);
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fabPulse 2s ease-in-out infinite;
}
.mobile-cart-fab:active {
    transform: scale(0.92);
}
.mobile-cart-fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #ff4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(92,225,230,0.4), 0 0 30px rgba(92,225,230,0.15); }
    50% { box-shadow: 0 4px 30px rgba(92,225,230,0.6), 0 0 40px rgba(92,225,230,0.25); }
}
@media (max-width:768px) {
    .mobile-cart-fab[data-count]:not([data-count="0"]) {
        display: flex;
    }
    .header-right .cart-btn { display:none; }
}
