/* Admin table */
#asdpt_qty_breaks_panel .asdpt-qb-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:10px 0 8px;
}
#asdpt_qty_breaks_panel .asdpt-qb-table td,
#asdpt_qty_breaks_panel .asdpt-qb-table th{
  vertical-align:middle;
}
#asdpt_qty_breaks_panel .asdpt-qb-table input[type="number"],
#asdpt_qty_breaks_panel .asdpt-qb-table input[type="text"],
#asdpt_qty_breaks_panel .asdpt-qb-table select{
  width:100%;
}
#asdpt_qty_breaks_panel .asdpt-qb-table td.muted{opacity:.5;}

/* Frontend box */
.asdpt-qb-box{
  margin:0.4rem 0 0.9rem;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#f9fafb;
  max-width:460px;
  display:inline-block;
}

/* Title */
.asdpt-qb-title{
  font-size:0.95rem;
  font-weight:600;
  margin:0;
  padding:0.55rem 0.9rem;
  border-bottom:1px solid #e5e7eb;
  background:#f1f5f9;
}

/* Table */
.asdpt-qb-display{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.asdpt-qb-display th,
.asdpt-qb-display td{
  padding:6px 10px;
  font-size:0.9rem;
}

.asdpt-qb-display thead th{
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  font-weight:600;
}

.asdpt-qb-display tbody tr + tr td{
  border-top:1px solid #eef2f7;
}

/* column widths */
.asdpt-qb-display th:nth-child(1){width:28%;}
.asdpt-qb-display th:nth-child(2){width:32%;}
.asdpt-qb-display th:nth-child(3){width:40%;}

/* “You save” column */
.asdpt-qb-save{
  text-align:right;
  white-space:nowrap;
  color:#16a34a;
  font-weight:600;
}

/* hide table cleanly when requested */
.asdpt-qb-display[hidden],
.asdpt-qb-box[hidden]{
  display:none !important;
}

/* price swap visuals (if you ever use them) */
.asd-qb-price .asd-qb-was{
  opacity:.6;
  text-decoration:line-through;
  margin-right:.35rem;
}
.asd-qb-price .asd-qb-now{
  font-weight:700;
}

/* Hide helpers */
.asdpt-qb-display[hidden],
.asdpt-qb-box[hidden],
.asdpt-price-override[hidden]{
  display:none !important;
}

/* Price override visuals */
.price.asdpt-price-override del{
  opacity:.6;
  margin-right:.35rem;
  text-decoration:line-through;
}
.price.asdpt-price-override ins{
  font-weight:700;
  text-decoration:none;
}
