:root {
  --bg: #17191B;
  --bg-alt: #141618;
  --card: #222426;
  --orange: #FF6818;
  --orange-hover: #ff7d38;
  --text: #F2F2EF;
  --muted: #929292;
  --border: #353535;
  --ok: #34d399;
  --err: #f87171;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, .font-display { font-family: 'Barlow Condensed', system-ui, sans-serif; letter-spacing: 0.015em; margin: 0; }
.font-mono, .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.container { max-width: 1320px; width: 100%; margin: 0 auto; padding: 0 1.25rem; }
main.site-main { flex: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(23, 25, 27, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-link { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.brand-text { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.03em; color: var(--text); }
.nav-desktop { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0; font-size: 0.875rem; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text); border-bottom-color: var(--orange); }
.nav-link svg { width: 15px; height: 15px; color: var(--orange); opacity: 0.9; flex-shrink: 0; }
.nav-sub { display: none; list-style: none; margin: 0; padding: 0.4rem 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--card); border: 1px solid var(--border); border-radius: 3px; box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55); z-index: 50; }
.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: block; }
.nav-sub li a { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; font-size: 0.78rem; color: var(--text); text-decoration: none; }
.nav-sub li a:hover { background: var(--bg); color: var(--orange); }
.header-controls { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.ctrl-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.45rem 0.8rem; font-size: 0.78rem; font-weight: 600; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 3px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color 0.15s, color 0.15s; }
.ctrl-btn:hover { border-color: var(--orange); }
.ctrl-btn svg { width: 16px; height: 16px; }
.mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); border-radius: 3px; color: var(--text); cursor: pointer; }
.mobile-drawer { display: none; background: var(--card); border-top: 1px solid var(--border); padding: 1rem 1.25rem; }
.mobile-drawer.open { display: block; }
.mobile-drawer a { display: block; padding: 0.6rem 0.5rem; font-size: 0.9rem; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(53, 53, 53, 0.5); }
.mobile-drawer .sub-indent { padding-left: 1.25rem; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.25rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; background: var(--orange); color: #17191B; border: 1px solid var(--orange); border-radius: 3px; text-decoration: none; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.2rem; font-size: 0.82rem; font-weight: 600; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 3px; text-decoration: none; cursor: pointer; transition: border-color 0.15s; white-space: nowrap; }
.btn-secondary:hover { border-color: var(--orange); }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.75rem; }

/* Hero */
.hero-section { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; min-height: 470px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #17191B 0%, rgba(23, 25, 27, 0.86) 52%, rgba(23, 25, 27, 0.28) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1320px; width: 100%; margin: 0 auto; padding: 4rem 1.25rem; }
.hero-inner { max-width: 660px; }
.hero-kicker { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--orange); margin: 0 0 0.9rem; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.85rem); font-weight: 700; line-height: 1.03; color: var(--text); margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.05rem; color: rgba(242, 242, 239, 0.82); margin: 0 0 1.65rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.25rem; }
.hero-note { font-size: 0.75rem; color: var(--muted); margin: 0; max-width: 540px; }

/* Sections */
.section-block { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3.5rem 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.25rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(1.85rem, 3vw, 2.35rem); font-weight: 700; color: var(--text); }
.section-sub { font-size: 0.88rem; color: var(--muted); margin: 0.35rem 0 0; }

