/**
 * GM Product Table - Frontend styles.
 * Author: GM Software
 */

.gm-pt-table {
	border-collapse: collapse;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1em;
	background: #fff;
	font-size: inherit;
}

.gm-pt-table thead th {
	text-align: left;
	font-weight: 600;
	background: #2271b1;
	color: #fff;
}

.gm-pt-table th,
.gm-pt-table td {
	padding: 10px 14px;
	vertical-align: top;
	line-height: 1.4;
}

.gm-pt-table.gm-pt-bordered th,
.gm-pt-table.gm-pt-bordered td {
	border: 1px solid #e0e0e0;
}

.gm-pt-table.gm-pt-striped tbody tr:nth-child(even) td {
	background-color: #f7f7f7;
}

.gm-pt-table td.gm-pt-col1 {
	font-weight: 600;
}

.gm-pt-table td.gm-pt-col2 {
	font-weight: 400;
}

/* WooCommerce price markup inside a cell should sit inline with the text. */
.gm-pt-table td .woocommerce-Price-amount {
	white-space: nowrap;
}

.gm-pt-notice {
	padding: 12px 16px;
	background: #fff8e5;
	border: 1px solid #f0d48a;
	border-radius: 6px;
	color: #6b5800;
	font-size: 14px;
}

/* ---------- Editor only: design captions ---------- */
.gm-pt-editor-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin: 14px 0 6px;
	padding: 6px 10px;
	background: #eef4fb;
	border-left: 3px solid #2271b1;
	border-radius: 4px;
	font-size: 13px;
}

.gm-pt-editor-caption:first-child {
	margin-top: 0;
}

.gm-pt-editor-caption-name {
	font-weight: 700;
	color: #1d2327;
}

.gm-pt-editor-caption-scope {
	color: #50575e;
	font-size: 12px;
}

/* ---------- Responsive ---------- */
@media ( max-width: 480px ) {
	.gm-pt-table th,
	.gm-pt-table td {
		padding: 8px 10px;
		font-size: 0.95em;
	}
}
