/* ============================================================
   CR ONE — Catálogo Digital  v3
   Brand: #FF5800 (orange) · #022D42 (navy) · #fff
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:     #FF5800;
  --orange2:    #C24401;
  --orange-s:   rgba(255,88,0,.12);
  --navy:       #022D42;
  --navy2:      #01405f;
  --navy3:      #012234;
  --bg:         #f0f4f8;
  --white:      #ffffff;
  --border:     #dde4ed;
  --text:       #0d1e2d;
  --muted:      #607080;
  --font:       'Inria Sans', 'Inter', sans-serif;
  --font-head:  'Archivo', 'Inter', sans-serif;
  --radius:     14px;
  --header-h:   68px;
  --cats-h:     52px;
  --shadow:     0 2px 14px rgba(0,0,0,.07);
  --shadow-h:   0 8px 32px rgba(2,45,66,.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 4px 24px rgba(2,45,66,.4);
}

.header-inner {
  max-width: 1400px; margin: 0 auto;
  height: 100%; padding: 0 32px;
  display: flex; align-items: center; gap: 20px;
}

.header-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-wrap { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; object-fit: contain; }

.logo-text {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
}
.logo-cr  { color: #fff; }
.logo-one { color: var(--orange); }

.brand-divider { width: 1px; height: 28px; background: rgba(255,255,255,.2); }
.header-tagline {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.5);
  letter-spacing: .5px; text-transform: uppercase; line-height: 1.4;
}

/* Search */
.search-wrap { flex: 1; position: relative; max-width: 500px; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: rgba(255,255,255,.45); pointer-events: none;
}
#search {
  width: 100%; padding: 10px 36px 10px 44px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 100px; color: #fff;
  font-size: 14px; font-family: var(--font); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
#search::placeholder { color: rgba(255,255,255,.4); }
#search:focus {
  border-color: var(--orange); background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(255,88,0,.22);
}
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.5);
  cursor: pointer; font-size: 13px; padding: 4px; transition: color .2s;
}
.search-clear:hover { color: #fff; }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-quote {
  display: flex; align-items: center; gap: 7px; padding: 9px 18px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 100px; color: #fff;
  font-size: 13px; font-weight: 600; font-family: var(--font-head);
  cursor: pointer; position: relative; white-space: nowrap; transition: all .2s;
}
.btn-quote svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-quote:hover { background: rgba(255,88,0,.18); border-color: var(--orange); }

.quote-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy);
}

.btn-wa-header {
  display: flex; align-items: center; gap: 7px; padding: 9px 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border-radius: 100px; color: #fff;
  font-size: 13px; font-weight: 700; font-family: var(--font-head);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255,88,0,.45); transition: box-shadow .2s, opacity .2s;
}
.btn-wa-header svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-wa-header:hover { opacity: .92; box-shadow: 0 6px 22px rgba(255,88,0,.6); }

/* ─── CATEGORY BAR ───────────────────────────────────────── */
.cats-bar {
  position: sticky; top: var(--header-h); z-index: 90;
  background: var(--navy2);
  border-bottom: 1px solid rgba(255,88,0,.3);
  height: var(--cats-h);
}

.cats-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.cats-inner::-webkit-scrollbar { display: none; }

.cat-pill {
  display: flex; align-items: center; gap: 5px; padding: 6px 16px;
  border-radius: 100px; border: 1.5px solid rgba(255,255,255,.2);
  background: transparent; color: rgba(255,255,255,.65);
  font-size: 12px; font-weight: 600; font-family: var(--font-head);
  cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all .18s;
}
.cat-pill:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,88,0,.12); }
.cat-pill.active {
  background: var(--orange); border-color: var(--orange); color: #fff;
  box-shadow: 0 3px 14px rgba(255,88,0,.45);
}
.cat-pill-icon { font-size: 13px; }
.cat-pill-svg { width: 14px; height: 14px; display: flex; align-items: center; flex-shrink: 0; }
.cat-pill-svg svg { width: 100%; height: 100%; }

/* Ícone SVG no sidebar flist */
.flist-icon { width: 15px; height: 15px; display: flex; align-items: center; flex-shrink: 0; color: var(--muted); }
.flist-icon svg { width: 100%; height: 100%; }
.flist label:hover .flist-icon { color: var(--orange); }

