/* Gilded Builder
 * Layout follows the print partner's builder: sign items (left), price header,
 * live preview, option chips. Colors: Gilded's dark black-and-gold UI (tools/fork_plugins.py).
 */
.gs {
	--gs-green: #d6b26a;
	--gs-green-dark: #b8924a;
	--gs-green-tint: rgba(214, 178, 106, .12);
	--gs-orange: #e3b25c;
	--gs-orange-tint: rgba(227, 178, 92, .1);
	--gs-sun: #f4e0a8;
	--gs-soil: #f2ead9;
	--gs-text: #e4dac8;
	--gs-muted: #b0a794;
	--gs-line: rgba(242, 234, 217, .14);
	--gs-cream: #1e1b15;
	--gs-paper: #15130f;
	--gs-surface: #1a1813;
	--gs-on-accent: #1a1408;
	--gs-radius: 4px;
	--gs-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px rgba(0, 0, 0, .35);
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 1290px;
	margin: 0 auto 40px;
	color: var(--gs-text);
	font-size: 16px;
	line-height: 1.45;
}
.gs *, .gs *::before, .gs *::after { box-sizing: border-box; }
.gs-builder-page div.product div.summary,
.gs-builder-page div.product .woocommerce-product-gallery { display: none !important; }
.gs-builder-page .gs { clear: both; }
.gs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gs [hidden] { display: none !important; }

/* boot (server-rendered before JS) */
.gs-boot { padding: 24px 0; }
.gs-loading { display: flex; align-items: center; gap: 12px; color: var(--gs-muted); }
.gs-loading-bird { width: 64px; height: 64px; border-radius: 16px; background: var(--gs-surface); opacity: 0; transition: opacity .25s ease; }
.gs-loading-bird.is-on { opacity: 1; }
.gs-ready .gs-boot { display: none; }

/* ---------------------------------------------------------------- layout */
.gs-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.gs-side { position: sticky; top: calc(var(--gs-adminbar, 0px) + 92px); max-height: calc(100vh - var(--gs-adminbar, 0px) - 110px); overflow-y: auto; padding: 2px 4px 8px 2px; scrollbar-width: thin; }
.gs-main { min-width: 0; }

/* ---------------------------------------------------------------- header */
.gs-head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
	gap: 14px 24px;
	align-items: start;
	padding: 4px 0 16px;
}
.gs-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gs-green); }
.gs .gs-title { margin: 0; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; color: var(--gs-soil); }
.gs-sub { margin: 6px 0 0; color: var(--gs-muted); font-size: 15px; }
.gs-rates-wrap { min-width: 0; text-align: center; }
.gs-pricing-link { padding: 2px 0; margin-bottom: 4px; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gs-green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gs-pricing-link:hover { color: var(--gs-green-dark); }
.gs-rates { overflow-x: auto; }
.gs-rate-table { border-collapse: collapse; font-size: 13px; margin: 0 auto; }
.gs-rate-table th, .gs-rate-table td { padding: 2px 8px; text-align: left; white-space: nowrap; border: 0; background: none; color: var(--gs-muted); vertical-align: top; }
.gs-rate-table td { white-space: normal; }
.gs-rate-p { white-space: nowrap; }
.gs-rate-u { white-space: nowrap; font-size: 12px; }
.gs-rate-table thead th { white-space: normal; line-height: 1.2; }
.gs-rate-table thead th { font-weight: 700; color: var(--gs-soil); }
.gs-rate-table tbody th { font-weight: 600; }
.gs-rate-table tr.is-current th, .gs-rate-table tr.is-current td { color: var(--gs-soil); }
.gs-rate-table td.is-picked, .gs-rate-table tr.is-current td:only-of-type { color: var(--gs-green-dark); font-weight: 800; }
.gs-total { text-align: right; min-width: 210px; }
.gs-price { font-size: clamp(30px, 3.2vw, 38px); font-weight: 800; color: var(--gs-green); line-height: 1; }
.gs-price-meta { margin-top: 6px; color: var(--gs-muted); font-size: 13px; }
.gs-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 10px; }
.gs-buy .gs-add { min-width: 230px; }

