.pcod-toggle-row th {
	text-align: left;
	padding: 12px 0;
	border-top: 1px dashed #ddd;
	border-bottom: 1px dashed #ddd;
}

.pcod-toggle-row label {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pcod-message {
	margin: 8px 0 0;
	font-weight: 400;
	font-size: 0.95em;
	color: #555;
}

.pcod-cart-hint {
	display: block;
	font-size: 0.85em;
	color: #777;
	margin-top: 4px;
}

.pcod-gift-message {
	display: block;
	margin-top: 6px;
	font-weight: 600;
	color: #b45309;
}

.pcod-gift-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	font-size: 0.75em;
	font-weight: 600;
	color: #fff;
	background: #16a34a;
	border-radius: 999px;
	vertical-align: middle;
}

.pcod-gift-original-price {
	color: #9ca3af;
	margin-right: 4px;
}

.pcod-gift-free {
	color: #16a34a;
	font-weight: 700;
}

.pcod-gift-selector-row th {
	padding: 10px 0 16px;
	text-align: left;
}

.pcod-gift-selector-label {
	margin: 0 0 8px;
	font-weight: 600;
}

.pcod-gift-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcod-gift-option label {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 6px 12px 6px 8px;
	cursor: pointer;
	font-weight: 400;
}

.pcod-gift-option input[type="radio"] {
	margin: 0;
}

.pcod-gift-option img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 4px;
}

.pcod-gift-option-name {
	font-size: 0.9em;
}

.pcod-breakdown-row th,
.pcod-breakdown-row td {
	font-weight: 600;
}

/* Hide WooCommerce's native "Total" row while Partial COD is active - the
   Pay Now / Pay on Delivery rows above replace it. */
body.pcod-active table.shop_table tr.order-total {
	display: none;
}

.pcod-order-summary {
	margin-top: 30px;
}

.pcod-order-summary .pcod_table th {
	text-align: left;
}
