/* ============================================================
   BUNDLE PRODUCT PAGE — bundle-product.css
   Shared by Pavi's Lab (dark) & Pavi's Sparkles (light/pink)
   Theme toggled via <body data-theme="lab|sparkles">
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pk: #ff007f;
  --pk2: #ff4da6;
  --pk3: #ffb6c1;

  /* Lab (dark) defaults */
  --bg-page:   #0d0d18;
  --bg-header: #13131f;
  --bg-sidebar:#12121e;
  --bg-card:   #1a1a2e;
  --bg-panel:  #13131f;
  --bg-panel2: #1e1e30;
  --border:    rgba(255,255,255,.08);
  --text-main: #fff;
  --text-sub:  rgba(255,255,255,.55);
  --text-muted:rgba(255,255,255,.3);
  --shadow:    0 8px 32px rgba(0,0,0,.5);
  --cat-active-bg: rgba(255,0,127,.18);
  --cat-active-border: rgba(255,0,127,.5);
  --cat-hover: rgba(255,255,255,.05);
  --logo-color: #fff;
  --header-border: rgba(255,255,255,.07);
  --pill-bg: rgba(255,255,255,.07);
  --pill-border: rgba(255,255,255,.12);
  --stepper-bg: rgba(255,255,255,.08);
  --add-btn-color: var(--pk);
}

/* Sparkles (light) theme overrides */
body[data-theme="sparkles"] {
  --bg-page:   #fff5f9;
  --bg-header: #fff;
  --bg-sidebar:#3d1a2e;
  --bg-card:   #fff;
  --bg-panel:  #1a0a14;
  --bg-panel2: #250d1c;
  --border:    rgba(0,0,0,.08);
  --text-main: #1a1a2e;
  --text-sub:  #666;
  --text-muted:#aaa;
  --shadow:    0 8px 32px rgba(255,0,127,.1);
  --cat-active-bg: rgba(255,0,127,.15);
  --cat-active-border: var(--pk);
  --cat-hover: rgba(255,0,127,.05);
  --logo-color: var(--pk);
  --header-border: rgba(0,0,0,.08);
  --pill-bg: rgba(255,0,127,.06);
  --pill-border: rgba(255,0,127,.2);
  --stepper-bg: rgba(0,0,0,.05);
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Keyframes ── */
@keyframes bpFadeUp   { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes bpSlideIn  { from{opacity:0;transform:translateX(-14px)} to{opacity:1;transform:translateX(0)} }
@keyframes bpPop      { 0%{transform:scale(.8);opacity:0} 60%{transform:scale(1.08)} 100%{transform:scale(1);opacity:1} }
@keyframes bpShake    { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
@keyframes bpPulse    { 0%,100%{box-shadow:0 0 0 0 rgba(255,0,127,.4)} 50%{box-shadow:0 0 0 8px rgba(255,0,127,0)} }
@keyframes bpFloat    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes spin       { to{transform:rotate(360deg)} }

/* ============================================================
   HEADER
   ============================================================ */
.bp-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.bp-header-in {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bp-back-btn {
  display: flex; align-items: center; gap: 7px;
  color: var(--text-sub); text-decoration: none;
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--border);
  transition: all .2s;
  flex-shrink: 0;
}
.bp-back-btn:hover { color: var(--pk); border-color: rgba(255,0,127,.3); background: rgba(255,0,127,.06); }

.bp-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  font-weight: 700;
  color: var(--logo-color);
  text-decoration: none;
  flex-shrink: 0;
}
body[data-theme="sparkles"] .bp-logo { color: var(--pk); }

.bp-header-title {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* Bundle type dropdown */
.bp-type-wrap {
  position: relative;
  flex-shrink: 0;
}
.bp-type-select {
  appearance: none;
  background: linear-gradient(135deg, var(--pk), #c2185b);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 36px 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 14px rgba(255,0,127,.35);
}
.bp-type-wrap::after {
  content: '▾';
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
  font-size: 12px;
}

/* ============================================================
   STEPS BAR
   ============================================================ */
.bp-steps {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.bp-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 20px;
  position: relative;
}
.bp-step.active { color: var(--pk); }
.bp-step.done   { color: #4ade80; }
.bp-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  background: var(--pill-bg);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: all .3s;
}
.bp-step.active .bp-step-num { background: var(--pk); border-color: var(--pk); color: #fff; }
.bp-step.done   .bp-step-num { background: #22c55e; border-color: #22c55e; color: #fff; }
.bp-step + .bp-step::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 20px;
  background: var(--border);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.bp-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 100px;
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 16px;
  align-items: start;
}

/* ============================================================
   LEFT SIDEBAR — Category list
   ============================================================ */
.bp-sidebar {
  background: var(--bg-sidebar);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.bp-sidebar-title {
  padding: 16px 16px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bp-cat-list { padding: 8px 0; }
.bp-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-left: 3px solid transparent;
  transition: all .2s;
}
.bp-cat-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.bp-cat-item.active {
  background: rgba(255,0,127,.15);
  border-left-color: var(--pk);
  color: #fff;
  font-weight: 700;
}
.bp-cat-item .bp-cat-icon { font-size: 18px; flex-shrink: 0; }
.bp-cat-item .bp-cat-count { margin-left: auto; font-size: 10px; color: rgba(255,255,255,.35); }

/* ============================================================
   CENTER — Product grid
   ============================================================ */
.bp-center { min-width: 0; }

.bp-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.bp-center-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}
/* Product grid */
.bp-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Product card */
.bp-prod-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: bpFadeUp .4s ease both;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.bp-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,0,127,.2);
}

.bp-prod-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pill-bg);
}
.bp-prod-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.bp-prod-card:hover .bp-prod-img-wrap img { transform: scale(1.06); }
.bp-prod-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}