/* ------------------------------------------------------------ sign items */
.gs-items { display: flex; flex-direction: column; gap: 10px; }
.gs-item { padding: 12px; border: 1.5px solid var(--gs-line); border-radius: var(--gs-radius); background: var(--gs-surface); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.gs-item.is-current { border-color: var(--gs-green); box-shadow: 0 0 0 3px var(--gs-green-tint); cursor: default; }
.gs-item.needs-art { background: var(--gs-orange-tint); border-color: rgba(227, 178, 92, .45); }
.gs-item.needs-art.is-current { border-color: var(--gs-orange); box-shadow: 0 0 0 3px rgba(227, 178, 92, .2); }
.gs-item.has-error { border-color: #f0a08a; }
.gs-item.is-drop { border-style: dashed; border-color: var(--gs-green); }
.gs-item-head { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.gs-item-num { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gs-soil); }
.gs-item-status { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--gs-muted); }
.gs-item.needs-art .gs-item-status { color: #e8c477; text-transform: uppercase; letter-spacing: .04em; }
.gs-item-del { flex: none; padding: 4px 8px; border: 1px solid var(--gs-line); border-radius: 8px; background: var(--gs-surface); font: inherit; font-size: 12px; font-weight: 700; color: var(--gs-muted); cursor: pointer; }
.gs-item-del:hover { border-color: #f0a08a; color: #f0a08a; }
.gs-item-fields { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; }
.gs-item-size { min-height: 38px; padding: 6px 10px; border: 1.5px solid var(--gs-line); border-radius: 9px; background: var(--gs-paper); font: inherit; font-size: 14px; font-weight: 700; color: var(--gs-soil); cursor: pointer; }
.gs-item-size:hover:not(:disabled) { border-color: var(--gs-green); }
.gs-item-size:disabled { cursor: default; opacity: .85; }
.gs-item-qtyl { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 800; color: var(--gs-muted); }
.gs-item-qty { width: 82px; min-height: 38px; padding: 6px 8px; border: 1.5px solid var(--gs-line); border-radius: 9px; background: var(--gs-surface); font: inherit; font-size: 15px; font-weight: 700; color: var(--gs-soil); text-align: center; }
.gs-item-art { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.gs-item-art.is-double { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gs-artbox-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gs-artbox-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-muted); }
.gs-artbox {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 6px;
	border: 1.5px dashed rgba(214, 178, 106, .45);
	border-radius: 10px;
	background: var(--gs-surface);
	font: inherit;
	color: var(--gs-muted);
	cursor: pointer;
	overflow: hidden;
}
.gs-artbox:hover { border-color: var(--gs-green); color: var(--gs-green-dark); }
.gs-artbox.has-art { border-style: solid; border-color: rgba(242, 234, 217, .2); background: repeating-conic-gradient(#f4efe4 0% 25%, #fff 0% 50%) 50% / 14px 14px; }
.gs-artbox img { width: 100%; height: 100%; object-fit: contain; }
.gs-artbox-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; }
.gs-artbox-empty strong { font-size: 22px; line-height: 1; color: var(--gs-green); }
.gs-artbox-file { font-size: 12px; font-weight: 700; color: var(--gs-green-dark); word-break: break-all; }
.gs-artbox-remove { align-self: flex-start; font-size: 12px; padding: 2px 0; }
.gs-add-sign {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 64px;
	border: 2px dashed var(--gs-line);
	border-radius: var(--gs-radius);
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gs-green);
	cursor: pointer;
}
.gs-add-sign span { font-size: 20px; line-height: 1; }
.gs-add-sign:hover { border-color: var(--gs-green); background: var(--gs-green-tint); }
.gs-items-note, .gs-items-help { margin: 0; font-size: 12px; line-height: 1.5; color: var(--gs-muted); }
.gs-check { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.gs-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--gs-green); }

/* ---------------------------------------------------------------- preview */
.gs-stage {
	padding: 26px 16px 16px;
	border: 1px solid var(--gs-line);
	border-radius: var(--gs-radius);
	background-color: var(--gs-paper);
	background-image: linear-gradient(rgba(214, 178, 106, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 178, 106, .06) 1px, transparent 1px);
	background-size: 22px 22px;
}
.gs-faces { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 28px 40px; }
.gs-face { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; max-width: 100%; }
.gs-face-label { font-size: 13px; color: var(--gs-muted); }
.gs-dimbox { position: relative; max-width: 100%; padding: 22px 30px; }
.gs-dim { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--gs-muted); font-size: 12px; font-weight: 700; }
.gs-dim > span { position: relative; z-index: 1; padding: 0 6px; background: var(--gs-paper); }
.gs-dim-top, .gs-dim-bottom { left: 30px; right: 30px; height: 18px; }
.gs-dim-top { top: 0; }
.gs-dim-bottom { bottom: 0; }
.gs-dim-top::before, .gs-dim-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(214, 178, 106, .5); }
.gs-dim-top::after, .gs-dim-bottom::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 4px); height: 8px; border-left: 1px solid rgba(214, 178, 106, .5); border-right: 1px solid rgba(214, 178, 106, .5); }
.gs-dim-left, .gs-dim-right { top: 22px; bottom: 22px; width: 18px; }
.gs-dim-left { left: 0; }
.gs-dim-right { right: 0; }
.gs-dim-left::before, .gs-dim-right::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(214, 178, 106, .5); }
.gs-dim-left::after, .gs-dim-right::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 4px); width: 8px; border-top: 1px solid rgba(214, 178, 106, .5); border-bottom: 1px solid rgba(214, 178, 106, .5); }
.gs-dim-left > span, .gs-dim-right > span { writing-mode: vertical-rl; rotate: 180deg; padding: 6px 0; }
.gs-canvas {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 1.5px solid rgba(242, 234, 217, .22);
	border-radius: 3px;
	background: var(--gs-surface);
	color: var(--gs-muted);
	font: inherit;
	cursor: pointer;
	box-shadow: var(--gs-shadow);
	transition: border-color .15s ease;
}
.gs-canvas:hover, .gs-drag .gs-canvas { border-color: var(--gs-green); }
.gs-canvas:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 3px; }
.gs-canvas-fill { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: inherit; }
.gs-canvas.has-art .gs-canvas-fill { background: repeating-conic-gradient(#f4efe4 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.gs-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.gs-drop { display: flex; flex-direction: column; gap: 4px; padding: 12px; text-align: center; }
.gs-drop strong { color: var(--gs-soil); font-size: 15px; }
.gs-drop span { font-size: 13px; }
.gs-file-chip { padding: 8px 12px; border-radius: 999px; background: var(--gs-green-tint); color: var(--gs-green-dark); font-weight: 700; font-size: 13px; word-break: break-all; }
.gs-deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gs-pocket { fill: rgba(27, 38, 32, .14); stroke: rgba(0, 0, 0, .65); stroke-width: .25; stroke-dasharray: 1 .7; }
.gs-webbing { fill: rgba(214, 178, 106, .18); stroke: rgba(214, 178, 106, .5); stroke-width: .2; }
.gs-rope { stroke: #3B3A36; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 1.6 .5; }
.gs-hem { fill: none; stroke: rgba(0, 0, 0, .6); stroke-width: .25; stroke-dasharray: 1 .8; }
.gs-slit { fill: none; stroke: rgba(0, 0, 0, .65); stroke-width: .35; }
.gs-grommet { fill: #fff; stroke: #5E6A62; stroke-width: .35; }
.gs-standoff { fill: #D9DDE1; stroke: #6B747B; stroke-width: .3; }
.gs-standoff.is-black { fill: #2B2F33; stroke: #111; }
.gs-safe { fill: none; stroke: rgba(214, 178, 106, .6); stroke-width: .025; stroke-dasharray: .1 .07; }
/* sheet goods: the whole 4 x 8 ft sheet */
.gs-face-sheet { gap: 8px; }
.gs-sheet-top { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; color: var(--gs-soil); }
.gs-sheet-top strong { font-weight: 800; }
.gs-sheet-mark { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-muted); }
.gs-sheet-mark::before, .gs-sheet-mark::after { content: "\2304"; display: inline-block; margin: 0 5px; transform: translateY(-3px); }
.gs-sheet-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gs-sheet-side { display: flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-muted); }
.gs-sheet-side > span { writing-mode: vertical-rl; }
.gs-sheet-side.is-left > span { rotate: 180deg; }
.gs-sheet-side > span::before { content: "\2039"; margin-bottom: 6px; }
.gs-sheet-side > span::after { content: "\203A"; margin-top: 6px; }
.gs-face-sheet .gs-sheetboard { flex: none; max-width: calc(100vw - 110px); }
/* Corrugated plastic: faint flute lines (the ribs inside the board), drawn every 2" like the partner's view but lighter. */
.gs-sheetboard.is-fluted { background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 24 - 1px), #F1ECE1 calc(100% / 24 - 1px), #F1ECE1 calc(100% / 24)); }
.gs-sheetboard { position: relative; display: block; width: 100%; padding: 0; border: 1.5px solid rgba(242, 234, 217, .22); border-radius: 3px; background: var(--gs-surface); font: inherit; cursor: pointer; box-shadow: var(--gs-shadow); }
.gs-sheetboard.is-stack { box-shadow: 7px 7px 0 -1px var(--gs-surface), 7px 7px 0 0 rgba(242, 234, 217, .22), var(--gs-shadow); }
.gs-sheetboard:hover, .gs-drag .gs-sheetboard { border-color: var(--gs-green); }
.gs-sheetboard:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 3px; }
.gs-sheetcell { position: absolute; overflow: hidden; border: 1px dashed #D9D0BD; background: #FBF8F1; }
.gs-sheetcell.is-used { border: 1px solid #c9a85e; background: var(--gs-surface); }
.gs-sheetcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gs-sheetcell img.is-rot { inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
.gs-progress { position: absolute; left: 10%; right: 10%; bottom: 10px; height: 6px; border-radius: 6px; background: rgba(242, 234, 217, .12); overflow: hidden; }
.gs-artbox .gs-progress { bottom: 6px; height: 4px; }
.gs-progress-bar { display: block; height: 100%; width: 0; background: var(--gs-green); transition: width .2s ease; }

/* toolbars under the preview */
.gs-tools { margin-top: 10px; }
.gs-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 10px 12px; border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-surface); }
.gs-toolbar-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-soil); }
.gs-toolbar select { min-height: 38px; padding: 6px 30px 6px 10px; border: 1.5px solid var(--gs-line); border-radius: 9px; background-color: var(--gs-on-accent); font: inherit; font-size: 14px; color: var(--gs-soil); }
.gs-toolbar select:focus { outline: 3px solid var(--gs-sun); outline-offset: 1px; border-color: var(--gs-green); }
.gs-tool-btn { min-height: 38px; padding: 6px 14px; border: 0; border-radius: 9px; background: var(--gs-green); color: var(--gs-on-accent); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.gs-tool-btn:hover { background: var(--gs-green-dark); }
.gs-toolbar-note { font-size: 13px; color: var(--gs-muted); }

/* notes */
.gs-stage-notes { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 10px; }
.gs-note { margin: 0; font-size: 13px; color: var(--gs-muted); text-align: center; }
.gs-note.is-good { color: var(--gs-green-dark); }
.gs-note.is-warn { color: #e8c477; }
.gs-note.is-error { color: #f0a08a; font-weight: 600; }
.gs-sheet-wrap { margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gs-sheet { width: min(280px, 80vw); height: auto; }
.gs-sheet-bg { fill: #fff; stroke: rgba(242, 234, 217, .22); stroke-width: .6; }
.gs-cell { fill: #f6f1e6; stroke: #c9a85e; stroke-width: .35; }
.gs-cell.is-used { fill: var(--gs-green); stroke: var(--gs-green-dark); }
.gs-sheet-wrap figcaption { font-size: 12px; color: var(--gs-muted); text-align: center; }

/* ----------------------------------------------------------------- chips */
.gs-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 18px; }
.gs-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 52px;
	padding: 6px 6px 6px 14px;
	border: 2px solid var(--gs-green);
	border-radius: 12px;
	background: var(--gs-surface);
	color: var(--gs-soil);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-align: left;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.gs-chip:hover { background: var(--gs-green-tint); }
.gs-chip:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 2px; }
.gs-chip-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-chip-value { flex: none; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: var(--gs-green); color: var(--gs-on-accent); font-size: 12px; letter-spacing: .02em; text-transform: none; }
.gs-chip.is-off .gs-chip-value { background: var(--gs-green-tint); color: var(--gs-green-dark); }
.gs-chip.is-open { background: var(--gs-green-tint); border-color: var(--gs-green-dark); }
.gs-chip.is-blocked, .gs-chip.is-fixed { border-color: rgba(242, 234, 217, .08); color: #6f685a; cursor: not-allowed; background: var(--gs-surface); }
.gs-chip.is-blocked .gs-chip-value, .gs-chip.is-fixed .gs-chip-value { background: rgba(242, 234, 217, .06); color: #8a8273; }
.gs-chip.is-fixed { cursor: default; }
.gs-chip-split { padding: 4px; gap: 4px; cursor: default; background: var(--gs-surface); }
.gs-chip-split:hover { background: var(--gs-surface); }
.gs-split { flex: 1 1 50%; min-height: 40px; border: 0; border-radius: 8px; background: var(--gs-green-tint); color: var(--gs-green-dark); font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.gs-split.is-on { background: var(--gs-green); color: var(--gs-on-accent); }
.gs-split:hover { filter: brightness(.96); }
.gs-split:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 1px; }

/* -------------------------------------------------------------- popovers */
.gs-pop {
	position: absolute;
	z-index: 60;
	max-height: min(62vh, 520px);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid var(--gs-line);
	border-radius: 14px;
	background: var(--gs-surface);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}
.gs-pop-head { position: relative; padding: 6px 44px 6px 8px; }
.gs-pop-title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-soil); }
.gs-pop-help { margin: 2px 0 0; font-size: 13px; color: var(--gs-muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.gs-pop > .gs-pop-help { padding: 4px 8px 0; }
.gs-close { position: absolute; top: 0; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: var(--gs-muted); cursor: pointer; }
.gs-close:hover { background: var(--gs-green-tint); color: var(--gs-soil); }
.gs-close:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 1px; }
.gs-why { margin: 0; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--gs-soil); }
.gs-menu { display: flex; flex-direction: column; gap: 2px; padding: 2px; }
.gs-menu-scroll { max-height: 320px; overflow-y: auto; }
.gs-menu-cols { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.gs-menu-cols .gs-menu + .gs-menu { border-left: 1px solid var(--gs-line); padding-left: 6px; }
.gs-menu-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; width: 100%; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; color: var(--gs-soil); text-align: left; cursor: pointer; }
.gs-menu-item:hover { background: var(--gs-green-tint); }
.gs-menu-item.is-on { background: var(--gs-green); color: var(--gs-on-accent); }
.gs-menu-item.is-on .gs-menu-note { color: rgba(26, 20, 8, .72); }
.gs-menu-item:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: -2px; }
.gs-menu-item:disabled { opacity: .45; cursor: not-allowed; }
.gs-menu-main { font-weight: 700; }
.gs-menu-note { font-size: 12px; color: var(--gs-muted); white-space: nowrap; }
.gs-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(0, 0, 0, .6); }

/* size: feet + inches */
.gs-ftin { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 6px 8px 4px; }
.gs-ftin-rows { display: flex; flex-direction: column; gap: 8px; }
.gs-ftin-row { display: flex; align-items: center; gap: 6px; }
.gs-ftin-label { width: 52px; font-size: 13px; font-weight: 800; color: var(--gs-muted); }
.gs-ftin-row input { width: 64px; min-height: 40px; padding: 6px 8px; border: 1.5px solid var(--gs-line); border-radius: 9px; font: inherit; font-size: 16px; text-align: right; color: var(--gs-soil); }
.gs-ftin-row input:focus, .gs-dims input:focus, .gs-stepper input:focus { outline: 3px solid var(--gs-sun); outline-offset: 1px; border-color: var(--gs-green); }
.gs-ftin-unit { font-size: 13px; color: var(--gs-muted); margin-right: 4px; }
.gs-ftin-side { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.gs-lock, .gs-swap { width: 40px; height: 40px; border: 1.5px solid var(--gs-line); border-radius: 9px; background: var(--gs-surface); font-size: 16px; color: var(--gs-muted); cursor: pointer; }
.gs-lock.is-on { border-color: var(--gs-green); background: var(--gs-green-tint); color: var(--gs-green-dark); }
.gs-lock:focus-visible, .gs-swap:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 1px; }
.gs-readout { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: var(--gs-muted); }
.gs-dims { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 6px 8px; }
.gs-dims label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--gs-muted); }
.gs-dims input { width: 130px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--gs-line); border-radius: 10px; font: inherit; font-size: 17px; color: var(--gs-soil); }
.gs-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; }
.gs-pill { min-height: 36px; padding: 6px 12px; border: 1.5px solid var(--gs-line); border-radius: 999px; background: var(--gs-surface); font: inherit; font-size: 13px; font-weight: 700; color: var(--gs-soil); cursor: pointer; }
.gs-pill:hover, .gs-pill.is-on { border-color: var(--gs-green); background: var(--gs-green-tint); }
.gs-pop .gs-link { margin: 0 8px 6px; }
.gs-pop .gs-stepper { margin: 8px; }

