/* Featured bundle-type demos (independent pages) */

.bxt-shell {
  padding: calc(var(--pt-header-h) + 28px) 0 8px;
  background: #f3f4f6;
}
.bxt-shell + .bxq {
  padding-top: 20px;
}

.bxt-page {
  padding: calc(var(--pt-header-h) + 28px) 0 72px;
  background: #f3f4f6;
}

.bxt-nav__label {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}
.bxt-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bxt-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #d7dbe0;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
}
.bxt-tab:hover {
  border-color: #b8bec6;
  color: #111;
}
.bxt-tab.is-on {
  background: #d5d8dd;
  border-color: #c3c7ce;
}
.bxt-tab__ico {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #111 28%, transparent 30%),
    conic-gradient(from 0deg, #666, #bbb, #666);
  flex-shrink: 0;
}

.bxt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.bxt-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.bxt-grid--single {
  grid-template-columns: minmax(280px, 420px);
}

.bxt-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bxt-card__body {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.bxt-card__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}
.bxt-card__sub {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 0.88rem;
}
.bxt-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 4px;
  font-weight: 650;
  color: #111;
}
.bxt-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 16px;
  border: 1.5px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.bxt-select:hover {
  background: #111;
  color: #fff;
}

.bxt-line {
  position: relative;
  display: grid;
  grid-template-columns: auto 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}
.bxt-line:has(.bxt-check) {
  grid-template-columns: 18px 56px 1fr auto;
}
.bxt-line:has(.bxt-add) {
  grid-template-columns: 48px 1fr auto;
}
.bxt-line + .bxt-line {
  border-top: 1px dashed #e5e7eb;
}
.bxt-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
}
.bxt-thumb--empty {
  display: block;
  background:
    linear-gradient(135deg, #e5e7eb, #f9fafb);
  border: 1px dashed #d1d5db;
}
.bxt-line__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.bxt-line__copy strong {
  font-size: 0.92rem;
}
.bxt-line em {
  font-style: normal;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.bxt-line em s,
.bxt-line em strong + s {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
}
.bxt-badge {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 1;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
}
.bxt-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #4b5563;
  box-shadow: inset 0 0 0 2px #4b5563;
  position: relative;
}
.bxt-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bxt-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: -2px auto;
  border-radius: 50%;
  border: 1px dashed #d1d5db;
  background: #fff;
  color: #6b7280;
  font-weight: 700;
  font-size: 0.85rem;
}
.bxt-choose,
.bxt-add {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.bxt-skel {
  display: block;
  height: 10px;
  width: 70%;
  border-radius: 999px;
  background: #e5e7eb;
}
.bxt-skel--sm { width: 42%; margin-top: 6px; }
.bxt-mini-stars {
  color: #f5a524;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.bxt-sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
}
.bxt-sum span:first-child { color: #ef4444; }
.bxt-atc {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 14px;
  cursor: default;
}
.bxt-atc--flush {
  margin: 12px -16px -16px;
  border-radius: 0 0 16px 16px;
}

.bxt-builder {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
}
.bxt-builder__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.bxt-builder__item {
  display: grid;
  gap: 6px;
}
.bxt-builder__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}
.bxt-cart {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
}
.bxt-cart h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
}
.bxt-cart__slot {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #9ca3af;
  font-size: 0.8rem;
}
.bxt-cart__slot + .bxt-cart__slot { margin-top: 8px; }
.bxt-cart__slot img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.bxt-cart__slot.is-filled {
  border-style: solid;
  color: #111;
  font-weight: 650;
}

.bxt-addons {
  max-width: 360px;
}
.bxt-addons .bxt-line {
  grid-template-columns: 48px 1fr auto;
}

@media (max-width: 720px) {
  .bxt-builder { grid-template-columns: 1fr; }
  .bxt-nav__tabs { gap: 6px; }
  .bxt-tab { font-size: 0.8rem; padding: 8px 10px; }
}