/* Heart wishlist */
.bp-heart-btn {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #ccc;
  transition: all .25s;
  z-index: 2;
}
.bp-heart-btn:hover, .bp-heart-btn.liked { color: var(--pk); }
.bp-heart-btn.liked { animation: bpPop .3s ease; }

/* "Added" badge on card */
.bp-added-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--pk); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 10px;
  z-index: 2;
  animation: bpPop .3s ease;
  display: none;
}
.bp-prod-card.in-bundle .bp-added-badge { display: block; }

.bp-prod-info {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bp-prod-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bp-prod-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--pk);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.bp-price-old {
  text-decoration: line-through;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  font-size: 12px;
}
.bp-price-sale { color: var(--pk); }

/* Panel item row prices */
.bp-item-old {
  text-decoration: line-through;
  color: rgba(255,255,255,.4);
  font-size: 11px;
}
.bp-item-sale {
  color: var(--pk);
  font-weight: 700;
}

/* Add / Stepper */
.bp-prod-action { margin-top: auto; }
.bp-add-btn {
  width: 100%;
  padding: 8px;
  border: 1.5px solid var(--pk);
  background: transparent;
  color: var(--pk);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.bp-add-btn:hover { background: var(--pk); color: #fff; }

.bp-stepper {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--stepper-bg);
  border-radius: 8px;
  overflow: hidden;
}
.bp-prod-card.in-bundle .bp-add-btn  { display: none; }
.bp-prod-card.in-bundle .bp-stepper  { display: flex; }

.bp-step-btn {
  width: 34px; height: 34px;
  border: none; background: transparent;
  color: var(--text-main); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.bp-step-btn:hover { background: rgba(255,0,127,.15); color: var(--pk); }
.bp-qty-disp {
  flex: 1; text-align: center;
  font-size: 14px; font-weight: 800;
  color: var(--text-main);
}

/* skeleton */
.bp-skel-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.bp-skel-img  { aspect-ratio:1/1; background: var(--pill-bg); animation: bpFadeUp 1.5s ease infinite alternate; }
.bp-skel-line { height: 12px; background: var(--pill-bg); border-radius: 6px; margin: 10px 12px 6px; animation: bpFadeUp 1.5s ease infinite alternate; }
.bp-skel-line.short { width: 55%; }

/* empty state */
.bp-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Pagination — shown only when a category has more than one page */
.bp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.bp-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel2);
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.bp-page-btn:hover:not(:disabled) { background: var(--pk); border-color: var(--pk); }
.bp-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.bp-page-info {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
}

/* ============================================================
   RIGHT PANEL — Your Gift Box
   ============================================================ */
.bp-panel {
  background: var(--bg-panel);
  border-radius: 16px;
  border: 1px solid rgba(255,0,127,.12);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

.bp-panel-head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.bp-panel-head-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-panel-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--pk);
  color: #fff;
  border-radius: 10px;
  padding: 2px 8px;
}
.bp-panel-edit {
  font-size: 12px;
  color: var(--pk);
  cursor: pointer;
  font-weight: 600;
}

/* items scroll area */
.bp-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,0,127,.3) transparent;
}
.bp-items-scroll::-webkit-scrollbar { width: 4px; }
.bp-items-scroll::-webkit-scrollbar-thumb { background: rgba(255,0,127,.3); border-radius: 4px; }