/* stepper */
.gs-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--gs-line); border-radius: 10px; overflow: hidden; background: var(--gs-surface); }
.gs-step { width: 44px; min-height: 44px; border: 0; background: var(--gs-surface); font-size: 22px; color: var(--gs-green); cursor: pointer; }
.gs-step:hover { background: var(--gs-green-tint); }
.gs-stepper input { width: 80px; border: 0; border-left: 1.5px solid var(--gs-line); border-right: 1.5px solid var(--gs-line); text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--gs-soil); -moz-appearance: textfield; }
.gs-stepper input::-webkit-outer-spin-button, .gs-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --------------------------------------------------------------- buttons */
.gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.gs-btn-primary { background: var(--gs-orange); color: var(--gs-soil); }
.gs-btn-primary:hover { background: #f0cf86; color: var(--gs-soil); }
.gs-btn-primary:disabled { background: rgba(242, 234, 217, .08); color: #6f685a; cursor: not-allowed; }
.gs-btn-ghost { background: var(--gs-surface); color: var(--gs-green); border-color: var(--gs-green); }
.gs-btn-ghost:hover { background: var(--gs-green-tint); }
.gs-btn:focus-visible, .gs-link:focus-visible, .gs-pill:focus-visible, .gs-step:focus-visible, .gs-item-size:focus-visible, .gs-add-sign:focus-visible, .gs-artbox:focus-visible, .gs-tool-btn:focus-visible, .gs-pricing-link:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 2px; }
.gs-link { padding: 4px 2px; border: 0; background: none; color: var(--gs-green); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gs-errors { margin: 0; max-width: 300px; color: #f0a08a; font-weight: 600; font-size: 13px; text-align: right; }
.gs-hint { margin: 0; max-width: 300px; color: var(--gs-muted); font-size: 13px; text-align: right; }
.gs-added { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; }
.gs-added-msg { margin: 0; flex-basis: 100%; text-align: right; font-weight: 800; color: var(--gs-green-dark); }
.gs-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gs-cart-qty { font-weight: 600; }
.gs-loop-button { white-space: nowrap; }

/* phone bar (hidden on desktop) */
.gs-bar { display: none; }

/* ------------------------------------------------- pricing & shipping modal */
.gs-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.gs-modal-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.gs-modal-box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 24px; border-radius: 18px; background: var(--gs-surface); box-shadow: 0 24px 60px rgba(27, 38, 32, .3); }
.gs-modal-head { position: relative; padding-right: 48px; }
.gs .gs-modal-title { margin: 0 0 12px; font-size: 22px; color: var(--gs-soil); }
.gs-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--gs-cream); }
.gs-tab { min-height: 38px; padding: 6px 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; font-weight: 800; color: var(--gs-muted); cursor: pointer; }
.gs-tab.is-on { background: var(--gs-surface); color: var(--gs-soil); box-shadow: var(--gs-shadow); }
.gs-tab:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 1px; }
.gs-table-scroll { overflow-x: auto; }
.gs-price-grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.gs-price-grid th, .gs-price-grid td { padding: 8px 10px; border-bottom: 1px solid rgba(242, 234, 217, .1); text-align: left; white-space: nowrap; background: none; }
.gs-price-grid thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gs-soil); }
.gs-price-grid tbody th { font-weight: 700; color: var(--gs-soil); }
.gs-price-grid tr.is-current th, .gs-price-grid tr.is-current td { background: var(--gs-green-tint); }
.gs-fee-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 18px 0 0; font-size: 14px; }
.gs-fee-list dt { margin: 0; font-weight: 700; color: var(--gs-soil); }
.gs-fee-list dd { margin: 0; color: var(--gs-muted); }
.gs-modal-note { margin: 16px 0 0; font-size: 14px; color: var(--gs-muted); }
.gs-modal-note a { color: var(--gs-green); }
.gs-ship-list { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.6; }
.gs-ship-list li { margin-bottom: 6px; }
.gs-modal-done { margin-top: 18px; }

