.tbdc-variation-table {
  margin: 1.25rem 0 1rem;
  border: 1px solid #e1e5e8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.tbdc-table-scroll { overflow-x: auto; }
.tbdc-table { width: 100%; margin: 0; border-collapse: collapse; }
.tbdc-table th:first-child { width: 56%; }
.tbdc-table th:nth-child(2) { width: 24%; }
.tbdc-table th:nth-child(3) { width: 20%; }
.tbdc-table th,
.tbdc-table td { padding: 11px 10px; vertical-align: middle; border-bottom: 1px solid #edf0f1; text-align: left; }
@media (min-width: 641px) {
  .tbdc-variation-table .tbdc-table th:first-child,
  .tbdc-variation-table .tbdc-table td:first-child { padding-left: 10px !important; }
}
.tbdc-table th { white-space: nowrap; font-size: .85rem; color: #5d6866; background: #fbfcfc; }
.tbdc-table td { font-size: .9rem; }
.tbdc-table tbody tr:last-child td { border-bottom: 0; }
.tbdc-product-cell { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.tbdc-product-cell img { width: 48px; height: 48px; flex: none; object-fit: cover; border-radius: 6px; }
.tbdc-price del { display: block; color: #858b8a; font-size: .8rem; }
.tbdc-price strong { color: #d9242d; white-space: nowrap; }
.tbdc-table tr.tbdc-sold-out { background: #f1f2f2; color: #929a98; cursor: not-allowed; }
.tbdc-sold-out .tbdc-product-cell img { filter: grayscale(1); opacity: .55; }
.tbdc-sold-out .tbdc-price strong,
.tbdc-sold-out .tbdc-price del { color: #929a98; }
.tbdc-quantity { width: 74px !important; min-width: 74px; height: 38px; margin: 0 !important; padding: 4px 7px !important; text-align: center; }
.tbdc-footer { padding: 14px 18px 18px; background: #f7f9f8; border-top: 1px solid #e1e5e8; }
.tbdc-summary { margin-bottom: 12px; font-size: 1rem; }
.tbdc-grand-total { color: #d9242d; font-size: 1.15rem; }
.tbdc-item-count { color: #596562; font-size: .85rem; }
.tbdc-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.tbdc-actions .button { margin: 0; }
.tbdc-actions .button:disabled { opacity: .55; cursor: not-allowed; }
.tbdc-feedback { margin: 0 0 10px; color: #28734d; }
.tbdc-feedback.is-error { color: #bc1c27; }
.tbdc-feedback.is-pending { color: #596562; }

@media (max-width: 640px) {
  .tbdc-table-scroll { overflow: visible; }
  .tbdc-table, .tbdc-table tbody, .tbdc-table tr, .tbdc-table td { display: block; width: 100%; }
  .tbdc-table thead { display: none; }
  .tbdc-table tr { padding: 12px 16px; border-bottom: 1px solid #e1e5e8; }
  .tbdc-table tr:last-child { border-bottom: 0; }
  .tbdc-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; }
  .tbdc-table td::before { content: attr(data-label); color: #5d6866; flex: none; font-size: .8rem; }
  .tbdc-table td:first-child { display: block; padding-bottom: 8px; }
  .tbdc-table td:first-child::before { display: none; }
  .tbdc-product-cell { min-width: 0; }
  .tbdc-price { text-align: right; }
  .tbdc-actions .button { flex: 1 1 130px; }
}