/* Filter Tabs */
.tabs-bar { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 3px; overflow-x: auto; max-width: 100%; }
.tab-btn { padding: 0.5rem 0.9rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); background: transparent; border: 0; border-radius: 2px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { background: var(--orange); color: #17191B; }

/* Product Grid & Cards */
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; transition: transform 0.15s, border-color 0.15s; }
.product-card:hover { transform: translateY(-2px); border-color: rgba(255, 104, 24, 0.65); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-media img { transform: scale(1.03); }
.discount-badge { position: absolute; top: 0.65rem; left: 0.65rem; padding: 0.25rem 0.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700; background: var(--orange); color: #17191B; border-radius: 2px; }
.fav-card-btn { position: absolute; top: 0.65rem; right: 0.65rem; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: rgba(23, 25, 27, 0.86); border: 1px solid var(--border); border-radius: 5px; color: var(--text); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.fav-card-btn:hover { border-color: var(--orange); }
.fav-card-btn.is-fav { background: var(--orange); border-color: var(--orange); color: #17191B; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; gap: 0.7rem; }
.product-meta { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-meta .demo-tag { color: var(--orange); font-weight: 600; }
.product-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.08rem; font-weight: 600; line-height: 1.35; margin: 0; min-height: 2.9rem; }
.product-title a { text-decoration: none; color: var(--text); }
.product-title a:hover { color: var(--orange); }
.product-desc { font-size: 0.85rem; color: var(--muted); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { padding-top: 0.85rem; border-top: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.price-old { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--muted); text-decoration: line-through; }
.price-now { font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; font-weight: 700; color: var(--text); }

/* Directory Grids */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dir-card { display: flex; flex-direction: column; justify-content: space-between; gap: 0.9rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 3px; text-decoration: none; transition: border-color 0.15s; }
.dir-card:hover { border-color: var(--orange); }
.dir-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.dir-card:hover h3 { color: var(--orange); }
.dir-card p { font-size: 0.76rem; color: var(--muted); margin: 0.45rem 0 0; }
.mkt-card { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--border); border-radius: 3px; text-decoration: none; transition: border-color 0.15s; }
.mkt-card:hover { border-color: var(--orange); }
.mkt-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex-shrink: 0; }

/* Editorial Articles Grid */
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 768px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.article-card:hover { border-color: rgba(255, 104, 24, 0.65); }
.article-thumb { aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.65rem; }

/* Catalog Layout */
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 960px) { .catalog-layout { grid-template-columns: 1fr; } }
.filter-box { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 1.25rem; position: sticky; top: 84px; }
.filter-group { margin-bottom: 1.35rem; }
.filter-group label.group-title { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text); margin-bottom: 0.55rem; }
.filter-pill { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.5rem 0.7rem; font-size: 0.84rem; color: var(--muted); text-decoration: none; border-radius: 3px; margin-bottom: 0.2rem; }
.filter-pill:hover { background: var(--bg); color: var(--text); }
.filter-pill.active { background: var(--orange); color: #17191B; font-weight: 700; }

/* PDP (Product Detail Page) */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .pdp-grid { grid-template-columns: 1fr; } }
.pdp-main-img { aspect-ratio: 4 / 3; background: var(--card); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; margin-top: 0.85rem; }
.pdp-thumb-btn { aspect-ratio: 4 / 3; padding: 0; background: var(--card); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; cursor: pointer; }
.pdp-thumb-btn.active { border-color: var(--orange); }
.pdp-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; position: sticky; top: 84px; }
.specs-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); background: var(--card); }
.specs-table th, .specs-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; text-align: left; }
.specs-table th { color: var(--muted); width: 40%; font-weight: 600; font-size: 0.8rem; }

/* Inputs */
.input-dark, input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; padding: 0.6rem 0.8rem; font-size: 0.86rem; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

