/**
 * Cart / Confirm page table — mobile card layout.
 * Auto-loaded by usc-e-shop (usces_wp_enqueue_scripts) whenever this file
 * exists in the active theme directory. No functions.php wiring needed.
 */
@media only screen and (max-width: 768px) {
	#cart_table thead {
		display: none;
	}
	#cart_table, #cart_table tbody, #cart_table tfoot, #cart_table tr, #cart_table th, #cart_table td {
		display: block;
		width: 100% !important;
	}
	#cart_table tbody tr {
		border: 1px solid #ccc;
		border-radius: 6px;
		margin-bottom: 12px;
		padding: 8px;
	}
	#cart_table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 0.5em 1em;
		border: none;
		padding: 6px 4px;
		text-align: left;
	}
	#cart_table td[data-label]::before {
		content: attr(data-label);
		font-weight: bold;
		color: #666;
		text-align: left;
		white-space: nowrap;
	}
	#cart_table td.thumbnail {
		justify-content: center;
		border-bottom: 1px solid #eee;
		margin-bottom: 6px;
		padding: 0 0 8px;
	}
	#cart_table td.thumbnail img {
		max-width: 120px;
	}
	#cart_table td.num {
		display: none;
	}
	#cart_table td.action {
		justify-content: flex-end;
		border-top: 1px solid #eee;
		margin-top: 6px;
		padding-top: 8px;
	}

	#cart_table tfoot {
		border: 1px solid #ccc;
		border-radius: 6px;
		padding: 8px;
	}
	#cart_table tfoot th {
		text-align: right;
		padding: 4px;
	}
	#cart_table tfoot th.num,
	#cart_table tfoot th.thumbnail,
	#cart_table tfoot th.action {
		display: none;
	}
}


#customer-info h5{
	margin-block:0.5em 1em;
}

table.customer_form {
width: 100%;
}
tr.customkey_teiki_n + tr th{
	white-space: nowrap;
}