/* Ícone SVG no quote drawer */
.quote-item-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.quote-item-icon svg { width: 100%; height: 100%; }

/* Ícone SVG no modal */
.modal-visual-icon { width: 90px; height: 90px; color: rgba(255,255,255,.75); }
.modal-visual-icon svg { width: 100%; height: 100%; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.layout {
  max-width: 1400px; margin: 0 auto;
  padding: 28px 32px 100px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 24px; align-items: start;
}

/* ─── SIDEBAR ────────────────────────────────────────────── */
.sidebar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  position: sticky; top: calc(var(--header-h) + var(--cats-h) + 20px);
  box-shadow: var(--shadow);
}

.sidebar-head {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-family: var(--font-head);
  font-size: 12px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
}
.sidebar-head svg { color: var(--orange); flex-shrink: 0; }

.sidebar-body { padding: 20px 20px; }

.fgroup { margin-bottom: 20px; }
.flabel {
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
  font-family: var(--font-head);
}

.flist { display: flex; flex-direction: column; gap: 2px; }
.flist label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  cursor: pointer; padding: 5px 8px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.flist label:hover { background: var(--orange-s); color: var(--orange); }
.flist input[type=checkbox] { accent-color: var(--orange); cursor: pointer; flex-shrink: 0; }
.cat-count {
  margin-left: auto; font-size: 10px; font-weight: 600;
  background: var(--bg); padding: 2px 7px;
  border-radius: 100px; color: var(--muted);
}

.fselect {
  width: 100%; padding: 9px 12px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-size: 13px; font-family: var(--font); outline: none;
  cursor: pointer; transition: border-color .2s;
}
.fselect:focus { border-color: var(--orange); }

.btn-clear {
  width: 100%; padding: 9px; margin-top: 4px;
  background: transparent; border: 1.5px dashed var(--border);
  border-radius: 8px; color: var(--muted);
  font-size: 12px; font-family: var(--font-head); font-weight: 600;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-clear:hover { border-color: var(--orange); color: var(--orange); }

/* ─── TOOLBAR ────────────────────────────────────────────── */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.toolbar-left { display: flex; align-items: center; gap: 12px; }

.btn-filter-mobile {
  display: none; align-items: center; gap: 6px; padding: 9px 18px;
  background: var(--navy); border: none; border-radius: 100px;
  color: #fff; font-size: 13px; font-weight: 600; font-family: var(--font-head);
  cursor: pointer; box-shadow: 0 3px 12px rgba(2,45,66,.25);
}
.btn-filter-mobile svg { width: 15px; height: 15px; }

.result-count { font-size: 13px; color: var(--muted); }
.result-count strong { color: var(--text); font-weight: 700; }

.view-toggle { display: flex; gap: 4px; }
.vbtn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--muted); cursor: pointer; transition: all .18s;
}
.vbtn:hover { border-color: var(--orange); color: var(--orange); }
.vbtn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ─── PRODUCT GRID ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}
.products-grid.list-view { grid-template-columns: 1fr; }

/* ─── SKELETON ───────────────────────────────────────────── */
.skeleton-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); height: 285px;
  position: relative; overflow: hidden;
}
.skeleton-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.04), transparent);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ─── PRODUCT CARD ───────────────────────────────────────── */
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,88,0,.3);
  box-shadow: var(--shadow-h);
}

.card-visual {
  height: 160px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.card-visual img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s; }
.product-card:hover .card-visual img { transform: scale(1.06); }

