.hc-pt-wrap {
	width: 100%;
	overflow-x: auto;
}

.hc-pt-heading {
	margin-bottom: 0.75em;
}

.hc-pt-notice {
	padding: 0.75em 1em;
	margin-bottom: 1em;
	border-radius: 4px;
}

.hc-pt-notice-success {
	background: #e7f7ec;
	border: 1px solid #a8dfba;
	color: #1e6b34;
}

.hc-pt-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 1em;
}

.hc-pt-search-input {
	flex: 1 1 260px;
	max-width: 360px;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.hc-pt-search-btn {
	cursor: pointer;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	background: #2e7d32;
	color: #fff;
}

.hc-pt-search-btn:hover {
	background: #256428;
}

.hc-pt-search-clear {
	font-size: 13px;
	color: #666;
	text-decoration: underline;
}

.hc-pt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.hc-pt-table th,
.hc-pt-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: middle;
}

.hc-pt-table thead th {
	background: #f7f7f7;
	font-weight: 600;
	white-space: nowrap;
}

.hc-pt-col-sr {
	width: 60px;
	text-align: center;
}

.hc-pt-col-brand select,
.hc-pt-col-pack select,
.hc-pt-col-potency select {
	max-width: 100%;
	min-width: 110px;
	padding: 4px 6px;
}

.hc-pt-col-price {
	white-space: nowrap;
	font-weight: 600;
}

.hc-pt-col-action {
	white-space: nowrap;
}

.hc-pt-action-form {
	display: inline-block;
	margin: 2px 4px 2px 0;
}

.hc-pt-btn {
	cursor: pointer;
	border: none;
	border-radius: 4px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
}

.hc-pt-btn-add_to_cart {
	background: #f2f2f2;
	color: #222;
	border: 1px solid #ccc;
}

.hc-pt-btn-add_to_cart:hover {
	background: #e6e6e6;
}

.hc-pt-btn-buy_now {
	background: #2e7d32;
	color: #fff;
}

.hc-pt-btn-buy_now:hover {
	background: #256428;
}

.hc-pt-pagination {
	margin-top: 1em;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.hc-pt-page {
	padding: 6px 11px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
}

.hc-pt-page-current {
	background: #222;
	color: #fff;
	border-color: #222;
}

.hc-pt-page-gap {
	padding: 6px 4px;
	color: #999;
}

/* Responsive: collapse to stacked cards below 700px */
@media ( max-width: 700px ) {
	.hc-pt-search-input {
		flex-basis: 100%;
		max-width: 100%;
	}

	.hc-pt-table thead {
		display: none;
	}

	.hc-pt-table,
	.hc-pt-table tbody,
	.hc-pt-table tr,
	.hc-pt-table td {
		display: block;
		width: 100%;
	}

	.hc-pt-table tr {
		border: 1px solid #e5e5e5;
		border-radius: 6px;
		margin-bottom: 12px;
		padding: 8px 0;
	}

	.hc-pt-table td {
		border-bottom: none;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
	}

	.hc-pt-table td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #666;
		flex-shrink: 0;
	}

	.hc-pt-col-action {
		flex-direction: column;
		align-items: stretch;
	}

	.hc-pt-col-action::before {
		margin-bottom: 6px;
	}

	.hc-pt-action-form {
		width: 100%;
		margin: 2px 0;
	}

	.hc-pt-btn {
		width: 100%;
	}
}
