/* ============================================================
   Build My PC — v4.4.0  Optimised Dark UI
   ============================================================
   Color system
   ─────────────────────────────────────────────────────────
   Background layers
     L0  app shell          #080810
     L1  nav / summary      #0c0c16
     L2  products column    #0e0e1a
     L3  card surface       rgba(255,255,255,.055)
     L4  card hover         rgba(255,255,255,.092)

   Accent / status
     Blue primary    #00ccff   (brighter than before → better contrast)
     Blue glow       rgba(0,204,255,.28)
     Green instock   #22c55e
     Amber backorder #f59e0b
     Gray  oos       #4b5563

   Typography
     T1  product name   #f0f0ff  13.5px  700
     T2  description    #5a5a78  11px    400
     T3  price          #00ccff  14px    800
     T4  stock qty      #22c55e  10px    700  (pill badge)
     T5  nav items      #505068  10.5px  700
     T6  nav active     #ffffff          800
   ============================================================ */

/* ── Scoped reset ─────────────────────────────────────────── */
.bmpc-app *,
.bmpc-app *::before,
.bmpc-app *::after { box-sizing: border-box; margin: 0; padding: 0; }
.bmpc-app {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #c8c8e0;
  -webkit-font-smoothing: antialiased;
}
.bmpc-app input,
.bmpc-app button,
.bmpc-app textarea,
.bmpc-app select {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

/* ── App wrapper ─────────────────────────────────────────── */
.bmpc-app {
  background: #080810;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 12px 48px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}

/* ── Header ──────────────────────────────────────────────── */
.bmpc-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #080810 0%, #0e0e1c 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bmpc-app-title {
  font-size: 16px;
  font-weight: 900;
  color: #00ccff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(0,204,255,.4);
}
.bmpc-loaded-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #666688;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.bmpc-loaded-badge strong { color: #c0c0d8; }
.bmpc-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ── Three-column grid ───────────────────────────────────── */
.bmpc-app-body {
  display: grid;
  grid-template-columns: 185px 1fr 295px;
  grid-template-rows: 1fr;
  height: calc(100vh - 150px);
  min-height: 540px;
  max-height: 880px;
  overflow: hidden;
}
.bmpc-nav-col,
.bmpc-products-col,
.bmpc-summary-col {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  height: 100%;
}

/* ══ LEFT: Nav ═══════════════════════════════════════════ */
.bmpc-nav-col {
  background: #0c0c16;
  border-right: 1px solid rgba(255,255,255,.05);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.bmpc-nav-col::-webkit-scrollbar { display: none; }

.bmpc-nav-item {
  display: block;
  padding: 12px 14px 12px 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #464660;
  cursor: pointer;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: background .15s, color .15s, border-color .15s;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.bmpc-nav-item:last-child { border-bottom: none; }
.bmpc-nav-item:hover {
  background: rgba(0,204,255,.07);
  color: #a0a0c8;
  border-left-color: rgba(0,204,255,.3);
}
.bmpc-nav-item.is-active {
  background: linear-gradient(90deg, rgba(0,204,255,.14) 0%, rgba(0,204,255,.04) 100%);
  color: #ffffff;
  border-left-color: #00ccff;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0,204,255,.3);
}
.bmpc-nav-item:focus-visible { outline: 2px solid #00ccff; outline-offset: -2px; }

/* ══ MIDDLE: Products ════════════════════════════════════ */
.bmpc-products-col {
  display: flex;
  flex-direction: column;
  background: #0e0e1a;
  overflow: hidden;
  height: 100%;
}

/* Search bar */
.bmpc-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 11px 16px;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bmpc-search-icon {
  flex-shrink: 0;
  color: #404060;
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
}
.bmpc-search-icon svg { display: block; }
.bmpc-search-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  color: #c0c0d8;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bmpc-search-input::placeholder { color: #303048; letter-spacing: 0.6px; }
.bmpc-search-input:focus {
  border-color: rgba(0,204,255,.45);
  box-shadow: 0 0 0 3px rgba(0,204,255,.08);
}

/* Product panel */
.bmpc-product-panel {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0e0e1a;
  padding: 10px 10px 10px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.08) transparent;
}
.bmpc-product-panel::-webkit-scrollbar { width: 4px; }
.bmpc-product-panel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.08);
  border-radius: 2px;
}

/* Hint / empty */
.bmpc-panel-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 260px;
  padding: 30px 20px;
  text-align: center;
  gap: 14px;
}
.bmpc-panel-hint svg { opacity: 0.12; }
.bmpc-panel-hint p { color: #383850; font-size: 13px; }
.bmpc-panel-error p { color: #ef4444; }
.bmpc-retry-btn {
  margin-top: 10px;
  padding: 8px 18px;
  background: #00ccff;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* ── Product card list ───────────────────────────────────── */
.bmpc-pcard-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ══ GLASS PRODUCT CARD ══════════════════════════════════════
   Left colored bar = stock status at a glance.
   Surface = frosted glass over the dark panel.               */
.bmpc-pcard {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .16s, border-color .16s, box-shadow .16s, transform .12s;

  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 2px 8px rgba(0,0,0,.4);
}

/* Left status bar — instantly shows instock / backorder / oos */
.bmpc-pcard::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #22c55e;       /* default: instock */
  box-shadow: 0 0 8px rgba(34,197,94,.5);
}
.bmpc-pcard.is-backorder::before {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245,158,11,.5);
}
.bmpc-pcard.is-disabled::before {
  background: #374151;
  box-shadow: none;
}
.bmpc-pcard.is-incompatible::before { background: #1f2937; box-shadow: none; }

.bmpc-pcard:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,204,255,.28);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 6px 22px rgba(0,0,0,.5),
    0 0 0 1px rgba(0,204,255,.1);
}
.bmpc-pcard.is-selected {
  background: rgba(0,204,255,.1);
  border-color: rgba(0,204,255,.5);
  box-shadow:
    inset 0 1px 0 rgba(0,204,255,.14),
    0 4px 18px rgba(0,204,255,.18);
}
.bmpc-pcard.is-selected::before {
  background: #00ccff;
  box-shadow: 0 0 10px rgba(0,204,255,.7);
}
.bmpc-pcard.is-incompatible {
  opacity: 0.32;
  pointer-events: none;
  filter: grayscale(80%);
}
.bmpc-pcard.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.bmpc-pcard.is-disabled:hover {
  transform: none;
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 8px rgba(0,0,0,.4);
}

