/*
 * Xpert Price Table v3.2.0 — Public Styles
 * XpertPress — Production CSS
 * ─────────────────────────────────────────
 * No color-mix(). No CSS Grid level 3.
 * Compatible: Chrome 80+, Firefox 78+, Safari 13+, Edge 80+
 */

/* ── Reset & base ───────────────────────────────────────── */
.mpt-root *,
.mpt-root *::before,
.mpt-root *::after {
  box-sizing: border-box;
}
.mpt-root {
  --mpt-accent: #1d4ed8;
  --mpt-border: #e2e8f0;
  --mpt-bg:     #ffffff;
  --mpt-text:   #0f172a;
  --mpt-muted:  #64748b;
  --mpt-light:  #f8fafc;
  --mpt-light2: #f1f5f9;
  --mpt-green:  #16a34a;
  --mpt-red:    #dc2626;
  --mpt-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mpt-text);
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────────────────
   TOOLBAR
───────────────────────────────────────────────────────── */
.mpt-toolbar {
  background: #ffffff;
  border: 1px solid var(--mpt-border);
  border-radius: var(--mpt-radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
}

/* Search box */
.mpt-search-box {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 180px;
  flex: 1 1 180px;
  max-width: 300px;
}
.mpt-search-ico {
  position: absolute;
  left: 11px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}
.mpt-search-input {
  display: block;
  width: 100%;
  padding: 8px 34px 8px 36px;
  font-size: 13px;
  border: 1.5px solid var(--mpt-border);
  border-radius: 999px;
  background: var(--mpt-light);
  color: var(--mpt-text);
  outline: none;
  -webkit-transition: border-color .15s, box-shadow .15s;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.mpt-search-input:focus {
  border-color: var(--mpt-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.mpt-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #94a3b8;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: background .15s;
  transition: background .15s;
  line-height: 1;
}
.mpt-search-clear:hover { background: var(--mpt-light2); color: var(--mpt-text); }
.mpt-search-clear svg { width: 11px; height: 11px; }

/* Brand tabs */
.mpt-brand-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 5px;
  -webkit-box-flex: 999;
  -ms-flex: 999 1 0%;
  flex: 999 1 0%;
}
.mpt-tab {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1.5px solid var(--mpt-border);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  -webkit-transition: all .15s;
  transition: all .15s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mpt-tab:hover {
  border-color: var(--tc, var(--mpt-accent));
  color: var(--tc, var(--mpt-accent));
}
.mpt-tab.is-active {
  border-color: var(--tc, var(--mpt-accent));
  background: var(--tc, var(--mpt-accent));
  color: #fff;
  box-shadow: 0 2px 6px rgba(29,78,216,.25);
}
.mpt-tab-logo { width: 14px; height: 14px; object-fit: contain; border-radius: 2px; }

/* Sort row */
.mpt-sort-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--mpt-border);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.mpt-sort-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mpt-muted);
}
.mpt-sort-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border: 1.5px solid var(--mpt-border);
  border-radius: 5px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all .15s;
  transition: all .15s;
}
.mpt-sort-btn:hover { border-color: var(--mpt-accent); color: var(--mpt-accent); }
.mpt-sort-btn.is-active {
  background: var(--mpt-accent);
  border-color: var(--mpt-accent);
  color: #fff;
}
.mpt-sort-arr { width: 8px; height: 8px; -webkit-transition: -webkit-transform .15s; transition: transform .15s; }
.mpt-sort-arr.is-desc { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
.mpt-count-badge { margin-left: auto; font-size: 12px; color: var(--mpt-muted); font-weight: 500; }

/* ─────────────────────────────────────────────────────────
   BRAND SECTION
───────────────────────────────────────────────────────── */
.mpt-brand {
  margin-bottom: 24px;
  border: 1px solid var(--mpt-border);
  border-radius: var(--mpt-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Brand header */
.mpt-brand-hd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bc, var(--mpt-accent));
  color: #fff;
  gap: 10px;
}
.mpt-brand-hd-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mpt-brand-logo {
  height: 28px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.mpt-brand-monogram {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.mpt-brand-meta { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 1px; min-width: 0; }
.mpt-brand-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.mpt-brand-count { font-size: 11px; opacity: .75; }

/* View all button in header */
.mpt-hd-viewall {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: background .15s, border-color .15s;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.mpt-hd-viewall svg { width: 13px; height: 13px; }
.mpt-hd-viewall:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); color: #fff; text-decoration: none; }

/* ─────────────────────────────────────────────────────────
   TABLE
───────────────────────────────────────────────────────── */
.mpt-tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mpt-tbl-wrap::-webkit-scrollbar { height: 3px; }
.mpt-tbl-wrap::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

.mpt-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  min-width: 480px;
}

/* Head */
.mpt-tbl thead tr {
  background: #f8fafc;
  border-bottom: 2px solid var(--mpt-border);
}
.mpt-tbl th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mpt-muted);
  white-space: nowrap;
}

