/* Base */
.pbx{
  border-top:1px solid #eee;
  padding-top:8px;
}

/* Title */
.pbx__title{
  font-weight:700;
  margin:4px 0 10px;
}

/* META ROW: size + rating cùng 1 hàng */
.pbx__meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.pbx__brand{
  display:inline-block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:12px;
  color:#2B2440;
  background:#F6EFF9;      /* màu bạn yêu cầu */
  padding:4px 8px;
  border-radius:6px;
}

/* Nếu cần đặt brand tách hàng hoàn toàn (block đầy chiều ngang) */
.pbx__brand.is-block{
  display:block;
  width:100%;
}

/* Khoảng cách khi nằm trong meta-row (tuỳ chọn) */
.pbx__meta-row .pbx__brand{ margin-top:6px; }
/* Size chip */
.pbx__size{
  display:inline-block;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#2B2440;
  background:#F6EFF9;
  padding:4px 8px;
  border-radius:6px;
}

/* Rating */
.pbx__rating{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  line-height:1;
}
.pbx__rating-avg{ font-weight:700; }
.pbx__rating-star{ font-size:12px; }
.pbx__rating-count{ opacity:.75; }

/* PRICE BOX RIÊNG */
.pbx__price-box{
  padding:12px 14px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

/* Từng phần giá */
.pbx__price{ display:inline-block; line-height:1.1; }

.pbx__price--sale{
  font-size:20px;
  font-weight:800;
}

.pbx__price--regular{
  font-size:14px;
  text-decoration:line-through;
  opacity:.6;
}

.pbx__price--regular-only{
  font-size:20px;
  font-weight:800;
}

/* Cart, bottom, share */
.pbx__cart{ margin:12px 0; }
.pbx__bottom{ margin-top:12px; }
.pbx__share{ margin-top:8px; }
.pbx__share-btn{
  background:none; border:0; cursor:pointer; text-decoration:underline;
}

/* Badges */
.pbx__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 12px;
}
.pbx-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#F6EFF9;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
}
.pbx-badge b {     font-weight: 400;}
.pbx-badge i{ font-size:14px; line-height:1;  }

/* Accordion */
.pbx-accordion{
  border-top:1px solid #e5e7eb;
  margin-top:12px;
}
.pbx-acc-item{ border-bottom:1px solid #e5e7eb; }
.pbx-acc-header{
  width:100%;
  text-align:left;
  padding:14px 0;
  font-weight:700;
  font-size:14px;
  background:none;
  border:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}
.pbx-acc-toggle{ transition:transform .2s; }
.pbx-acc-header.active .pbx-acc-toggle{ transform:rotate(45deg); } /* + -> x */
.pbx-acc-content{
  display:none;
  padding:0 0 14px 0;
  font-size:14px;
  color:#111;
}

/* Responsive */
@media (max-width:768px){
  .pbx__meta-row{ gap:8px; flex-wrap:wrap; }
  .pbx__price-box{ padding:10px 12px; gap:8px; }
  .pbx__price--sale,
  .pbx__price--regular-only{ font-size:18px; }
  .pbx__brand{ padding:4px 7px; }
}