/* Thumbnail */
.bmpc-pcard-thumb {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bmpc-pcard-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bmpc-pcard-no-img { width: 100%; height: 100%; background: rgba(255,255,255,.03); }

/* Card body */
.bmpc-pcard-body { flex: 1; min-width: 0; padding-left: 4px; }

.bmpc-pcard-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e8e8f8;
  line-height: 1.38;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.1px;
}
.bmpc-pcard-desc {
  font-size: 11px;
  color: #4a4a68;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

/* QTY pill badge */
.bmpc-pcard-stock-qty {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

/* Card right */
.bmpc-pcard-right {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 90px;
}
.bmpc-pcard-price {
  font-size: 14px;
  font-weight: 900;
  color: #00ccff;
  white-space: nowrap;
  letter-spacing: -0.3px;
  text-shadow: 0 0 16px rgba(0,204,255,.35);
}
.bmpc-pcard-check {
  width: 22px;
  height: 22px;
  background: #00ccff;
  color: #000;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0,204,255,.6);
}

/* ── Badges ──────────────────────────────────────────────── */
.bmpc-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 5px;
  text-transform: uppercase;
}
.bmpc-badge--new {
  background: rgba(0,204,255,.12);
  color: #5ad4ff;
  border: 1px solid rgba(0,204,255,.25);
}
.bmpc-badge--backorder {
  background: rgba(245,158,11,.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.25);
}
.bmpc-badge--oos {
  background: rgba(239,68,68,.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,.2);
}

/* ── Loading ─────────────────────────────────────────────── */
.bmpc-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  color: #404060;
  font-size: 13px;
}
.bmpc-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.07);
  border-top-color: #00ccff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: bmpc-spin .7s linear infinite;
}
@keyframes bmpc-spin { to { transform: rotate(360deg); } }

