:root { --v-primary: #4f46e5; --v-wish: #db2777; --v-green: #10b981; --v-bg: #f8fafc; }
body { background: var(--v-bg); font-family: 'Plus Jakarta Sans', sans-serif; margin: 0; }
.v-container { max-width: 1500px; margin: 0 auto; padding: 20px; }

/* FILTROS */
.filters-bar { background: white; padding: 16px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); margin-bottom: 30px; display: grid; grid-template-columns: 0.6fr 1.8fr 1.2fr 1.2fr 0.7fr 1.1fr 0.7fr; gap: 10px; align-items: center; position: relative; }
.f-group { position: relative; }
.f-group label { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.f-input { width: 100%; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; font-size: 12px; font-weight: 600; height: 40px; box-sizing: border-box; color: #1e293b; }

.btn-search {
    width: 100%;
    height: 40px;
    margin-top: 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-search:hover { filter: brightness(1.08); transform: translateY(-1px); }

#set-suggestions { position: absolute; top: 100%; left: 0; width: 100%; background: white; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); z-index: 1000; max-height: 250px; overflow-y: auto; display: none; margin-top: 5px; }
.suggestion-item { padding: 10px; font-size: 12px; cursor: pointer; border-bottom: 1px solid #f1f5f9; font-weight: 600; }
.suggestion-item:hover { background: #f8fafc; color: var(--v-primary); }

/* GRID E CARDS */
.cards-grid { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.v-card { position: relative; border-radius: 12px; overflow: hidden; background: white; border: 1px solid #e2e8f0; aspect-ratio: 0.72; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.25s; }
.v-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); z-index: 10; }
.v-card-link-top { position: absolute; top: 0; left: 0; width: 100%; height: 62%; z-index: 5; text-decoration: none; }
.v-img-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; }
.v-img { width: 100%; height: 100%; object-fit: cover; }
.v-img-wrap--product .v-img { object-fit: contain; padding: 10px; box-sizing: border-box; }
.v-overlay { position: absolute; bottom: 0; left: 0; width: 100%; min-height: 38%; background: linear-gradient(to bottom, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.97) 40%); backdrop-filter: blur(8px); padding: 10px; box-sizing: border-box; transform: translateY(105%); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); z-index: 6; display: flex; flex-direction: column; justify-content: space-between; font-family: 'Plus Jakarta Sans', sans-serif; }
.v-card:hover .v-overlay { transform: translateY(0); }
/* Dimming de cartas ao redor quando add panel ou more panel está aberto */
.cards-grid:has(.v-card.add-mode, .v-card.more-mode, .v-card.sell-mode) .v-card:not(.add-mode):not(.more-mode):not(.sell-mode) { opacity: 0.42; pointer-events: none; }
.cards-grid:has(.v-card.add-mode, .v-card.more-mode, .v-card.sell-mode) .v-card:not(.add-mode):not(.more-mode):not(.sell-mode) .v-overlay { transform: translateY(105%) !important; }

/* MORE PANEL (menu ··· inline na carta) */
.v-card.more-mode { z-index: 20; }
.v-card.more-mode .v-overlay {
    position: absolute;
    inset: 0;
    min-height: 100%;
    transform: translateY(0) !important;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
}
.v-card.more-mode .v-card-info,
.v-card.more-mode .v-card-actions { display: none; }
.v-more-panel { display: flex; flex-direction: column; animation: vapIn 0.16s ease; }
.vmp-close-row { padding-bottom: 6px; border-bottom: 1px solid rgba(226,232,240,0.8); margin-bottom: 2px; }
.vmp-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 2px;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(226,232,240,0.5);
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    transition: color 0.15s;
    width: 100%;
    text-align: left;
    line-height: 1.3;
    box-sizing: border-box;
}
.vmp-item:last-child { border-bottom: none; }
.vmp-item:hover { color: var(--v-primary); background: none; }
.vmp-item svg { flex-shrink: 0; opacity: 0.65; width: 13px; height: 13px; pointer-events: none; }
.vmp-item.warn { color: #ef4444; }
.vmp-item.warn:hover { color: #dc2626; }

/* FORMATAÇÃO DO NOME E NÚMERO (PADRÃO VORUTO) */
.v-card-info h4 { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 400; color: var(--text-main); width: 100%; overflow: hidden; margin: 0; }
.card-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-number-badge { font-size: 10px; font-weight: 300; color: #94a3b8; flex-shrink: 0; line-height: 1; letter-spacing: 0.2px; }
.v-card-info p { margin: 2px 0 0; font-size: 10px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.v-card-price { margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--v-green); display: flex; justify-content: space-between; }

/* BADGES */
.f-badge { position: absolute; top: 8px; left: 8px; background: rgba(255, 255, 255, 0.95); padding: 2px 4px; border-radius: 4px; font-size: 14px; z-index: 4; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.q-badge { position: absolute; top: 8px; right: 8px; background: rgba(16, 185, 129, 0.9); color: white; padding: 2px 6px; border-radius: 6px; font-size: 9px; font-weight: 800; z-index: 4; }
.w-badge { position: absolute; top: 8px; left: 38px; background: rgba(236, 72, 153, 0.9); color: white; padding: 2px 6px; border-radius: 6px; font-size: 9px; z-index: 4; }

/* ACTIONS PADRÃO */
.v-card-actions { display: flex; align-items: center; gap: 5px; margin-top: 8px; width: 100%; }
.v-qty-display { min-width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; border: 1px solid #e2e8f0; background: #f1f5f9; color: #94a3b8; flex-shrink: 0; }
.v-qty-display.has-qty { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.act-btn { flex: 1; height: 28px; border-radius: 6px; font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; background: #f8fafc; color: #0f172a; cursor: pointer; transition: 0.2s; }
.act-btn.add:hover { background: var(--v-primary); color: white; border-color: var(--v-primary); }
.act-btn.sub { color: #ef4444; background: #f8fafc; border-color: #fecaca; }
.act-btn.sub:hover { background: #fee2e2; border-color: #ef4444; color: #dc2626; }
.act-btn.wish { color: #db2777; background: #f8fafc; }
.act-btn.wish svg path { transition: fill 0.22s ease; }
.act-btn.wish:hover { background: #fdf2f8; border-color: #f9a8d4; }
.act-btn.wish.active { background: #db2777; color: white; border-color: #db2777; }
.act-btn.mkt { color: #0369a1; border-color: #bae6fd; background: #f0f9ff; }
.act-btn.mkt:hover { background: #0369a1; color: white; border-color: #0369a1; }
.act-btn.more { flex: 1; }
.act-btn.more:hover { background: #f1f5f9; }
.act-btn-login { flex: 1; height: 28px; border-radius: 6px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1px solid var(--v-primary); background: #f5f3ff; color: var(--v-primary); text-decoration: none; transition: 0.2s; }
.act-btn-login:hover { background: var(--v-primary); color: white; }

/* SELL PANEL (Listar no Marketplace) — mesma estrutura visual do Add panel */
.v-card.sell-mode { z-index: 20; }
.v-card.sell-mode .v-card-info,
.v-card.sell-mode .v-card-actions { display: none; }
.v-card.sell-mode .v-overlay {
    position: absolute;
    inset: 0;
    min-height: 100%;
    transform: translateY(0) !important;
    overflow-y: auto;
    justify-content: flex-start;
    background: white;
}
.v-sell-panel {
    display: flex; flex-direction: column; gap: 8px; flex: 1;
    padding: 2px 0; box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: vapIn 0.16s ease;
    overflow-y: auto;
}
/* Sell panel header tag (label pill on the right) */
.vsp-header-tag {
    display: flex; align-items: center; gap: 3px;
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px;
    color: var(--v-primary); background: #ede9fe; border-radius: 4px; padding: 2px 6px;
}
/* Price row — full-width styled input */
.vsp-price-row { display: flex; align-items: center; gap: 5px; width: 100%; }
.vsp-price-cur { font-size: 12px; font-weight: 900; color: #475569; flex-shrink: 0; }
.vsp-price-inp {
    flex: 1; padding: 6px 9px; border: 1.5px solid #e2e8f0; border-radius: 7px;
    font-size: 13px; font-weight: 800; color: #0f172a; font-family: inherit; background: #f8fafc;
}
.vsp-price-inp:focus { outline: none; border-color: var(--v-primary); background: white; }
/* Anunciar — botão de submit do sell panel */
.vsp-submit-btn {
    background: #2563eb;
    padding: 10px 7px;
    font-size: 13px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
    margin-top: 2px;
}

/* CAIXA EXPLICATIVA (How to use) */
.cs-howto-box { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.cs-howto-eyebrow { font-size: 9px; font-weight: 800; color: #0369a1; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.cs-howto-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cs-howto-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #0c4a6e; font-weight: 600; line-height: 1.4; }
/* How-to icons mirror actual act-btn buttons so user can visually match them */
.cs-howto-icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #e2e8f0; font-weight: 900; }
.cs-icon-col  { background: #f8fafc; color: #0f172a; border-color: #e2e8f0; }
.cs-icon-mkt  { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.cs-icon-wish { background: #f8fafc; color: #db2777; border-color: #fecaca; }

/* MODAL OVERLAY */
.v-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); z-index: 9000; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.v-modal { background: white; border-radius: 20px; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,0.25); }
.v-modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 20px 0; }
.v-modal-title { font-size: 16px; font-weight: 900; color: #0f172a; }
.v-modal-sub { font-size: 12px; color: #64748b; font-weight: 600; margin-top: 3px; }
.v-modal-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: #f1f5f9; color: #64748b; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.v-modal-close:hover { background: #e2e8f0; }
.v-modal-qty-row { display: flex; align-items: center; gap: 8px; padding: 12px 20px; margin-top: 14px; background: #f8fafc; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: #475569; font-weight: 600; }
.v-modal-qty-row strong { color: #0f172a; font-size: 17px; font-weight: 900; }
.vm-remove-btn { margin-left: auto; background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; border-radius: 6px; padding: 5px 11px; font-size: 11px; font-weight: 800; cursor: pointer; font-family: inherit; }
.vm-remove-btn:hover { background: #fee2e2; }
.vm-variants { padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.vm-variant-row { border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.vm-var-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vm-var-name { font-size: 14px; font-weight: 800; color: #1e293b; }
.vm-price { font-size: 13px; font-weight: 700; color: var(--v-green); text-align: right; flex-shrink: 0; }
.vm-price small { display: block; font-size: 10px; color: #94a3b8; font-weight: 600; }
.vm-price.no-price { color: #cbd5e1; font-size: 11px; }
.vm-cond-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-cond-label { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.v-cond-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.v-cond-pill { padding: 4px 9px; border-radius: 6px; border: 1.5px solid #e2e8f0; background: white; font-size: 11px; font-weight: 800; cursor: pointer; color: #475569; transition: 0.15s; font-family: inherit; }
.v-cond-pill:hover { border-color: var(--v-primary); color: var(--v-primary); }
.v-cond-pill.active { background: var(--v-primary); color: white; border-color: var(--v-primary); }
/* Add panel: pills com wrap para acomodar SEALED/GRADED */
.v-add-panel .v-cond-pills { flex-wrap: wrap; gap: 4px; }
.v-add-panel .v-cond-pill { flex: 0 0 auto; padding: 4px 8px; text-align: center; font-size: 10px; white-space: nowrap; }
/* Sell panel: mesma regra */
.vsp-conds { flex-wrap: wrap !important; gap: 4px !important; }
.vsp-vars  { flex-wrap: wrap; gap: 3px; }
.vap-grade-fields { display: none; flex-direction: row; gap: 6px; margin-top: 6px; align-items: center; }
.vap-grade-fields.show { display: flex; }
.vap-grade-co { flex: 1; font-size: 11px; padding: 4px 7px; border: 1.5px solid #e2e8f0; border-radius: 7px; background: #f8fafc; color: #1e293b; font-family: inherit; }
.vap-grade-val { width: 64px; font-size: 11px; padding: 4px 7px; border: 1.5px solid #e2e8f0; border-radius: 7px; background: #f8fafc; color: #1e293b; font-family: inherit; }
.vm-add-btn { width: 100%; padding: 10px; border-radius: 8px; border: none; background: var(--v-primary); color: white; font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.2s; font-family: inherit; }
.vm-add-btn:hover { filter: brightness(1.08); }

/* MORE MENU */
.v-more-menu { position: fixed; background: white; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 12px 32px rgba(0,0,0,0.14); z-index: 9100; overflow: hidden; min-width: 190px; font-family: 'Plus Jakarta Sans', sans-serif; }
.v-more-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; font-weight: 700; color: #1e293b; text-decoration: none; background: none; border: none; width: 100%; text-align: left; cursor: pointer; transition: 0.15s; font-family: inherit; border-bottom: 1px solid #f1f5f9; }
.v-more-item svg { flex-shrink: 0; opacity: 0.7; }
.v-more-item:last-child { border-bottom: none; }
.v-more-item:hover { background: #f8fafc; color: var(--v-primary); }

/* MORE MENU: itens de perigo */
.v-more-item.warn { color: #ef4444; }
.v-more-item.warn:hover { background: #fef2f2; color: #dc2626; }

/* REPORT FORM */
.vm-report-body { padding: 16px 20px 20px; }
.v-report-type-row { display: flex; gap: 8px; margin-bottom: 14px; }
.v-report-type-btn { flex: 1; padding: 9px 8px; border-radius: 8px; border: 1.5px solid #e2e8f0; background: #f8fafc; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; color: #475569; transition: 0.15s; }
.v-report-type-btn.active { border-color: var(--v-primary); background: #eef2ff; color: var(--v-primary); }
.vm-report-desc { font-size: 13px; color: #475569; margin-bottom: 12px; line-height: 1.5; }
.vm-report-input { width: 100%; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-family: inherit; outline: none; box-sizing: border-box; }
.vm-report-input:focus { border-color: var(--v-primary); }
.vm-report-submit { width: 100%; padding: 12px; border-radius: 10px; border: none; background: var(--v-primary); color: white; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; margin-top: 10px; transition: 0.2s; }
.vm-report-submit:hover { filter: brightness(1.08); }

/* MODAL: DETALHES DAS VARIANTES */
.vi-row { border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.vi-row-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vi-var-name { font-size: 14px; font-weight: 800; color: #1e293b; }
.vi-desc { font-size: 12px; color: #475569; line-height: 1.6; }
.vi-desc p { margin: 0 0 4px; }
.vi-era-list { margin: 4px 0 0 14px; padding: 0; list-style: disc; }
.vi-era-list li { font-size: 11px; color: #64748b; margin-bottom: 2px; }
.vi-no-desc { font-size: 12px; color: #cbd5e1; font-style: italic; }
.varinfo-footer { padding: 14px 20px; border-top: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #94a3b8; flex-wrap: wrap; }
.varinfo-report-link { background: none; border: none; color: var(--v-primary); font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; padding: 0; }
.varinfo-report-link:hover { text-decoration: underline; }

/* BOTÃO VER MAIS (AJAX) */
#v-btn-loadmore {
    background: #ffffff;
    color: var(--v-primary);
    border: 1.5px solid var(--v-primary);
    padding: 13px 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#v-btn-loadmore:hover {
    background: #f5f3ff;
    border-color: #4338ca;
    color: #4338ca;
    box-shadow: 0 4px 16px rgba(79,70,229,0.15);
    transform: translateY(-1px);
}
#v-btn-loadmore:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
@keyframes vSpinner { to { transform: rotate(360deg); } }

#v-toast { position: fixed; bottom: 20px; right: 20px; background: #1e293b; color: white; padding: 12px 20px; border-radius: 12px; font-weight: 700; z-index: 9999; display: none; }

/* ESTADO VAZIO */
.v-empty-state { grid-column: 1 / -1; background: white; border-radius: 16px; border: 1px dashed #cbd5e1; padding: 40px 20px; text-align: center; max-width: 650px; margin: 20px auto; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.empty-icon { font-size: 48px; margin-bottom: 15px; }
.v-empty-state h3 { font-size: 20px; font-weight: 900; color: #0f172a; margin: 0 0 10px; }
.empty-sub { font-size: 14px; color: #64748b; margin-bottom: 30px; line-height: 1.5; font-weight: 500; }
.search-tutorial { display: flex; flex-direction: column; gap: 15px; text-align: left; margin-bottom: 30px; }
.tut-item { display: flex; align-items: flex-start; gap: 15px; background: #f8fafc; padding: 18px; border-radius: 12px; border: 1px solid #e2e8f0; }
.tut-badge { background: var(--v-primary); color: white; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.tut-text strong { display: block; font-size: 14px; color: #1e293b; margin-bottom: 6px; }
.tut-text span { font-size: 13px; color: #475569; line-height: 1.5; display: block; }
.tut-text em { background: #e2e8f0; padding: 2px 6px; border-radius: 4px; font-style: normal; font-weight: bold; color: #0f172a; }
.btn-clear-search { display: inline-block; background: #0f172a; color: white; padding: 14px 30px; border-radius: 8px; font-weight: 800; text-decoration: none; font-size: 14px; transition: 0.2s; text-transform: uppercase; }
.btn-clear-search:hover { background: var(--v-primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); }

/* ACTION BUTTONS – SVG icons */
.act-btn svg { pointer-events: none; }
.act-btn.wish svg path { fill: transparent; }
.act-btn.wish.active svg path { fill: currentColor; }

/* ── ADD PANEL (inline na overlay) ─────────────────────────── */
.v-card.add-mode { z-index: 20; }
.v-card.add-mode .v-overlay {
    position: absolute;
    inset: 0;
    min-height: 100%;
    transform: translateY(0) !important;
    overflow-y: auto;
    justify-content: flex-start;
}
.v-card.add-mode .v-card-info,
.v-card.add-mode .v-card-actions { display: none; }

.v-add-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
    animation: vapIn 0.16s ease;
    padding: 2px 0;
}
@keyframes vapIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 7px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2px;
}
.vap-back {
    display: flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s;
}
.vap-back:hover { color: #475569; background: none; }
.vap-back svg { pointer-events: none; }
.vap-acervo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}
.vap-acervo strong { color: #1e293b; font-size: 12px; font-weight: 900; }
.vap-remove-btn {
    background: none;
    border: 1px solid #fecaca;
    color: #ef4444;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.15s;
}
.vap-remove-btn:hover { background: #fef2f2; }
.vap-card-identity { padding: 5px 0 8px; border-bottom: 1px solid #e2e8f0; margin-bottom: 4px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.vap-card-name { font-size: 11px; font-weight: 800; color: #1e293b; line-height: 1.3; }
.vap-card-num-inline { font-size: 10px; font-weight: 300; color: #94a3b8; line-height: 1.3; white-space: nowrap; }
.vap-variants { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.vap-row {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vap-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
}
.vap-var-name { font-size: 11px; font-weight: 800; color: #1e293b; line-height: 1.2; }
.vap-price { font-size: 11px; font-weight: 700; color: var(--v-green); flex-shrink: 0; text-align: right; white-space: nowrap; }
.vap-price small { display: block; font-size: 9px; color: #94a3b8; font-weight: 600; }
.vap-add-btn {
    width: 100%;
    padding: 7px;
    border-radius: 6px;
    border: none;
    background: var(--v-primary);
    color: white;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.15s;
}
.vap-add-btn:hover:not(:disabled) { filter: brightness(1.1); }
.vap-add-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* RESPONSIVIDADE MOBILE */
@media (max-width: 1200px) { .cards-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) { .filters-bar { grid-template-columns: repeat(3, 1fr); } .cards-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) {
    .v-container { padding: 0 10px; margin-top: 10px; }
    .filters-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; border-radius: 16px; margin-bottom: 20px; }
    .filters-bar .f-group:nth-child(1), .filters-bar .f-group:nth-child(2), .filters-bar .f-group:nth-child(5), .filters-bar .f-group:nth-child(6) { grid-column: span 1; }
    .filters-bar .f-group:nth-child(3), .filters-bar .f-group:nth-child(4), .filters-bar .f-group:nth-child(7) { grid-column: span 2; }
    .f-input { height: 44px; font-size: 14px; }
    .btn-search { height: 48px; font-size: 16px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .v-card { border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column; height: 100%; aspect-ratio: auto; }
    .v-card-link-top { height: calc(100% - 130px); }
    .v-overlay { position: relative; transform: none; background: white; padding: 8px 10px; min-height: auto; flex: 1; border-top: 1px solid #f1f5f9; z-index: 10; justify-content: flex-end; }
    .v-img-wrap { aspect-ratio: 0.72; padding: 0; }
    .v-card-info h4 { font-size: 11px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; height: 26px; }
    .v-card-actions { gap: 6px; margin-top: 8px; }
    .act-btn { height: 32px; border-radius: 8px; font-size: 16px; }
    .v-qty-display { height: 32px; min-width: 32px; font-size: 13px; }
    .v-empty-state { padding: 30px 15px; border-radius: 12px; border: none; }
    .tut-item { padding: 15px; gap: 10px; flex-direction: column; align-items: center; text-align: center; }
    .v-card.add-mode .v-overlay { border-top: none; background: rgba(255,255,255,0.98); }
}