/* Body */
.mpt-tbl td {
  padding: 11px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--mpt-text);
}
.mpt-tbl tbody tr.mpt-row:last-child td { border-bottom: none; }
.mpt-tbl tbody tr.mpt-row:nth-child(even) td { background: #fafafa; }
.mpt-tbl tbody tr.mpt-row:hover td { background: #f0f4ff; }
.mpt-tbl tbody tr.is-featured td { background: #fffbeb; border-left: 3px solid #f59e0b; }

/* Series row */
.mpt-series-row td {
  padding: 5px 12px !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bc, var(--mpt-accent));
  background: #f0f4ff !important;
  border-bottom: none !important;
}
tr[hidden] { display: none !important; }

/* ── Model cell ───────────────────────────────────────── */
.mpt-th-model { min-width: 160px; }
.mpt-td-model { min-width: 160px; }

.mpt-model {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 3px;
}
.mpt-model-link {
  font-weight: 700;
  font-size: 13px;
  color: var(--mpt-text);
  text-decoration: none;
  line-height: 1.3;
  -webkit-transition: color .15s;
  transition: color .15s;
}
.mpt-model-link:hover { color: var(--bc, var(--mpt-accent)); text-decoration: none; }

/* Badges */
.mpt-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: .05em;
  vertical-align: middle;
  margin-left: 3px;
}
.mpt-tag--new { background: #22c55e; color: #fff; }
.mpt-tag--badge { background: var(--bc, var(--mpt-accent)); color: #fff; }

/* Highlight chips in model cell */
.mpt-chips {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 2px;
}
.mpt-chip {
  font-size: 10px;
  font-weight: 600;
  color: var(--bc, var(--mpt-accent));
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Spec value cells ──────────────────────────────────── */
.mpt-spec-val {
  display: block;
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
}
.mpt-th-memory,  .mpt-td-memory  { min-width: 90px; }
.mpt-th-display, .mpt-td-display { min-width: 100px; }
.mpt-th-camera,  .mpt-td-camera  { min-width: 90px; }
.mpt-th-battery, .mpt-td-battery { min-width: 80px; }

/* ── Price cell ──────────────────────────────────────── */
.mpt-th-price, .mpt-td-price { white-space: nowrap; min-width: 100px; }
.mpt-price-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1px;
}
.mpt-price {
  font-family: 'SF Mono', 'Fira Mono', ui-monospace, 'Cascadia Code', monospace;
  font-weight: 800;
  font-size: 14px;
  color: var(--bc, var(--mpt-accent));
}
.mpt-price-sale {
  font-family: 'SF Mono', 'Fira Mono', ui-monospace, monospace;
  font-weight: 800;
  font-size: 14px;
  color: #dc2626;
}
.mpt-price-was {
  font-family: 'SF Mono', 'Fira Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}
.mpt-discount {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  width: -webkit-fit-content;
  width: fit-content;
}
.mpt-price-na { color: #94a3b8; font-size: 12px; }

/* ── Stock cell ──────────────────────────────────────── */
.mpt-th-stock, .mpt-td-stock { white-space: nowrap; }
.mpt-stock {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  background: #dcfce7;
  color: #15803d;
}
.mpt-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.mpt-stock-qty { font-weight: 500; opacity: .7; }

/* ── Link cell ──────────────────────────────────────── */
.mpt-th-link, .mpt-td-link { white-space: nowrap; min-width: 80px; }
.mpt-view-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 11px;
  border: 1.5px solid var(--bc, var(--mpt-accent));
  color: var(--bc, var(--mpt-accent));
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  -webkit-transition: all .15s;
  transition: all .15s;
  background: transparent;
}
.mpt-view-btn:hover { background: var(--bc, var(--mpt-accent)); color: #fff; text-decoration: none; }

/* ── Specs toggle ────────────────────────────────────── */
.mpt-th-spec, .mpt-td-spec { width: 38px; padding: 0 8px !important; text-align: center; }
.mpt-spec-btn {
  width: 26px;
  height: 26px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #f8fafc;
  border: 1.5px solid var(--mpt-border);
  border-radius: 50%;
  cursor: pointer;
  color: #64748b;
  padding: 0;
  -webkit-transition: all .15s;
  transition: all .15s;
}
.mpt-spec-btn:hover { border-color: var(--bc, var(--mpt-accent)); color: var(--bc, var(--mpt-accent)); background: #eff6ff; }
.mpt-spec-btn[aria-expanded="true"] { background: var(--bc, var(--mpt-accent)); border-color: var(--bc, var(--mpt-accent)); color: #fff; }
.mpt-spec-ico { width: 12px; height: 12px; }
.mpt-spec-ico-v { -webkit-transition: -webkit-transform .25s; transition: transform .25s; }
.mpt-spec-btn[aria-expanded="true"] .mpt-spec-ico-v { -webkit-transform: rotate(90deg); transform: rotate(90deg); }

/* ─────────────────────────────────────────────────────────
   SPEC EXPANDED PANEL
───────────────────────────────────────────────────────── */
.mpt-spec-panel td {
  padding: 0 !important;
  background: #f8fafc !important;
  border-bottom: 2px solid var(--mpt-border) !important;
}
.mpt-spec-panel[hidden] { display: none !important; }

/* Highlight chips */
.mpt-hl-chips {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mpt-border);
  background: #eff6ff;
}
.mpt-hl-chip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  background: var(--bc, var(--mpt-accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Spec group */
.mpt-sg { border-bottom: 1px solid var(--mpt-border); }
.mpt-sg:last-child { border-bottom: none; }
.mpt-sg-title {
  margin: 0;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bc, var(--mpt-accent));
  background: #f0f4ff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
}

/* Spec grid — using flex instead of CSS Grid for compatibility */
.mpt-sg-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mpt-sg-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 8px 14px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: block;
}
.mpt-sg-item:nth-child(even) { border-right: none; }
.mpt-sg-flat .mpt-sg-item { -ms-flex: 0 0 33.333%; flex: 0 0 33.333%; max-width: 33.333%; }
.mpt-sg-item dt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3b8;
  margin-bottom: 2px;
}
.mpt-sg-item dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  word-break: break-word;
}
.mpt-spec-footer-badge {
  display: inline-block;
  margin: 8px 14px;
  background: var(--bc, var(--mpt-accent));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
}
.mpt-no-spec { padding: 12px 14px; color: #94a3b8; font-size: 12px; font-style: italic; margin: 0; }

/* ─────────────────────────────────────────────────────────
   BRAND FOOTER
───────────────────────────────────────────────────────── */
.mpt-brand-ft {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 11px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--mpt-border);
  gap: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.mpt-showing { font-size: 12px; color: #94a3b8; font-weight: 500; }
.mpt-viewall-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bc, var(--mpt-accent));
  color: #fff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: opacity .15s, -webkit-transform .15s;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.mpt-viewall-btn svg { width: 14px; height: 14px; }
.mpt-viewall-btn:hover { opacity: .9; -webkit-transform: translateY(-1px); transform: translateY(-1px); color: #fff; text-decoration: none; }

/* ─────────────────────────────────────────────────────────
   LOADING + EMPTY STATES
───────────────────────────────────────────────────────── */
.mpt-loading-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 40px;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
}
.mpt-loading-overlay[hidden] { display: none !important; }
.mpt-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #e2e8f0;
  border-top-color: var(--mpt-accent);
  border-radius: 50%;
  -webkit-animation: mpt-spin .7s linear infinite;
  animation: mpt-spin .7s linear infinite;
}
@-webkit-keyframes mpt-spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes mpt-spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

.mpt-panels.is-loading { opacity: .45; pointer-events: none; -webkit-transition: opacity .2s; transition: opacity .2s; }

.mpt-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.mpt-empty-state[hidden] { display: none !important; }
.mpt-empty-state svg { width: 56px; height: 56px; margin-bottom: 12px; opacity: .4; }
.mpt-empty-state p { font-size: 14px; margin: 0; }
.mpt-notice { color: #64748b; font-style: italic; padding: 16px 0; margin: 0; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .mpt-toolbar { padding: 12px; gap: 8px; }
  .mpt-search-box { max-width: 100%; -ms-flex: 1 1 100%; flex: 1 1 100%; }
  .mpt-th-display, .mpt-td-display,
  .mpt-th-chipset, .mpt-td-chipset,
  .mpt-th-charging,.mpt-td-charging,
  .mpt-th-os,      .mpt-td-os { display: none !important; }
  .mpt-brand-hd { -ms-flex-wrap: wrap; flex-wrap: wrap; }
  .mpt-hd-viewall { -ms-flex: 1 1 100%; flex: 1 1 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
  .mpt-sg-flat .mpt-sg-item { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}

/* Mobile */
@media (max-width: 540px) {
  .mpt-th-camera, .mpt-td-camera,
  .mpt-th-battery,.mpt-td-battery { display: none !important; }
  .mpt-tbl { min-width: 320px; font-size: 12px; }
  .mpt-tbl th { padding: 8px 8px; font-size: 10px; }
  .mpt-tbl td { padding: 9px 8px; }
  .mpt-model-link { font-size: 12px; }
  .mpt-price { font-size: 13px; }
  .mpt-brand-hd { padding: 10px 12px; }
  .mpt-brand-name { font-size: 14px; }
  .mpt-sort-row { gap: 4px; }
  .mpt-sort-btn { padding: 3px 8px; font-size: 11px; }
  .mpt-sg-item { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; border-right: none; }
  .mpt-sg-flat .mpt-sg-item { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
}

/* ═════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═════════════════════════════════════════════════════════ */
.mpt-faq-root {
  --fa: var(--faq-accent, var(--mpt-accent, #1d4ed8));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #1e293b;
  max-width: 860px;
  margin: 0 auto;
}

/* Controls */
.mpt-faq-controls { margin-bottom: 18px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 10px; }

.mpt-faq-search-wrap { position: relative; max-width: 380px; }
.mpt-faq-search-ico { position: absolute; left: 11px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); width: 15px; height: 15px; color: #94a3b8; pointer-events: none; }
.mpt-faq-search {
  display: block; width: 100%;
  padding: 9px 34px 9px 36px;
  font-size: 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #1e293b;
  outline: none;
  -webkit-transition: border .15s, box-shadow .15s;
  transition: border .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.mpt-faq-search:focus { border-color: var(--fa); background: #fff; box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.mpt-faq-search-clear {
  position: absolute; right: 10px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);
  background: none; border: none; padding: 4px; cursor: pointer; color: #94a3b8; border-radius: 50%;
  display: -webkit-box; display: -ms-flexbox; display: flex; line-height: 1;
  -webkit-transition: background .15s; transition: background .15s;
}
.mpt-faq-search-clear:hover { background: #f1f5f9; color: #1e293b; }
.mpt-faq-search-clear svg { width: 11px; height: 11px; }

/* Category pills */
.mpt-faq-cats { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 6px; }
.mpt-faq-cat {
  display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex;
  padding: 5px 13px; border: 1.5px solid #e2e8f0; border-radius: 999px;
  background: #fff; color: #64748b; font-size: 13px; font-weight: 600;
  cursor: pointer; -webkit-transition: all .15s; transition: all .15s; white-space: nowrap;
}
.mpt-faq-cat:hover { border-color: var(--fa); color: var(--fa); }
.mpt-faq-cat.is-active { border-color: var(--fa); background: var(--fa); color: #fff; }

/* FAQ list */
.mpt-faq-list {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Item */
.mpt-faq-item { border-bottom: 1px solid #e2e8f0; background: #fff; }
.mpt-faq-item:last-child { border-bottom: none; }
.mpt-faq-item.is-open { background: #fafcff; }

/* Question button */
.mpt-faq-q {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
  gap: 14px; width: 100%; padding: 17px 20px;
  background: none; border: none; text-align: left; cursor: pointer;
  -webkit-transition: background .15s; transition: background .15s;
}
.mpt-faq-q:hover { background: #f0f4ff; }
.mpt-faq-q-text { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.4; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
.mpt-faq-item.is-open .mpt-faq-q-text { color: var(--fa); }

.mpt-faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #f1f5f9; -ms-flex-negative: 0; flex-shrink: 0;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  -webkit-transition: background .2s; transition: background .2s;
}
.mpt-faq-item.is-open .mpt-faq-icon { background: #dbeafe; }
.mpt-faq-chevron { width: 15px; height: 15px; color: #64748b; -webkit-transition: -webkit-transform .28s cubic-bezier(.4,0,.2,1), color .2s; transition: transform .28s cubic-bezier(.4,0,.2,1), color .2s; }
.mpt-faq-item.is-open .mpt-faq-chevron { -webkit-transform: rotate(180deg); transform: rotate(180deg); color: var(--fa); }

/* Answer */
.mpt-faq-a { overflow: hidden; }
.mpt-faq-a[hidden] { display: none !important; }
.mpt-faq-a-inner {
  padding: 0 20px 18px;
  color: #475569; font-size: 14px; line-height: 1.7;
  border-top: 1px solid #e2e8f0; padding-top: 14px;
}
.mpt-faq-a-inner p { margin: 0 0 10px; }
.mpt-faq-a-inner p:last-child { margin: 0; }
.mpt-faq-a-inner a { color: var(--fa); }
.mpt-faq-a-inner ul, .mpt-faq-a-inner ol { padding-left: 20px; margin: 8px 0; }
.mpt-faq-a-inner li { margin-bottom: 4px; }
.mpt-faq-a-inner strong { color: #1e293b; }

.mpt-faq-empty { text-align: center; padding: 36px 20px; color: #94a3b8; font-size: 14px; font-style: italic; }
mark.mpt-faq-highlight { background: #fef9c3; border-radius: 2px; padding: 0 2px; }

/* FAQ responsive */
@media (max-width: 600px) {
  .mpt-faq-q { padding: 13px 14px; gap: 10px; }
  .mpt-faq-q-text { font-size: 14px; }
  .mpt-faq-a-inner { padding: 12px 14px 15px; font-size: 13px; }
  .mpt-faq-icon { width: 22px; height: 22px; }
  .mpt-faq-chevron { width: 13px; height: 13px; }
  .mpt-faq-search-wrap { max-width: 100%; }
}