.bmpc-empty { text-align: center; padding: 28px 16px; color: #383850; font-size: 13px; }

/* ══ RIGHT: Summary ══════════════════════════════════════ */
.bmpc-summary-col {
  background: #0c0c16;
  border-left: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.bmpc-summary-title {
  padding: 14px 16px 12px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.8px;
  color: #c8c8e8;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  background: rgba(0,0,0,.25);
  text-transform: uppercase;
}
.bmpc-summary-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.bmpc-summary-list::-webkit-scrollbar { display: none; }

.bmpc-summary-row {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.035);
}
.bmpc-summary-row:last-child { border-bottom: none; }

.bmpc-summary-slot-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #303048;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.bmpc-summary-add {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: #2a2a40;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
}
.bmpc-summary-add:hover { color: #00ccff; }

.bmpc-summ-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #d0d0e8;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.bmpc-summ-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.bmpc-summ-price {
  font-size: 13px;
  font-weight: 900;
  color: #00ccff;
  letter-spacing: -0.2px;
  text-shadow: 0 0 12px rgba(0,204,255,.3);
}
.bmpc-summ-remove {
  background: none;
  border: none;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #993333;
  cursor: pointer;
  padding: 0;
  text-transform: uppercase;
  transition: color .15s;
}
.bmpc-summ-remove:hover { color: #ff4444; }

.bmpc-summ-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.bmpc-summ-chip {
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: #606080;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.bmpc-summ-chip:hover { border-color: #00ccff; color: #00ccff; }
.bmpc-summ-chip.is-active {
  background: #00ccff;
  color: #000;
  border-color: #00ccff;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(0,204,255,.4);
}

/* Summary footer */
.bmpc-summary-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 16px;
  flex-shrink: 0;
  background: rgba(0,0,0,.35);
}
.bmpc-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.bmpc-total-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #404060;
  text-transform: uppercase;
}
.bmpc-total-amount {
  font-size: 20px;
  font-weight: 900;
  color: #00ccff;
  letter-spacing: -0.5px;
  text-shadow: 0 0 24px rgba(0,204,255,.5);
}
.bmpc-summary-actions { display: flex; gap: 8px; }
.bmpc-action-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  text-transform: uppercase;
  border: none;
  outline: none;
  white-space: nowrap;
}
.bmpc-action-btn:disabled,
.bmpc-action-btn.loading { opacity: 0.4; cursor: not-allowed; }
.bmpc-action-btn--outline {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: #666688;
}
.bmpc-action-btn--outline:hover:not(:disabled) {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
  color: #c0c0d8;
}
.bmpc-action-btn--primary {
  background: linear-gradient(135deg, #0099cc 0%, #00ccff 100%);
  color: #000;
  font-weight: 900;
  box-shadow: 0 2px 14px rgba(0,204,255,.35);
}
.bmpc-action-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #00aadd 0%, #22ddff 100%);
  box-shadow: 0 4px 20px rgba(0,204,255,.5);
}

/* ── Toast ───────────────────────────────────────────────── */
.bmpc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 10100;
  white-space: nowrap;
  pointer-events: none;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
}
.bmpc-toast.show    { opacity: 1; }
.bmpc-toast.success { background: rgba(22,163,74,.88); }
.bmpc-toast.error   { background: rgba(220,38,38,.88); }
.bmpc-toast.warning { background: rgba(180,83,9,.88); }
.bmpc-toast.info    { background: rgba(29,78,216,.88); }

