/* TB Configurator — kit display (Option B) for cart + checkout. */
.tbcfg-kit-row > td{
  background:#faf3e6;
  border-top:2px solid #b08948;
  padding:12px 14px;
  vertical-align:top;
}
/* Total keeps the column's own alignment so it lines up with other rows. */
.tbcfg-kit-total-cell{ text-align:inherit; }

/* Kit-header rows live in the WooCommerce table (outside .tbcfg-root), so the
   theme (Astra) tries to restyle them. Force readable, un-themed text. */
.tbcfg-kit-row *{
  font-family:inherit !important;
  letter-spacing:normal !important;
}
.tbcfg-kit-toggle, .tbcfg-kit-name, .tbcfg-kit-total{
  color:#1a1d23 !important;
  text-transform:none !important;
}
.tbcfg-kit-toggle{
  background:none !important; box-shadow:none !important; border:0; padding:0; margin:0;
  cursor:pointer; font-weight:700; font-size:1em; line-height:1.3;
  display:inline-flex; align-items:baseline; gap:8px;
}
.tbcfg-kit-caret{ color:#8a6a34 !important; font-size:.85em; }
.tbcfg-kit-name{ font-weight:700; }
.tbcfg-kit-temp{ color:#8a6a34 !important; font-weight:600; text-transform:none !important; }
.tbcfg-kit-total{ font-weight:700; }
.tbcfg-kit-remove{
  float:right; margin-left:12px; padding:0 2px;
  background:none !important; border:0; box-shadow:none !important;
  cursor:pointer; font-size:1.3em; line-height:1; color:#b9b2a4 !important;
}
.tbcfg-kit-remove:hover{ color:#b4582a !important; }
.tbcfg-kit-remove[disabled]{ opacity:.4; cursor:default; }
.tbcfg-kit-summary{
  clear:both; margin-top:6px;
  font-size:.82em; font-weight:400; color:#6b6558 !important;
  text-transform:none !important;
}

/* Collapsed component rows */
.tbcfg-comp-row.tbcfg-collapsed{ display:none; }

/* Option B: components never show a price */
.tbcfg-comp-row td.product-price,
.tbcfg-comp-row td.product-subtotal,
.tbcfg-comp-row td.product-total{ visibility:hidden; }

/* Indent expanded components under their kit */
.tbcfg-comp-row td.product-name{ padding-left:26px; }

/* Order-received / view-order tables use different column classes */
.tbcfg-comp-row td.woocommerce-table__product-total,
.tbcfg-comp-row td.woocommerce-table__product-price{ visibility:hidden; }
.tbcfg-comp-row td.woocommerce-table__product-name{ padding-left:26px; }

/* My Account → Saved Custom Kits */
.tbcfg-saved-table td.tbcfg-saved-actions{ white-space:nowrap; }
.tbcfg-saved-table .tbcfg-saved-summary{ font-size:.9em; color:#6b6558; }
.tbcfg-saved-note{ font-size:.9em; color:#6b6558; margin-top:10px; }

/* Build-fee explainer */
.tbcfg-why{
  display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; margin-left:6px; padding:0;
  border:1px solid #d8d2c6 !important; border-radius:50%;
  background:#fff !important; color:#8a6a34 !important;
  font-size:11px !important; font-weight:700; line-height:1; cursor:pointer; vertical-align:middle;
  box-shadow:none !important;
}
.tbcfg-why:hover{ border-color:#b08948 !important; background:#faf3e6 !important; }
.tbcfg-fee-note{
  background:#faf3e6; border-left:3px solid #b08948;
  padding:10px 12px; margin:6px 0; font-size:.88em; line-height:1.5; color:#4a4f5a;
}

/* Kits are bought and removed as a unit — no per-component controls */
.tbcfg-comp-row .product-remove,
.tbcfg-comp-row td.product-remove a.remove{ visibility:hidden; }
.tbcfg-comp-row .quantity input.qty{ display:none; }
.tbcfg-locked-qty{ color:#6b6558; }

/* Mini cart kit line */
.tbcfg-mini-kit{ position:relative; }
.tbcfg-mini-kit .tbcfg-mini-name{ font-weight:700; }
.tbcfg-mini-kit .tbcfg-mini-temp{ color:#8a6a34; font-weight:600; }
.tbcfg-mini-kit .tbcfg-mini-summary{ font-size:.85em; color:#6b6558; margin:2px 0 4px; }
.tbcfg-mini-kit .tbcfg-mini-total{ display:block; font-weight:700; }