.bp-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  transition: background .2s;
  animation: bpSlideIn .3s ease;
}
.bp-item-row:hover { background: rgba(255,255,255,.03); }
.bp-item-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
}
.bp-item-thumb-placeholder {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.bp-item-info { flex: 1; min-width: 0; }
.bp-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-item-meta { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }
.bp-item-remove {
  background: none; border: none; color: rgba(255,255,255,.35);
  font-size: 16px; cursor: pointer; flex-shrink: 0;
  transition: color .2s; padding: 4px;
}
.bp-item-remove:hover { color: #f87171; }

/* empty panel state */
.bp-panel-empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: 13px;
  animation: bpFloat 3s ease-in-out infinite;
}
.bp-panel-empty .bp-panel-empty-icon { font-size: 48px; margin-bottom: 10px; display: block; }

/* summary */
.bp-summary {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 18px 0;
  flex-shrink: 0;
}
.bp-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  margin-bottom: 7px;
}
.bp-summary-row.total {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 9px;
  margin-top: 2px;
}
.bp-summary-row.total span:last-child { color: var(--pk); }

/* trust badges */
.bp-trust {
  display: flex;
  justify-content: space-around;
  padding: 10px 10px 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.bp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: rgba(255,255,255,.4);
}
.bp-trust-item i { font-size: 14px; color: rgba(255,0,127,.6); }

/* CTA buttons */
.bp-panel-btns {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.bp-cta-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--pk), #c2185b);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all .3s;
  box-shadow: 0 6px 20px rgba(255,0,127,.35);
  animation: bpPulse 2s ease infinite;
  text-decoration: none;
}
.bp-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,0,127,.5); }
.bp-cta-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all .25s;
}
.bp-cta-secondary:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   MOBILE CATEGORY CHIPS — hidden on desktop, shown on mobile
   ============================================================ */
.bp-mob-cats {
  display: none;
  overflow-x: auto;
  gap: 8px;
  padding: 12px 16px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-page);
}
.bp-mob-cats::-webkit-scrollbar { display: none; }
.bp-mob-cat-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 22px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.bp-mob-cat-chip.active {
  background: var(--pk);
  border-color: var(--pk);
  color: #fff;
  box-shadow: 0 3px 14px rgba(255,0,127,.4);
}

/* ============================================================
   MOBILE INLINE GIFT BOX PANEL — hidden on desktop
   ============================================================ */
.bp-mob-panel {
  display: none;
  background: #12121e;
  margin: 0;
  padding: 0 16px 32px;
  border-top: 2px solid rgba(255,0,127,.18);
}

.bp-mob-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bp-mob-panel-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-mob-panel-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--pk);
  color: #fff;
  border-radius: 10px;
  padding: 2px 9px;
}
.bp-mob-panel-clear {
  font-size: 13px;
  font-weight: 600;
  color: var(--pk);
  cursor: pointer;
}

/* item rows inside mobile panel */
.bp-mob-items { padding: 6px 0; }
.bp-mob-panel-empty {
  text-align: center;
  padding: 28px 0 20px;
  color: rgba(255,255,255,.3);
  font-size: 13px;
  line-height: 1.7;
}

/* summary */
.bp-mob-summary { padding: 12px 0 0; }
.bp-mob-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.bp-mob-sum-row.total {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
  margin-top: 4px;
}
.bp-mob-sum-row.total span:last-child { color: var(--pk); }

/* trust badges */
.bp-mob-trust {
  display: flex;
  justify-content: space-around;
  padding: 14px 0 16px;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 4px;
}
.bp-mob-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: rgba(255,255,255,.4);
  text-align: center;
  line-height: 1.3;
}
.bp-mob-trust-item i { font-size: 16px; color: rgba(255,0,127,.6); }

/* cta buttons */
.bp-mob-btns { padding-top: 4px; }

/* ============================================================
   STEPS — connecting lines (new HTML element .bp-step-line)
   ============================================================ */
.bp-step-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255,255,255,.12);
  align-self: center;
  margin-bottom: 18px; /* align with number circle vertically */
}
.bp-step.done + .bp-step-line,
.bp-step.active + .bp-step-line { background: var(--pk); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bp-layout { grid-template-columns: 200px 1fr 290px; }
  .bp-prod-grid { grid-template-columns: repeat(3,1fr); }
}