/* More info (About tab) */
.gs-info-link { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 800; color: var(--gs-green); cursor: pointer; }
.gs-info-link:hover { text-decoration: underline; }
.gs-info-link:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 2px; border-radius: 6px; }
.gs-info-i { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 800; font-style: normal; line-height: 1; }
.gs-info-about { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--gs-soil); }
.gs-info-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 28px; }
.gs-info-block h3 { margin: 6px 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gs-green); }
.gs-info-list { margin: 0 0 12px; padding-left: 1.15em; font-size: 15px; line-height: 1.55; }
.gs-info-list li { margin-bottom: 4px; }
.gs-info-specs { margin: 0 0 12px; }
@media (max-width: 640px) { .gs-info-cols { grid-template-columns: 1fr; } }
html.gs-modal-open { overflow: hidden; }

/* --------------------------------------------------------------- T-shirts */
.gs-tee-item { display: grid; gap: 10px; }
.gs-tee-row { display: grid; gap: 6px; }
.gs-tee-label { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gs-muted); }
.gs-tee-brand { font-size: 14px; font-weight: 700; color: var(--gs-soil); }
.gs-tee-pills, .gs-tee-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-tee-pill, .gs-swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--gs-line); border-radius: 999px; background: var(--gs-surface); font: inherit; font-size: 14px; font-weight: 700; color: var(--gs-text); cursor: pointer; }
.gs-tee-pill.is-on, .gs-swatch.is-on { border-color: var(--gs-green); background: var(--gs-green-tint); color: var(--gs-green-dark); }
.gs-tee-pill.is-on::before { content: "\2713"; font-weight: 800; }
.gs-tee-pill:focus-visible, .gs-swatch:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 1px; }
.gs-swatch-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(214, 178, 106, .5); }
.gs-tee-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gs-tee-size { display: grid; gap: 2px; justify-items: center; padding: 4px; border: 1px solid var(--gs-line); border-radius: 10px; background: var(--gs-paper); font-size: 12px; font-weight: 800; color: var(--gs-muted); cursor: text; }
.gs-tee-size input { width: 100%; min-height: 36px; padding: 4px; border: 0; border-radius: 6px; background: var(--gs-surface); font: inherit; font-size: 16px; font-weight: 700; color: var(--gs-soil); text-align: center; }
.gs-tee-size input:focus-visible { outline: 2px solid var(--gs-green); }
.gs-tee-tabs { display: flex; width: max-content; margin: 0 auto 10px; }
.gs-tee-figure { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.gs-tee-btn { position: relative; display: block; width: min(100%, 420px); padding: 0; border: 0; background: none; cursor: pointer; }
.gs-tee-btn:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 4px; border-radius: 12px; }
.gs-tee-btn .gs-progress { position: absolute; left: 30%; right: 30%; bottom: 50%; }
.gs-tee-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(242, 234, 217, .12)); }
.gs-tee-area { fill: rgba(214, 178, 106, .05); stroke: var(--gs-green); stroke-width: 1.2; stroke-dasharray: 5 4; }
.gs-tee-area.is-dark { fill: rgba(255, 255, 255, .06); stroke: #9FD3AE; }
.gs-tee-area.has-art { fill: none; }
.gs-tee-hint { font-size: 10px; font-weight: 700; fill: var(--gs-green); }
.gs-tee-hint.is-dark { fill: #CDEBD5; }
.gs-tee-scale { margin: 12px auto 0; max-width: 420px; font-size: 13px; color: var(--gs-muted); }
.gs-tee-scale summary { cursor: pointer; font-weight: 700; color: var(--gs-green-dark); }
.gs-tee-scale ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; margin: 8px 0 0; padding: 0; list-style: none; }


/* Volume nudge under the price */
.gs-nudge-wrap { margin-top: 8px; }
.gs-nudge { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px 6px 6px; border: 1.5px solid rgba(214, 178, 106, .35); border-radius: 999px; background: var(--gs-green-tint); color: var(--gs-green-dark); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
.gs-nudge:hover { border-color: var(--gs-green); }
.gs-nudge:focus-visible { outline: 3px solid var(--gs-sun); outline-offset: 2px; }
.gs-nudge-tag { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--gs-green); color: var(--gs-on-accent); font-size: 12px; }

/* Readability meter */
.gs-note.gs-read { color: var(--gs-text); }
.gs-read-badge { margin-right: 4px; }
.gs-read a { color: var(--gs-green); font-weight: 700; }

/* See it in place */
.gs-view-tabs { display: flex; width: max-content; margin: 0 auto 12px; }
.gs-place { margin: 0; }
.gs-place-canvas { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--gs-surface); box-shadow: var(--gs-shadow); }
.gs-place-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 10px; }
.gs-place-note { margin: 0; font-size: 13px; color: var(--gs-muted); }
.gs-place-dl { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Kit progress */
.gs-kit-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--gs-line); border-radius: var(--gs-radius); background: var(--gs-cream); }
.gs-kit-name { font-weight: 800; color: var(--gs-green-dark); text-decoration: none; }
.gs-kit-steps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.gs-kit-steps a { display: inline-flex; align-items: center; gap: 6px; color: var(--gs-muted); text-decoration: none; }
.gs-kit-steps .is-current a { color: var(--gs-soil); font-weight: 800; }
.gs-kit-steps .is-done a { color: var(--gs-green); }
.gs-kit-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gs-surface); border: 1.5px solid var(--gs-line); font-size: 12px; font-weight: 800; }
.gs-kit-steps .is-current .gs-kit-num { background: var(--gs-orange); border-color: var(--gs-orange); color: var(--gs-on-accent); }
.gs-kit-steps .is-done .gs-kit-num { background: var(--gs-green); border-color: var(--gs-green); color: var(--gs-on-accent); }