/* Ad Unit */
.ad-slot { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 0.9rem 1rem; margin: 1.5rem 0; }
.ad-label { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.45rem; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); margin-top: 4rem; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.3fr 1fr; gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--border); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid.footer-grid-n { grid-template-columns: 2.2fr repeat(var(--footer-cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .footer-grid.footer-grid-n { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid.footer-grid-n { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin: 0 0 0.85rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.footer-col li a { text-decoration: none; }
.footer-col li a:hover { color: var(--orange); }
.footer-notice { margin-top: 1rem; padding: 0.9rem; background: var(--card); border: 1px solid var(--border); border-radius: 3px; font-size: 0.76rem; color: var(--muted); }
.footer-bottom { padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.76rem; color: var(--muted); }

/* Overlays & Drawers */
.overlay-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.76); backdrop-filter: blur(4px); display: none; }
.overlay-backdrop.open { display: flex; }
.search-modal-wrap { align-items: flex-start; justify-content: center; padding: 5rem 1rem 1rem; }
.search-modal { width: 100%; max-width: 600px; background: var(--card); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65); }
.drawer-wrap { justify-content: flex-end; }
.drawer-panel { width: 100%; max-width: 420px; height: 100%; background: var(--card); border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.cookie-banner { position: fixed; bottom: 1rem; right: 1rem; max-width: 410px; z-index: 50; background: var(--card); border: 1px solid var(--border); border-radius: 5px; padding: 1rem 1.15rem; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65); display: none; }
.cookie-banner.open { display: block; }

/* Admin Panel Layout (Sidebar + Cards) */
.admin-shell { min-height: 100vh; display: flex; background: var(--bg); }
.admin-sidebar { width: 260px; flex-shrink: 0; background: var(--bg-alt); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.admin-sidebar-head { height: 64px; padding: 0 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-nav { padding: 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.admin-nav-link { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.85rem; font-size: 0.84rem; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 3px; transition: background 0.15s, color 0.15s; }
.admin-nav-link:hover { background: var(--card); color: var(--text); }
.admin-nav-link.active { background: var(--orange); color: #17191B; font-weight: 700; }
.admin-main { flex: 1; min-width: 0; padding: 1.75rem 2rem; }
@media (max-width: 960px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: 0; border-bottom: 1px solid var(--border); }
  .admin-nav { flex-direction: row; overflow-x: auto; }
  .admin-main { padding: 1.25rem; }
}
.admin-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 1.35rem; margin-bottom: 1.25rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 1.15rem; }
.kpi-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.kpi-val { font-family: 'JetBrains Mono', monospace; font-size: 1.75rem; font-weight: 700; margin-top: 0.35rem; color: var(--text); }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 720px) { .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; } }
.field-group { margin-bottom: 0.85rem; }
.field-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 0.3rem; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 3px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; background: var(--card); }
.data-table th { background: var(--bg-alt); color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); }
.data-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.badge-pill { display: inline-block; padding: 0.2rem 0.5rem; font-size: 0.7rem; font-weight: 700; border-radius: 2px; font-family: 'JetBrains Mono', monospace; }
.badge-orange { background: rgba(255, 104, 24, 0.16); color: var(--orange); border: 1px solid rgba(255, 104, 24, 0.4); }
.badge-green { background: rgba(52, 211, 153, 0.14); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.35); }
.badge-muted { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.alert-bar { padding: 0.85rem 1rem; border-radius: 3px; margin-bottom: 1.25rem; background: rgba(255, 104, 24, 0.12); border: 1px solid var(--orange); color: var(--text); font-size: 0.86rem; }

/* Menu Builder & Unified Admin Panels */
.form-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .form-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .form-grid-4 { grid-template-columns: 1fr; } }
.menu-builder-grid, .two-col-5-7 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: start; }
.two-col-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1024px) { .menu-builder-grid, .two-col-5-7, .two-col-7-5 { grid-template-columns: 1fr; } }
.quick-preset-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.quick-preset-row .quick-preset-btn { appearance: none; -webkit-appearance: none; padding: 0.3rem 0.6rem; font-size: 0.72rem; background: var(--bg); border: 1px solid var(--border); border-radius: 2px; color: var(--muted); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.quick-preset-row .quick-preset-btn:hover { border-color: var(--orange); color: var(--text); }
.icon-picker-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.4rem; max-height: 152px; overflow-y: auto; padding: 0.55rem; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; }
.icon-picker-grid .icon-picker-btn { appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: center; padding: 0.55rem 0.25rem; border-radius: 2px; border: 1px solid var(--border); background: var(--card); color: var(--muted); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.icon-picker-grid .icon-picker-btn:hover { color: var(--text); border-color: rgba(255, 104, 24, 0.55); }
.icon-picker-grid .icon-picker-btn.active { background: var(--orange); border-color: var(--orange); color: #17191B; font-weight: 700; }
.menu-tree-list { display: flex; flex-direction: column; gap: 0.55rem; }
.menu-tree-row { padding: 0.78rem 0.9rem; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; transition: border-color 0.15s, background 0.15s; }
.menu-tree-row.is-drag-over { border-color: var(--orange); background: rgba(255, 104, 24, 0.1); }
.menu-tree-row.is-inactive { opacity: 0.55; }
.menu-row-main { display: flex; align-items: center; gap: 0.65rem; min-width: 0; flex: 1; }
.menu-drag-handle { color: var(--muted); cursor: grab; display: inline-flex; flex-shrink: 0; }
.menu-row-actions { display: flex; align-items: center; gap: 0.2rem; flex-shrink: 0; }
.menu-row-actions form { margin: 0; display: inline-flex; }
.menu-row-actions .menu-action-btn { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0.38rem; border-radius: 3px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color 0.15s, background 0.15s; }
.menu-row-actions .menu-action-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.menu-row-actions .menu-action-btn.hover-orange:hover { color: var(--orange); }
.menu-row-actions .menu-action-btn.hover-danger:hover { color: var(--err); }
.menu-level-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--muted); border: 1px solid var(--border); padding: 0.08rem 0.4rem; border-radius: 2px; }
.admin-nav-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 145px; padding-top: 1rem; border-bottom: 1px solid var(--border); }
.chart-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.chart-bar { width: 100%; max-width: 28px; background: var(--orange); border-radius: 2px 2px 0 0; min-height: 3px; transition: opacity 0.15s; }
.chart-bar:hover { opacity: 0.85; }
.preset-box { background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 0.85rem; }