/* Fundos vibrantes por categoria */
.card-visual.cat-cftv       { background: linear-gradient(145deg, #0a1f3d, #1a3a70); }
.card-visual.cat-acesso      { background: linear-gradient(145deg, #012e1e, #025038); }
.card-visual.cat-redes       { background: linear-gradient(145deg, var(--navy3), #01405f); }
.card-visual.cat-energia     { background: linear-gradient(145deg, #7d2600, var(--orange2)); }
.card-visual.cat-acessorios  { background: linear-gradient(145deg, #3a1050, #602080); }
.card-visual.cat-montagem    { background: linear-gradient(145deg, #1a2535, #2d4060); }
.card-visual.cat-informatica { background: linear-gradient(145deg, #01283a, #01456b); }
.card-visual.cat-outros      { background: linear-gradient(145deg, #1e2738, #2e3a50); }

.card-visual-icon {
  width: 56px; height: 56px;
  color: rgba(255,255,255,.7);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
}
.card-visual-icon svg { width: 100%; height: 100%; }
.product-card:hover .card-visual-icon { transform: scale(1.08); color: rgba(255,255,255,.95); }

.card-cat-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 9px; border-radius: 100px; font-size: 10px; font-weight: 700;
  background: var(--orange); color: #fff; font-family: var(--font-head);
}

.card-body { padding: 12px 14px 8px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card-name {
  font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4;
  font-family: var(--font-head);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-code { font-size: 11px; color: var(--muted); font-family: 'Courier New', monospace; }
.card-price { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--orange); margin-top: auto; padding-top: 4px; }
.card-price.no-price { font-family: var(--font); font-size: 12px; font-weight: 400; color: var(--muted); }

.card-actions { display: flex; gap: 6px; padding: 8px 14px 12px; }
.btn-card-quote {
  flex: 1; padding: 9px 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border: none; border-radius: 100px; color: #fff;
  font-size: 12px; font-family: var(--font-head); font-weight: 700;
  cursor: pointer; transition: box-shadow .2s, opacity .2s;
}
.btn-card-quote:hover { box-shadow: 0 4px 14px rgba(255,88,0,.4); }
.btn-card-quote.in-quote { background: linear-gradient(135deg, #16a34a, #15803d); }

.btn-card-wa {
  width: 38px; display: flex; align-items: center; justify-content: center;
  background: #f0fdf4; border: 1.5px solid #86efac;
  border-radius: 100px; cursor: pointer; color: #16a34a;
  text-decoration: none; transition: background .18s; flex-shrink: 0;
}
.btn-card-wa:hover { background: #dcfce7; }
.btn-card-wa svg { width: 16px; height: 16px; }

/* ─── LIST VIEW ──────────────────────────────────────────── */
.products-grid.list-view .product-card { flex-direction: row; height: 94px; }
.products-grid.list-view .card-visual { width: 94px; height: 100%; flex-shrink: 0; }
.products-grid.list-view .card-visual img { padding: 8px; }
.products-grid.list-view .card-visual-icon { font-size: 30px; }
.products-grid.list-view .card-body { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
.products-grid.list-view .card-name { flex: 1; -webkit-line-clamp: 1; }
.products-grid.list-view .card-code { min-width: 90px; }
.products-grid.list-view .card-price { margin-top: 0; padding-top: 0; min-width: 100px; text-align: right; }
.products-grid.list-view .card-actions { padding: 6px 12px 6px 0; flex-direction: column; gap: 4px; justify-content: center; }
.products-grid.list-view .card-cat-badge { display: none; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 4px; margin-top: 36px; flex-wrap: wrap;
}
.page-btn {
  min-width: 40px; height: 40px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 100px; color: var(--muted);
  font-size: 13px; font-family: var(--font-head); font-weight: 600;
  cursor: pointer; transition: all .18s;
}
.page-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); background: var(--orange-s); }
.page-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 3px 12px rgba(255,88,0,.3); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-dots { color: var(--muted); padding: 0 2px; font-size: 14px; }

/* ─── EMPTY / ERROR ──────────────────────────────────────── */
.empty-state, .error-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-icon, .error-icon { font-size: 52px; margin-bottom: 16px; }
.empty-state h3, .error-state h3 { font-size: 20px; font-family: var(--font-head); color: var(--text); margin-bottom: 8px; }
.empty-state p, .error-state p { font-size: 14px; margin-bottom: 24px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-orange {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border: none; border-radius: 100px;
  color: #fff; font-size: 14px; font-weight: 700; font-family: var(--font-head);
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,88,0,.3); transition: box-shadow .2s, opacity .2s;
}
.btn-orange:hover { opacity: .92; box-shadow: 0 6px 24px rgba(255,88,0,.45); }

.btn-outline-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; background: #f0fdf4;
  border: 1.5px solid #86efac; border-radius: 100px;
  color: #16a34a; font-size: 14px; font-weight: 700; font-family: var(--font-head);
  text-decoration: none; transition: background .18s;
}
.btn-outline-wa:hover { background: #dcfce7; }

/* ─── WA FLOAT ───────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25d366, #1aad55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 50;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ─── OVERLAY ────────────────────────────────────────────── */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(2,45,66,.5); backdrop-filter: blur(2px); z-index: 200;
}
.overlay.open { display: block; }

/* ─── FILTER DRAWER ──────────────────────────────────────── */
.drawer {
  position: fixed; top: 0; left: 0; width: 290px; height: 100%;
  background: var(--white); z-index: 201;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }

.drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff; font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
}
.drawer-close {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; color: #fff; cursor: pointer; font-size: 13px; transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,.25); }
.drawer-body { padding: 22px; }

/* ─── QUOTE DRAWER ───────────────────────────────────────── */
.quote-overlay { left: auto; right: 0; }
.quote-drawer {
  position: fixed; top: 0; right: 0; width: 370px; height: 100%;
  background: var(--white); border-left: 1px solid var(--border);
  z-index: 201; transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.quote-drawer.open { transform: translateX(0); }
.quote-items { flex: 1; overflow-y: auto; padding: 16px; }
.quote-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 48px 0; }

.quote-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px;
}
.quote-item-icon { font-size: 22px; flex-shrink: 0; }
.quote-item-info { flex: 1; min-width: 0; }
.quote-item-name {
  font-size: 13px; font-weight: 600; font-family: var(--font-head);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.quote-item-code { font-size: 11px; color: var(--muted); }
.quote-item-remove {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: 6px;
  color: var(--muted); cursor: pointer; font-size: 12px; flex-shrink: 0; transition: all .18s;
}
.quote-item-remove:hover { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.quote-footer { padding: 16px; border-top: 1px solid var(--border); }
.btn-send-quote { width: 100%; }

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(2,45,66,.6); backdrop-filter: blur(6px); z-index: 300;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; display: grid; grid-template-columns: 280px 1fr;
  box-shadow: 0 24px 80px rgba(2,45,66,.28);
  animation: modalIn .22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: rgba(2,45,66,.85); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; color: #fff; font-size: 13px; cursor: pointer; z-index: 1; transition: all .18s;
}
.modal-close:hover { background: #ef4444; border-color: #ef4444; }

.modal-visual {
  border-radius: 18px 0 0 18px; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 84px;
}
.modal-visual img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }

.modal-info { padding: 30px 28px 28px 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-cat-badge {
  display: inline-flex; padding: 4px 12px;
  background: var(--orange); border-radius: 100px;
  font-size: 11px; font-weight: 700; color: #fff;
  font-family: var(--font-head); width: fit-content;
}
.modal-title { font-size: 20px; font-weight: 800; line-height: 1.3; padding-right: 44px; color: var(--navy); font-family: var(--font-head); }
.modal-code { font-size: 12px; color: var(--muted); font-family: 'Courier New', monospace; }
.modal-price { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--orange); }
.modal-price.no-price { font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--muted); }
.modal-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.modal-btns { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ─── NEON / GLOW EFFECTS ────────────────────────────────── */

/* Brilho neon laranja nos cards ao hover */
.product-card:hover {
  box-shadow: 0 0 0 1px rgba(255,88,0,.35),
              0 8px 32px rgba(255,88,0,.18),
              0 0 40px rgba(255,88,0,.08);
}

/* Ícone do card com brilho neon sutil */
.product-card:hover .card-visual-icon svg {
  filter: drop-shadow(0 0 10px rgba(255,255,255,.3));
}

/* Cat pill ativo — neon laranja */
.cat-pill.active {
  box-shadow: 0 0 14px rgba(255,88,0,.5), 0 0 28px rgba(255,88,0,.2);
}

/* Header border neon */
.header {
  box-shadow: 0 4px 24px rgba(2,45,66,.4), 0 2px 0 var(--orange), 0 0 30px rgba(255,88,0,.12);
}

/* Search focus neon */
#search:focus {
  box-shadow: 0 0 0 3px rgba(255,88,0,.22), 0 0 16px rgba(255,88,0,.12);
}

/* WA float neon verde */
.wa-float:hover {
  box-shadow: 0 0 0 4px rgba(37,211,102,.25), 0 0 30px rgba(37,211,102,.4), 0 6px 28px rgba(37,211,102,.3);
}

/* Btn orange neon */
.btn-orange:hover {
  box-shadow: 0 0 20px rgba(255,88,0,.5), 0 6px 24px rgba(255,88,0,.3);
}

/* Btn WA header neon */
.btn-wa-header:hover {
  box-shadow: 0 0 22px rgba(255,88,0,.55), 0 6px 22px rgba(255,88,0,.4);
}

/* Badge neon pulse */
.quote-badge, .mobile-nav-badge {
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,88,0,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(255,88,0,.0); }
}

/* Linha separadora da category bar — neon */
.cats-bar {
  box-shadow: 0 4px 20px rgba(2,45,66,.3), 0 1px 0 rgba(255,88,0,.2);
}

/* Mobile nav orange btn neon */
.mobile-nav-btn.nav-orange svg {
  box-shadow: 0 0 14px rgba(255,88,0,.5);
}

/* Vinheta sutil nas bordas do card visual */
.card-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}

/* Card cat badge neon */
.card-cat-badge {
  box-shadow: 0 0 10px rgba(255,88,0,.35);
}

/* Page btn active neon */
.page-btn.active {
  box-shadow: 0 0 14px rgba(255,88,0,.45), 0 3px 12px rgba(255,88,0,.25);
}

/* Modal close hover neon red */
.modal-close:hover {
  box-shadow: 0 0 14px rgba(239,68,68,.5);
}

/* Sidebar header neon divider */
.sidebar-head {
  box-shadow: 0 3px 0 rgba(255,88,0,.3), 0 4px 14px rgba(2,45,66,.12);
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c5d0de; }

/* ─── MOBILE BOTTOM NAV ──────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: var(--navy);
  border-top: 2px solid var(--orange);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 24px rgba(2,45,66,.45);
}
.mobile-nav-inner { display: flex; align-items: stretch; height: 60px; }

.mobile-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 0 4px;
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 9px; font-weight: 700; font-family: var(--font-head);
  letter-spacing: .4px; text-transform: uppercase; text-decoration: none;
  transition: color .18s; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-btn svg { width: 22px; height: 22px; }
.mobile-nav-btn:hover,
.mobile-nav-btn.active { color: #fff; }

.mobile-nav-btn.nav-orange {
  color: #fff;
}
.mobile-nav-btn.nav-orange svg {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  padding: 6px; border-radius: 14px;
  width: 34px; height: 34px;
  box-shadow: 0 3px 12px rgba(255,88,0,.4);
}

.mobile-nav-badge {
  position: absolute; top: 8px; right: calc(50% - 20px);
  background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--navy);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1060px) {
  .layout { grid-template-columns: 200px 1fr; }
  .header-inner, .cats-inner, .layout { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; padding-bottom: 100px; }
  .sidebar { display: none; }
  .btn-filter-mobile { display: flex; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .modal { grid-template-columns: 1fr; }
  .modal-visual { border-radius: 18px 18px 0 0; min-height: 200px; font-size: 64px; }
  .modal-info { padding: 20px; }
  .brand-divider, .header-tagline { display: none; }
  .mobile-nav { display: block; }
  .wa-float { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 108px; }
  .header-inner { flex-wrap: wrap; padding: 10px 16px; height: auto; gap: 10px; }
  .header-brand { order: 1; flex: 1; }
  .header-actions { order: 2; }
  .search-wrap { order: 3; width: 100%; max-width: 100%; }
  .btn-label { display: none; }
  .btn-quote { padding: 9px 12px; }
  .btn-wa-header { padding: 9px 12px; }
  .cats-inner { padding: 0 12px; }
  .layout { padding: 14px 12px 100px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-visual { height: 118px; }
  .card-visual-icon { font-size: 36px; }
  .card-body { padding: 10px 10px 6px; gap: 3px; }
  .card-name { font-size: 12px; }
  .card-price { font-size: 15px; }
  .card-actions { padding: 6px 10px 10px; }
  .btn-card-quote { font-size: 11px; padding: 7px 8px; }
  .quote-drawer, .drawer { width: 100%; }
  .modal { width: calc(100vw - 24px); max-height: 95vh; }
  .modal-info { padding: 16px; gap: 10px; }
  .modal-title { font-size: 17px; }
  .modal-price { font-size: 22px; }
}

@media (max-width: 380px) {
  .card-visual { height: 100px; }
  .card-visual-icon { font-size: 30px; }
  .products-grid { gap: 8px; }
}