/* ── Quantity Modal ──────────────────────────────────────── */
.bmpc-qty-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 10200;
  backdrop-filter: blur(4px);
}
.bmpc-qty-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(12,12,22,.97);
  color: #eee;
  width: 90%;
  max-width: 340px;
  border-radius: 18px;
  box-shadow: 0 28px 64px rgba(0,0,0,.85);
  border: 1px solid rgba(255,255,255,.1);
  padding: 26px 24px;
  z-index: 10201;
  opacity: 0;
  transition: opacity .18s ease;
  backdrop-filter: blur(24px);
}
.bmpc-qty-modal.show { opacity: 1; }
.bmpc-qty-header { font-size: 15px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.bmpc-qty-sub    { font-size: 12px; color: #555570; margin-bottom: 16px; }
.bmpc-qty-chips  { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.bmpc-qty-chip {
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  background: rgba(255,255,255,.05);
  color: #808098;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.bmpc-qty-chip:hover { border-color: #00ccff; color: #00ccff; }
.bmpc-qty-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.bmpc-qty-btn {
  background: linear-gradient(135deg, #0099cc, #00ccff);
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(0,204,255,.3);
  transition: opacity .15s;
}
.bmpc-qty-btn:hover { opacity: .85; }
.bmpc-qty-input {
  width: 76px;
  text-align: center;
  padding: 8px;
  font-size: 20px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
}
.bmpc-qty-range  { width: 100%; margin-bottom: 16px; accent-color: #00ccff; }
.bmpc-qty-footer { display: flex; justify-content: flex-end; gap: 8px; }
.bmpc-qty-cancel {
  padding: 10px 18px;
  background: rgba(255,255,255,.06);
  color: #777790;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.bmpc-qty-ok {
  padding: 10px 22px;
  background: linear-gradient(135deg, #0099cc, #00ccff);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0,204,255,.4);
  letter-spacing: 0.3px;
}
.bmpc-qty-ok:hover { opacity: .88; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bmpc-app-body { grid-template-columns: 160px 1fr 260px; }
}
@media (max-width: 800px) {
  .bmpc-app-body {
    grid-template-columns: 115px 1fr;
    grid-template-rows: 1fr auto;
    height: auto; min-height: 480px; max-height: none;
  }
  .bmpc-summary-col {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.05);
    height: auto; overflow: visible;
  }
  .bmpc-summary-list { max-height: 260px; overflow-y: auto; }
  .bmpc-nav-col, .bmpc-products-col { height: 460px; }
}
@media (max-width: 600px) {
  .bmpc-app-body { display: flex; flex-direction: column; height: auto; overflow: visible; }
  .bmpc-nav-col {
    display: flex; flex-direction: row;
    overflow-x: auto; overflow-y: hidden;
    height: auto; border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .bmpc-nav-item {
    flex-shrink: 0;
    border-left: none; border-bottom: 3px solid transparent;
    white-space: nowrap; padding: 10px 14px; font-size: 10px;
  }
  .bmpc-nav-item.is-active { border-bottom-color: #00ccff; border-left-color: transparent; }
  .bmpc-products-col { height: 420px; }
  .bmpc-summary-col { height: auto; overflow: visible; border-left: none; border-top: 1px solid rgba(255,255,255,.05); }
  .bmpc-summary-list { max-height: 260px; overflow-y: auto; }
  .bmpc-summary-actions { flex-direction: column; }
  .bmpc-action-btn { width: 100%; }
  .bmpc-qty-modal {
    top: auto; bottom: 0; left: 0; right: 0;
    width: 100%; max-width: 100%;
    border-radius: 20px 20px 0 0;
    transform: none; padding: 24px 18px 32px;
  }
}
@media (max-width: 480px) {
  .bmpc-app-header { flex-wrap: wrap; gap: 8px; }
  .bmpc-app-title  { font-size: 14px; }
  .bmpc-pcard-thumb { width: 48px; height: 48px; }
  .bmpc-pcard-right { min-width: 72px; }
  .bmpc-pcard-price { font-size: 12.5px; }
}