/* ── MOBILE (≤ 860px) ── */
@media (max-width: 860px) {
  /* Layout collapses to single column */
  .bp-layout {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .bp-sidebar  { display: none; }
  .bp-panel    { display: none; }
  .bp-mob-cats { display: flex; }
  .bp-mob-panel{ display: block; }

  /* ── Header mobile ── */
  .bp-header { background: #12121e; border-bottom: 1px solid rgba(255,255,255,.06); }
  .bp-header-in {
    height: 56px;
    padding: 0 14px;
    gap: 10px;
  }
  /* Square back button */
  .bp-back-btn {
    width: 36px; height: 36px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.1);
  }
  .bp-back-label { display: none; }

  /* Logo — script font, left-aligned */
  .bp-logo {
    font-size: 20px;
    color: #fff !important;
    flex-shrink: 0;
  }

  /* Title centered */
  .bp-header-title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }

  /* Type select — pink pill */
  .bp-type-wrap::after { color: #fff; right: 10px; }
  .bp-type-select {
    background: linear-gradient(135deg, var(--pk), #c2185b);
    padding: 7px 28px 7px 12px;
    font-size: 12px;
    box-shadow: 0 3px 12px rgba(255,0,127,.35);
  }

  /* ── Steps bar mobile ── */
  .bp-steps {
    background: #12121e;
    padding: 14px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    gap: 0;
    align-items: flex-start;
  }
  .bp-step {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 5px;
    flex: none;
  }
  .bp-step-num {
    width: 32px; height: 32px;
    font-size: 13px;
    border: 2px solid rgba(255,255,255,.2);
    background: transparent;
    color: rgba(255,255,255,.35);
  }
  .bp-step.active .bp-step-num {
    background: var(--pk);
    border-color: var(--pk);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255,0,127,.2);
  }
  .bp-step-label {
    font-size: 10px;
    color: rgba(255,255,255,.35);
    white-space: nowrap;
  }
  .bp-step.active .bp-step-label { color: var(--pk); font-weight: 700; }
  .bp-step-line {
    flex: 1;
    margin-bottom: 22px; /* aligns with center of 32px circle */
  }

  /* ── Center section ── */
  .bp-center {
    padding: 14px 14px 0;
    background: #12121e;
  }
  .bp-center-head {
    margin-bottom: 12px;
    padding: 10px 0 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .bp-center-title { font-size: 17px; font-weight: 800; color: #fff; }

  /* ── Product grid ── */
  .bp-prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 16px;
  }

  /* ── Product card mobile redesign ── */
  .bp-prod-card {
    background: #1a1a2e;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
  }
  .bp-prod-img-wrap { aspect-ratio: 1 / 1; border-radius: 0; }
  .bp-prod-img-wrap img { border-radius: 0; }
  .bp-prod-placeholder { font-size: 38px; }

  /* "Added" badge */
  .bp-added-badge {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 8px 0 8px 0;
    top: 0; left: 0;
    border-radius: 16px 0 8px 0;
  }

  .bp-prod-info { padding: 10px 12px 12px; }
  .bp-prod-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }
  .bp-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--pk);
    margin-bottom: 10px;
  }

  /* Add button */
  .bp-add-btn {
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    font-size: 13px;
    border: 1.5px solid rgba(255,0,127,.5);
    color: var(--pk);
    background: transparent;
  }
  .bp-add-btn:hover { background: var(--pk); color: #fff; }

  /* Stepper with trash icon */
  .bp-stepper {
    background: rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    align-items: center;
  }
  .bp-prod-card.in-bundle .bp-stepper { display: flex; }
  .bp-prod-card.in-bundle .bp-add-btn { display: none; }

  .bp-step-btn {
    width: 36px; height: 36px;
    font-size: 15px;
    color: rgba(255,255,255,.7);
  }
  .bp-step-btn:hover { background: rgba(255,0,127,.15); color: var(--pk); }
  .bp-step-btn.bp-trash-btn { color: #f87171; }
  .bp-step-btn.bp-trash-btn:hover { background: rgba(248,113,113,.12); color: #f87171; }
  .bp-qty-disp { font-size: 14px; font-weight: 800; color: #fff; }

  /* Heart button */
  .bp-heart-btn {
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }
}

/* ── Extra small (≤ 400px) ── */
@media (max-width: 400px) {
  .bp-header-in { padding: 0 10px; gap: 8px; }
  .bp-header-title { font-size: 13px; }
  .bp-type-select { font-size: 11px; padding: 6px 26px 6px 10px; }
  .bp-prod-grid { gap: 10px; }
  .bp-prod-name { font-size: 11.5px; }
  .bp-prod-price { font-size: 13.5px; }
  .bp-steps { padding: 12px 14px 10px; }
  .bp-step-label { font-size: 9px; }
  .bp-step-num { width: 28px; height: 28px; font-size: 12px; }
  .bp-step-line { margin-bottom: 18px; }
}
