/* =========================================================
   Buyonix — Custom Gaming Combo Builder & Saved Wishlist Styles
   ========================================================= */

.announce__ticker { flex: 1; overflow: hidden; }
.announce__links { display: flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: 12.5px; }
.announce__links a:hover { color: #fff; }
.search__icon { width: 18px; height: 18px; margin-left: 14px; color: #9a9aa6; flex-shrink: 0; }
.search .search__btn { width: auto; padding: 0 18px; font-weight: 700; font-size: 13.5px; }
.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  line-height: 1.2;
  transition: background 0.2s, border-color 0.2s;
}
.action-pill:hover {
  background: rgba(247, 147, 30, 0.12);
  border-color: rgba(247, 147, 30, 0.35);
}
.action-pill svg { color: var(--brand); }
.action-pill small { display: block; font-size: 10.5px; color: var(--muted); }
.action-pill b { font-size: 13px; color: #fff; white-space: nowrap; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
}
.cart-btn__badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}
@media (max-width: 768px) {
  .announce__links, .action-pill, .cart-btn__text { display: none; }
}

.bnd-subnav {
  background: rgba(11, 16, 27, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.bnd-subnav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.bnd-subnav__inner::-webkit-scrollbar {
  display: none;
}
.bnd-tab {
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.bnd-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.bnd-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.22), rgba(255, 61, 0, 0.14));
  border-color: rgba(255, 122, 0, 0.5);
}
.bnd-tab__pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: #00e599;
  color: #06130e;
  font-size: 0.7rem;
  font-weight: 800;
}

.bnd-page {
  padding: 34px 0 80px;
  position: relative;
  z-index: 2;
}
.bnd-view[hidden] {
  display: none !important;
}

/* Hero & Tiered Progress Card */
.bnd-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12), rgba(17, 23, 38, 0.9) 65%);
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 28px;
}
.bnd-hero__text h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.bnd-hero__text p {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
}

.bnd-tier-card {
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
}
.bnd-tier-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.bnd-tstep {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.bnd-tstep.is-unlocked {
  background: rgba(0, 229, 153, 0.12);
  border-color: rgba(0, 229, 153, 0.45);
}
.bnd-tstep span {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
}
.bnd-tstep b {
  font-size: 0.9rem;
  color: #fff;
}
.bnd-tstep.is-unlocked b {
  color: #4ade80;
}

.bnd-tier-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.bnd-tier-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff7a00, #00e599);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.bnd-tier-status {
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #4ade80;
}

/* Workspace Layout */
.bnd-workspace {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  margin-bottom: 52px;
}

/* 4 Rig Slots */
.bnd-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.bnd-slot {
  background: rgba(17, 23, 38, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.bnd-slot:hover {
  border-color: rgba(255, 122, 0, 0.45);
}
.bnd-slot.is-selecting {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2), 0 12px 28px rgba(0, 0, 0, 0.35);
  background: linear-gradient(165deg, rgba(255, 122, 0, 0.12), rgba(17, 23, 38, 0.92));
}
.bnd-slot__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}
.bnd-slot__clear {
  background: rgba(255, 71, 87, 0.16);
  color: #ff6b81;
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.72rem;
}
.bnd-slot__prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-top: 4px;
}
.bnd-slot__prod img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
}
.bnd-slot__prod b {
  font-size: 0.82rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bnd-slot__prod span {
  font-size: 0.86rem;
  font-weight: 800;
  color: #4ade80;
}
.bnd-slot__empty {
  padding: 20px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.bnd-slot__empty i {
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* Picker Card */
.bnd-picker-card {
  background: rgba(17, 23, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}
.bnd-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bnd-picker-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  margin-top: 4px;
}
.bnd-picker-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bnd-fpill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.bnd-fpill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.bnd-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bnd-pcard {
  background: rgba(10, 14, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bnd-pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 0, 0.4);
}
.bnd-pcard.is-picked {
  border-color: #00e599;
  background: rgba(0, 229, 153, 0.06);
}
.bnd-pcard__img {
  height: 130px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 10px;
  position: relative;
}
.bnd-pcard__img img {
  max-height: 110px;
  object-fit: contain;
}
.bnd-pcard__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bnd-pcard__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.bnd-pcard__price b {
  color: var(--brand);
  font-size: 1rem;
}
.bnd-pcard__price s {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Right Sticky Rig Summary */
.bnd-right {
  position: sticky;
  top: 140px;
}
.bnd-summary-card {
  background: rgba(17, 23, 38, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.bnd-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.bnd-reset-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
}
.bnd-reset-btn:hover {
  color: #fff;
}

.bnd-summary-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.bnd-sitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.bnd-sitem img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.bnd-sitem__info {
  flex: 1;
  min-width: 0;
}
.bnd-sitem__info small {
  display: block;
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 700;
}
.bnd-sitem__info b {
  display: block;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bnd-summary-totals {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.bnd-srow {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.bnd-srow--save {
  color: #4ade80;
  font-weight: 700;
}
.bnd-sgrand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}
.bnd-sgrand span {
  display: block;
  font-weight: 700;
}
.bnd-sgrand small {
  color: var(--muted);
  font-size: 0.74rem;
}
.bnd-sgrand b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  color: #00e599;
}

.bnd-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Curated Pre-Built Bundles */
.bnd-curated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bnd-cpack {
  background: rgba(17, 23, 38, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bnd-cpack__badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.16);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
}
.bnd-cpack h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}
.bnd-cpack p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.bnd-cpack__thumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.bnd-cpack__thumbs img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bnd-cpack__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.bnd-cpack__price b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: #4ade80;
}
.bnd-cpack__price s {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Saved Wishlist View */
.bnd-wish-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bnd-wish-head h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 6px 0 8px;
}
.bnd-wish-head p {
  color: var(--muted);
}
.bnd-wish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bnd-wish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bnd-wish-empty {
  background: rgba(17, 23, 38, 0.8);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 48px 24px;
  text-align: center;
  max-width: 640px;
  margin: 20px auto;
}
.bnd-wish-empty__ico {
  font-size: 3rem;
  margin-bottom: 10px;
}

@media (max-width: 1040px) {
  .bnd-hero,
  .bnd-workspace {
    grid-template-columns: 1fr;
  }
  .bnd-right {
    position: static;
  }
  .bnd-curated-grid {
    grid-template-columns: 1fr;
  }
  .bnd-wish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .bnd-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bnd-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bnd-picker-grid,
  .bnd-wish-grid,
  .bnd-tier-steps {
    grid-template-columns: 1fr;
  }
}
