/* Signs365 presentation details. The shared signage/proof styles remain the
 * source for modal layout, controls, focus rings, and responsive behavior. */

.ttg-s365-config-host:not([hidden]) {
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(31, 41, 55, .14);
	border-radius: .75rem;
	background: #fff;
}

.ttg-s365-inline-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem 1rem;
}

.ttg-s365-inline-field {
	display: grid;
	gap: .35rem;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
}

.ttg-s365-inline-control {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: .55rem .7rem;
	border: 1px solid #b8c0cc;
	border-radius: .45rem;
	background: #fff;
	color: #111827;
	font: inherit;
}

.ttg-s365-inline-control:focus-visible,
.ttg-s365-request-quote a:focus-visible {
	outline: 3px solid rgba(24, 117, 255, .35);
	outline-offset: 2px;
}

.ttg-s365-inline-price,
.ttg-s365-quote-status {
	margin: .75rem 0 0;
	font-size: 14px;
	line-height: 1.45;
}

.ttg-s365-inline-price {
	font-weight: 700;
}

.ttg-s365-quote-error .ttg-s365-inline-price,
.ttg-s365-quote-error .ttg-s365-quote-status {
	color: #9b1c1c;
}

.ttg-s365-quote-pending .ttg-s365-inline-price,
.ttg-s365-quote-pending .ttg-s365-quote-status {
	color: #4b5563;
}

.ttg-s365-request-quote {
	margin: .65rem 0 0;
	font-size: 13px;
	line-height: 1.45;
}

.ttg-s365-request-quote a {
	color: #0b5cab;
	text-decoration: underline;
	text-underline-offset: .12em;
}

.ttgm-signs365 .ttg-s365-request-quote {
	padding-top: .65rem;
	border-top: 1px solid rgba(31, 41, 55, .12);
}

.ttg-s365-native-size[hidden] {
	display: none !important;
}

.ttg-s365-native-quantity {
	max-width: 10rem;
}

@media (max-width: 600px) {
	.ttg-s365-inline-controls {
		grid-template-columns: minmax(0, 1fr);
	}

	.ttg-s365-config-host:not([hidden]) {
		padding: .85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ttg-s365-config-host *,
	.ttg-s365-config-host *::before,
	.ttg-s365-config-host *::after,
	.ttgm-signs365 .ttg-s365-request-quote {
		transition: none !important;
		animation: none !important;
	}
}


/* Disabled size controls (width/height fixed by a sheet layout or item size; layout unused for custom sizes) add nothing. */
.ttgm-option-field[data-option-key="width"]:has(> .ttgm-option-control:disabled),
.ttgm-option-field[data-option-key="height"]:has(> .ttgm-option-control:disabled),
.ttgm-option-field[data-option-key="layout"]:has(> .ttgm-option-control:disabled) {
	display: none;
}

/* Finishing the chosen material cannot take (e.g. grommets, standard stakes and gloss on 10 mm Yard Signs) is hidden, not greyed out. */
.ttgm-option-field[data-option-key="gloss"]:has(:disabled),
.ttgm-option-field[data-option-key="standard_stakes"]:has(:disabled),
.ttgm-option-field[data-option-key="heavy_stakes"]:has(:disabled),
.ttgm-option-field[data-option-key="grommets_each"]:has(:disabled) {
	display: none;
}

/* Sheet printing explanation (signs365.js renderSheetNote). */
.ttg-s365-sheet-note {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #f1f6fb;
	color: #33475b;
	font-size: 13px;
	line-height: 1.5;
}
.ttg-s365-sheet-note[hidden] {
	display: none;
}
.ttg-s365-sheet-note strong {
	display: block;
	margin-bottom: 2px;
	color: #0d2a43;
}

/* Quote-only sizes note (Yard Sign freight sizes) under the options, moved off the size field (2026-10-23). */
.ttg-s365-layout-note {
	margin: 10px 0 0;
	color: #5b6b7c;
	font-size: 13px;
	line-height: 1.45;
}
.ttg-s365-layout-note[hidden] {
	display: none;
}