/* ===== Espiar (visualizacao rapida) ===== */
.product-foot { flex-wrap: wrap; }
.product-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.5rem; margin-left: auto; }
.qv-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.qv-wrap { align-items: center; justify-content: center; padding: 1rem; }
.qv-panel { position: relative; width: 100%; max-width: 960px; max-height: 92vh; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: 5px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65); }
.qv-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; }
.qv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.qv-gallery { padding: 1.25rem; border-right: 1px solid var(--border); }
.qv-main { position: relative; aspect-ratio: 4 / 3; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.qv-main > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: rgba(23, 25, 27, 0.85); border: 1px solid var(--border); border-radius: 3px; color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.qv-nav:hover { border-color: var(--orange); }
.qv-nav[hidden] { display: none; }
.qv-prev { left: 0.5rem; }
.qv-next { right: 0.5rem; }
.qv-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; overflow-x: auto; }
.qv-thumbs[hidden] { display: none; }
.qv-thumb { flex: 0 0 72px; aspect-ratio: 4 / 3; padding: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; cursor: pointer; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumb.active { border-color: var(--orange); }
.qv-info { padding: 1.5rem 1.5rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.qv-title { font-size: 1.7rem; line-height: 1.1; margin: 0; padding-right: 2.5rem; }
.qv-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.qv-avail { font-size: 0.76rem; color: var(--muted); }
.qv-short { font-size: 0.9rem; color: var(--text); margin: 0; }
.qv-desc { font-size: 0.84rem; color: rgba(242, 242, 239, 0.82); line-height: 1.6; white-space: pre-line; margin: 0; }
.qv-specs th, .qv-specs td { padding: 0.5rem 0.7rem; font-size: 0.8rem; }
.qv-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.qv-short[hidden], .qv-desc[hidden], .qv-specs[hidden], .qv-avail[hidden], .qv-old[hidden], .qv-badge[hidden] { display: none; }
body.qv-lock { overflow: hidden; }
@media (max-width: 760px) {
  .qv-grid { grid-template-columns: 1fr; }
  .qv-gallery { border-right: 0; border-bottom: 1px solid var(--border); }
  .qv-wrap { padding: 0.5rem; }
  .qv-panel { max-height: 96vh; }
  .qv-info { padding: 1.25rem; }
}