/* ----------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
	.gs-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
	.gs-head { grid-template-columns: minmax(0, 1fr) auto; }
	.gs-rates-wrap { grid-column: 1 / -1; grid-row: 2; text-align: left; }
	.gs-rate-table { margin: 0; }
}

/* ------------------------------------------------------------------ phone */
@media (max-width: 760px) {
	.gs { font-size: 15px; margin-bottom: 0; padding-bottom: 8px; }
	.gs-layout { display: flex; flex-direction: column; gap: 14px; }
	.gs-main { order: 1; width: 100%; }
	.gs-side { order: 2; position: static; max-height: none; overflow: visible; padding: 0; width: 100%; }
	.gs-head { grid-template-columns: 1fr; gap: 8px; padding-top: 6px; }
	.gs-rates-wrap { grid-row: auto; }
	.gs-total { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
	.gs-price-meta { margin-top: 0; }
	.gs-buy { display: none; }
	.gs-stage { padding: 20px 6px 12px; }
	.gs-dimbox { padding: 20px 24px; }
	.gs-dim-top, .gs-dim-bottom { left: 24px; right: 24px; }
	.gs-dim-left, .gs-dim-right { top: 20px; bottom: 20px; }
	.gs-items { gap: 8px; }
	.gs-item-art:not(.is-double) .gs-artbox { aspect-ratio: 16 / 7; }
	.gs-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
	.gs-chip { flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; min-height: 64px; padding: 6px; font-size: 11px; text-align: center; }
	.gs-chip-label { padding: 0 2px; }
	.gs-chip-value { max-width: none; padding: 6px 8px; text-align: center; }
	.gs-chip-split { flex-direction: row; min-height: 64px; }
	.gs-pop.is-sheet {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		z-index: 999;
		width: auto;
		max-height: 78vh;
		padding: 10px 10px calc(12px + env(safe-area-inset-bottom));
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -12px 40px rgba(0, 0, 0, .55);
	}
	.gs-pop.is-sheet::before { content: ""; display: block; width: 44px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: rgba(242, 234, 217, .25); }
	.gs-menu-item { min-height: 48px; }
	.gs-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--gs-surface);
		border-top: 1px solid var(--gs-line);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .4);
	}
	.gs-has-pop .gs-bar { visibility: hidden; }
	.gs-bar-price { display: flex; flex-direction: column; min-width: 0; }
	.gs-bar-total { font-size: 20px; font-weight: 800; color: var(--gs-green); line-height: 1.1; }
	.gs-bar-meta { font-size: 12px; color: var(--gs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.gs-bar .gs-add, .gs-bar .gs-added { flex: 1 1 auto; min-width: 0; }
	.gs-bar .gs-add { min-height: 48px; padding: 10px 12px; font-size: 15px; }
	.gs-bar .gs-added .gs-btn { width: 100%; }
	.gs-bar-error { position: absolute; left: 16px; right: 16px; bottom: calc(100% + 6px); margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(240, 160, 138, .08); font-size: 12px; text-align: center; max-width: none; }
	body.gs-builder-page { padding-bottom: 76px; }
	.gs-modal { padding: 0; place-items: end stretch; }
	.gs-modal-box { width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
	.gs-fee-list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.gs-fee-list dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.gs * { transition: none !important; scroll-behavior: auto !important; }
}

/* Same info, server-rendered at the top of the product's Description tab */
.gs-info-section { margin: 0 0 28px; }
.gs-info-section h2 { margin: 0 0 10px; font-size: 24px; }
.gs-info-section h3 { margin: 20px 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gs-green, #d6b26a); }
.gs-info-section ul { margin: 0; padding-left: 1.2em; }
.gs-info-specs { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 15px; }
.gs-info-specs th, .gs-info-specs td { padding: 8px 10px; border-bottom: 1px solid rgba(242, 234, 217, .1); text-align: left; vertical-align: top; background: none; }
.gs-info-specs th { width: 38%; font-weight: 700; color: var(--gs-soil); }

/* Text-style buttons: keep Kadence's button hover/focus fill off them */
.gs .gs-info-link, .gs .gs-info-link:hover, .gs .gs-info-link:focus,
.gs .gs-pricing-link, .gs .gs-pricing-link:hover, .gs .gs-pricing-link:focus { background: none; box-shadow: none; border: 0; }
.gs .gs-info-link, .gs .gs-info-link:focus { color: var(--gs-green); }
.gs .gs-info-link:hover { color: var(--gs-green-dark); }
.gs .gs-pricing-link:focus { color: var(--gs-green); }

/* Welcome back / saved artwork note */
.gs-restored { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid rgba(214, 178, 106, .35); border-radius: 12px; background: #F3F8EF; font-size: 14px; color: var(--gs-soil); }
.gs .gs-restored-reset { font-size: 14px; }
/* Corrugated sheets: flute lines run through the sign slots too, like the partner's view */
.gs-sheetboard.is-fluted .gs-sheetcell { background: transparent; }
.gs-sheetboard.is-fluted .gs-sheetcell.is-used { background: var(--gs-surface); }

/* Full-sheet vs priced-by-size savings tip */
.gs-twin { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 8px; padding: 8px 12px; border: 1.5px solid rgba(214, 178, 106, .5); border-radius: 12px; background: rgba(214, 178, 106, .08); font-size: 13px; font-weight: 600; color: var(--gs-soil); text-align: left; }
.gs .gs-twin-btn { padding: 2px 0; font-size: 13px; font-weight: 800; }

/* Hardware (stakes, standoffs): sold by the pack, no artwork or size */
.gs-gear .gs-layout { grid-template-columns: minmax(0, 1fr); }
.gs-gear .gs-side { display: none; }
.gs-gear-card { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; border: 1.5px solid var(--gs-line); border-radius: var(--gs-radius); background: var(--gs-surface); }
.gs .gs-gear-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--gs-cream); }
.gs-gear-body { display: grid; gap: 10px; justify-items: start; }
.gs .gs-gear-label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gs-muted); }
.gs-gear-finish { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.gs .gs-gear-opt { padding: 9px 16px; border: 1.5px solid var(--gs-line); border-radius: 999px; background: var(--gs-surface); color: var(--gs-soil); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.gs .gs-gear-opt:hover { border-color: var(--gs-green); }
.gs .gs-gear-opt.is-on { border-color: var(--gs-green); background: var(--gs-green-tint); color: var(--gs-green-dark); }
.gs .gs-gear-opt:focus-visible, .gs .gs-gear-btn:focus-visible, .gs .gs-gear-qty:focus-visible { outline: 3px solid var(--gs-green); outline-offset: 2px; }
.gs-gear-step { display: inline-flex; align-items: stretch; border: 1.5px solid var(--gs-line); border-radius: 999px; overflow: hidden; background: var(--gs-surface); }
.gs .gs-gear-btn { width: 48px; min-height: 48px; padding: 0; border: 0; background: var(--gs-cream); color: var(--gs-soil); font: inherit; font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; }
.gs .gs-gear-btn:hover:not(:disabled) { background: var(--gs-green-tint); color: var(--gs-green-dark); }
.gs .gs-gear-btn:disabled { color: #B9B2A3; cursor: default; }
.gs .gs-gear-qty { width: 72px; min-height: 48px; margin: 0; padding: 0 4px; border: 0; border-left: 1.5px solid var(--gs-line); border-right: 1.5px solid var(--gs-line); border-radius: 0; background: var(--gs-surface); color: var(--gs-soil); font: inherit; font-size: 18px; font-weight: 800; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.gs .gs-gear-qty::-webkit-outer-spin-button, .gs .gs-gear-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gs .gs-gear-count { margin: 0; font-size: 15px; font-weight: 700; color: var(--gs-soil); }
.gs .gs-gear-note { margin: 0; font-size: 14px; color: var(--gs-muted); }
@media (max-width: 760px) {
	.gs-gear-card { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
	.gs .gs-gear-img { max-width: 320px; margin: 0 auto; }
}

/* ---------------------------------------------------------------------------------------------------
 * Gilded overrides (appended by Gilded/tools/fork_plugins.py after the colour map).
 * The builder sits on Gilded's dark page: ivory text, gold accents, square-cut corners, Bodoni headings.
 * The sign preview, print sheets and grommets stay white because they show the real material.
 * ------------------------------------------------------------------------------------------------- */
.gs { font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; }
.gs .gs-title, .gs .gs-modal-title { font-family: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
.gs .gs-title { font-size: clamp(30px, 3.4vw, 44px); }
.gs-eyebrow, .gs-pricing-link { font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 500; letter-spacing: .16em; }
.gs-price { font-family: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif; font-weight: 600; color: #f4e0a8; font-variant-numeric: lining-nums tabular-nums; }

/* the sign, the sheet and its cells are the material: keep them white */
.gs-canvas { background: #fff; border-color: rgba(242, 234, 217, .22); }
.gs-sheetboard { background: #fff; }
.gs-sheetcell.is-used, .gs-sheetboard.is-fluted .gs-sheetcell.is-used { background: #fff; }
.gs-sheetcell { background: #f6f2ea; border-color: #d9d0bd; }
.gs-stage { background-color: #12100d; }

/* buttons: gold gradient primary, outlined secondary */
.gs-btn { border-radius: 999px; font-weight: 700; letter-spacing: .01em; }
.gs-btn-primary {
	background: linear-gradient(100deg, #8d6b2e 0%, #d6b26a 22%, #f4e0a8 42%, #d6b26a 58%, #8d6b2e 82%, #d6b26a 100%);
	background-size: 250% 100%;
	color: #1a1408;
	box-shadow: 0 14px 34px -14px rgba(214, 178, 106, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
	transition: background-position .6s ease, transform .3s ease;
}
.gs-btn-primary:hover { background-position: 60% 0; color: #1a1408; transform: translateY(-1px); }
.gs-btn-primary:disabled { background: rgba(242, 234, 217, .08); color: #6f685a; box-shadow: none; transform: none; }
.gs-btn-ghost { background: transparent; color: #f2ead9; border-color: rgba(214, 178, 106, .45); }
.gs-btn-ghost:hover { background: rgba(214, 178, 106, .1); border-color: #d6b26a; }
.gs-tool-btn { background: #d6b26a; color: #1a1408; }
.gs-link { color: #f4e0a8; }

/* panels and popovers on the dark page */
.gs-modal-box, .gs-pop, .gs-menu { background: #1a1813; color: #e4dac8; border: 1px solid rgba(242, 234, 217, .12); }
.gs-modal-box { border-radius: 6px; }
.gs-tab.is-on { background: #2a251c; color: #f2ead9; }
.gs-chip { border-color: rgba(242, 234, 217, .14); }
.gs-chip:hover { border-color: rgba(214, 178, 106, .6); }
.gs-item.is-current { border-color: #d6b26a; box-shadow: 0 0 0 3px rgba(214, 178, 106, .18); }
.gs input, .gs select, .gs textarea { color: #f2ead9; }
.gs select option { background: #1a1813; color: #f2ead9; }

/* loading state */
.gs-loading { display: flex; align-items: center; gap: 14px; color: #b0a794; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.gs-loading-bar { position: relative; width: 72px; height: 1px; overflow: hidden; background: rgba(214, 178, 106, .25); }
.gs-loading-bar::after { content: ""; position: absolute; inset: 0; background: #d6b26a; transform: translateX(-100%); animation: gs-load 1.6s ease-in-out infinite; }
@keyframes gs-load { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .gs-loading-bar::after { animation: none; transform: none; } }

/* upload prompt on the white sign face */
.gs-canvas .gs-drop strong { color: #2a2112; }
.gs-canvas .gs-drop span { color: #6d6250; }
