/* Shared section heading style - VOLUME PRICING and Branding options in the
   buying column, plus the h2 tab titles below, all read as one family. */
.gmti-section-heading {
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 12px;
	line-height: 1.3;
}

/* Price note */
.gmti-price-note {
	font-size: 11px;
	color: #555;
	margin: 4px 0 16px;
}

/* Shared "card" wrapper for every table - this is what makes them read as
   one clean block instead of a raw grid of cell borders. */
.gmti-table-wrap {
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 16px;
}

.gmti-table-wrap table {
	border-collapse: collapse;
	width: 100%;
}

/* Volume pricing table */
.gmti-pricing {
	margin: 8px 0 24px;
}

.gmti-pricing-table th,
.gmti-pricing-table td {
	padding: 10px 16px;
	text-align: left;
	font-size: 11px;
	border-bottom: 1px solid #eee;
}

.gmti-pricing-table thead th {
	background: #f7f7f7;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 700;
	color: #666;
	border-bottom: 1px solid #e5e5e5;
}

.gmti-pricing-table tbody tr:last-child td {
	border-bottom: none;
}

.gmti-pricing-table tr.gmti-tier-featured td {
	font-weight: 700;
	background: rgba( 56, 88, 233, 0.05 );
	box-shadow: inset 3px 0 0 var( --gmti-accent, #3858e9 );
}

.gmti-price-suffix {
	font-weight: 400;
	font-size: 11px;
	color: #777;
}

/* Branding options + specs/details tabs share this table style */
.gmti-spec-table th,
.gmti-spec-table td {
	padding: 10px 16px;
	text-align: left;
	font-size: 11px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.gmti-spec-table th {
	width: 38%;
	font-weight: 600;
	color: #333;
	background: #fafafa;
}

.gmti-spec-table tr:last-child th,
.gmti-spec-table tr:last-child td {
	border-bottom: none;
}

.gmti-branding {
	margin: 0 0 24px;
}

.gmti-branding-note {
	font-size: 11px;
	color: #666;
	margin: 0 0 16px;
}

.gmti-branding-grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 12px;
	margin-bottom: 16px;
}

@media ( max-width: 480px ) {
	.gmti-branding-grid {
		grid-template-columns: 1fr;
	}
}

.gmti-branding-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 18px 20px;
	background: #fafafa;
}

.gmti-branding-card h5 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}

.gmti-branding-card p {
	font-size: 11px;
	color: #666;
	margin: 0;
	line-height: 1.5;
}

/* Buttons - used for "View branding template" and available for future use */
.gmti-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
}

.gmti-btn-outline {
	border: 1px solid var( --gmti-accent, #3858e9 );
	color: var( --gmti-accent, #3858e9 );
	background: transparent;
}

.gmti-btn-outline:hover {
	background: var( --gmti-accent, #3858e9 );
	color: #fff;
}

.gmti-btn-solid {
	display: block;
	width: 100%;
	text-align: center;
	padding: 16px 20px;
	border: none;
	border-radius: 6px;
	background: #1a1a1a;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
}

.gmti-btn-solid:hover {
	background: #333;
	color: #fff;
}

.gmti-description {
	font-size: 11px;
}

.gmti-description p:first-child {
	margin-top: 0;
}

/* "From" label prefixed onto Trends product prices in shop/category grids - see GMTI_Frontend::add_from_prefix_in_loops() */
.gmti-from-label {
	font-weight: 400;
}

/* WooCommerce's default tab list packs tab titles tightly together - give
   them breathing room so they read as separate tabs, not one run-on line. */
.woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li.tab-title {
	margin-right: 28px !important;
	padding: 0 !important;
}

.woocommerce-tabs ul.tabs li:last-child {
	margin-right: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
	padding: 12px 4px !important;
	display: inline-block !important;
}
