/* =====================================================================
   Librerie Krossing su misura — pagina, configuratore, checkout.
   Usa i token del tema Gandolfo 26 (--ink, --line, --tint, --font…)
   con valori di riserva se il tema non c'è.
   ===================================================================== */

.gk-main,
.gk-sheet,
.gk-modal,
.gk-dock,
.gk-thanks {
	--gk-ink: var(--ink, #010101);
	--gk-ink-soft: var(--ink-soft, #212121);
	--gk-grey: var(--grey-dark, #5f5f5f);
	--gk-grey-2: var(--grey, #878787);
	--gk-line: var(--line, #e3e3e3);
	--gk-line-2: var(--line-strong, #cfcfcf);
	--gk-tint: var(--tint, #f3f3f2);
	--gk-tint-2: var(--tint-2, #ececeb);
	--gk-paper: var(--paper, #fff);
	--gk-ease: var(--ease, cubic-bezier(.2, .7, .2, 1));
	--gk-t: var(--t, 280ms);
	--gk-header: var(--header-h, 72px);
	--gk-radius: var(--radius, 2px);

	/* variabili lette dai disegni SVG del configuratore */
	--bg: var(--gk-tint);
	--panel: var(--gk-paper);
	--muted: var(--gk-grey);
	--accent: var(--gk-ink);
	--accent-soft: rgba(1, 1, 1, .06);
	--cell: #fff;
	--warn: #8a4b00;
	--warn-soft: #fcf0e1;
	--bad: #c0302b;
	--bad-soft: #fbe4e2;
	--ok: var(--ok, #2f6b4f);
}

.gk-main {
	overflow-x: clip;
}

.gk-main svg,
.gk-sheet svg,
.gk-modal svg {
	height: auto;
}

/* ---- Tipografia comune ------------------------------------------- */
.gk-eyebrow {
	margin: 0 0 1rem;
	font-size: var(--fs-xs, .6875rem);
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gk-grey);
}

.gk-h2 {
	font-size: var(--fs-xl, clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem));
	font-weight: 400;
	letter-spacing: -.03em;
	line-height: 1.08;
	text-wrap: balance;
}

.gk-section-head {
	display: grid;
	gap: 18px 64px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

@media (min-width: 1024px) {
	.gk-section-head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
	}
}

.gk-section-head__lead,
.gk-finishes__lead {
	max-width: 52ch;
	color: var(--gk-grey);
}

/* ---- Hero ----------------------------------------------------------- */
.gk-hero {
	padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 96px);
}

.gk-hero__grid {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

@media (min-width: 1024px) {
	.gk-hero__grid {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	}
}

.gk-hero__title {
	font-size: var(--fs-3xl, clamp(2.5rem, 1.2rem + 5vw, 5.5rem));
	font-weight: 400;
	letter-spacing: -.045em;
	line-height: .98;
	max-width: 12ch;
}

.gk-hero__lead {
	max-width: 46ch;
	margin-top: clamp(18px, 2vw, 28px);
	font-size: var(--fs-md, 1.0625rem);
	line-height: 1.55;
	color: var(--gk-ink-soft);
}

.gk-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(24px, 3vw, 36px);
}

.gk-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 18px clamp(24px, 3vw, 44px);
	margin: clamp(28px, 4vw, 48px) 0 0;
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid var(--gk-line);
}

.gk-facts li {
	display: grid;
	gap: 2px;
}

.gk-facts strong {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-facts span {
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
}

.gk-hero__visual {
	position: relative;
	margin: 0;
	background: var(--gk-tint);
	aspect-ratio: 5 / 4;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.gk-hero__art {
	position: absolute;
	inset: 9% 10% 12%;
}

.gk-hero__art svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.gk-hero__art .gk-h-shelf,
.gk-hero__art .gk-h-tube {
	transition: fill 1.2s var(--gk-ease);
}

.gk-hero__art .gk-h-in {
	opacity: 0;
	transform: translateY(6px);
	transform-box: fill-box;
	animation: gk-rise .9s var(--gk-ease) forwards;
}

@keyframes gk-rise {
	to { opacity: 1; transform: none; }
}

.gk-hero__caption {
	position: absolute;
	left: 18px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--fs-xs, .6875rem);
	letter-spacing: .04em;
	color: var(--gk-grey);
}

.gk-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1c1c1c;
	box-shadow: inset 0 0 0 1px rgba(1, 1, 1, .15);
	transition: background 1.2s var(--gk-ease);
}

/* ---- Sezione configuratore ------------------------------------------ */
.gk-config {
	padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 112px);
	scroll-margin-top: calc(var(--gk-header) - 1px);
}

.gk-config__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 20px;
}

.gk-config__head .gk-eyebrow {
	margin-bottom: .6rem;
}

.gk-modes {
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	padding: 3px;
	gap: 3px;
	background: var(--gk-paper);
}

.gk-modes button {
	display: grid;
	gap: 1px;
	text-align: left;
	padding: 10px 18px;
	border: 0;
	border-radius: 1px;
	background: transparent;
	color: var(--gk-ink);
	transition: background var(--gk-t) var(--gk-ease), color var(--gk-t) var(--gk-ease);
}

.gk-modes b {
	font-size: var(--fs-sm, .8125rem);
	font-weight: 500;
}

.gk-modes small {
	font-size: .72rem;
	color: var(--gk-grey);
	transition: color var(--gk-t) var(--gk-ease);
}

.gk-modes button[aria-selected='true'] {
	background: var(--gk-ink);
	color: var(--gk-paper);
}

.gk-modes button[aria-selected='true'] small {
	color: rgba(255, 255, 255, .66);
}

@media (hover: hover) {
	.gk-modes button:not([aria-selected='true']):hover {
		background: var(--gk-tint);
	}
}

/* ---- App: palco + pannello ---------------------------------------- */
.gk-app {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--gk-line);
	background: var(--gk-paper);
}

@media (min-width: 1024px) {
	.gk-app {
		grid-template-columns: minmax(0, 1fr) clamp(340px, 27vw, 400px);
		height: clamp(640px, calc(100svh - var(--gk-header) - 40px), 940px);
	}
}

.gk-stagecol {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.gk-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	background: var(--gk-tint);
	transition: box-shadow var(--gk-t) var(--gk-ease);
}

.gk-stage.invalid {
	box-shadow: inset 0 0 0 2px var(--bad);
}

.gk-stage__bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 18px clamp(16px, 2vw, 26px) 6px;
	position: relative;
	z-index: 4;
}

.gk-stage__meta {
	min-width: 0;
}

.gk-stage__sku {
	font-size: var(--fs-xs, .6875rem);
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gk-grey);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gk-stage__dims {
	margin-top: 6px;
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
	font-variant-numeric: tabular-nums;
}

.gk-stage__dims b {
	color: var(--gk-ink);
	font-weight: 500;
}

.gk-stage__dims i {
	font-style: normal;
	padding: 0 7px;
	color: var(--gk-line-2);
}

.gk-stage__tools {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.gk-seg {
	display: inline-flex;
	padding: 3px;
	gap: 2px;
	background: var(--gk-paper);
	border: 1px solid var(--gk-line);
	border-radius: var(--gk-radius);
}

.gk-seg button {
	min-width: 40px;
	padding: 6px 12px;
	border: 0;
	border-radius: 1px;
	background: transparent;
	font-size: var(--fs-sm, .8125rem);
	font-weight: 500;
	color: var(--gk-grey);
	transition: background var(--gk-t) var(--gk-ease), color var(--gk-t) var(--gk-ease);
}

.gk-seg button.on {
	background: var(--gk-ink);
	color: var(--gk-paper);
}

.gk-ibtn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--gk-line);
	border-radius: var(--gk-radius);
	background: var(--gk-paper);
	color: var(--gk-ink);
	transition: border-color var(--gk-t) var(--gk-ease), opacity var(--gk-t) var(--gk-ease);
}

.gk-ibtn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gk-ibtn:disabled {
	opacity: .35;
	cursor: default;
}

@media (hover: hover) {
	.gk-ibtn:not(:disabled):hover {
		border-color: var(--gk-ink);
	}
}

.gk-canvas,
.gk-canvas3d {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
}

.gk-canvas svg {
	display: block;
	width: 100%;
	height: 100%;
	user-select: none;
	-webkit-user-select: none;
}

.gk-canvas3d {
	cursor: grab;
	touch-action: none;
	overflow: hidden;
}

.gk-canvas3d:active {
	cursor: grabbing;
}

.gk-canvas3d canvas {
	display: block;
}

.gk-loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
}

.gk-msgs {
	position: absolute;
	z-index: 5;
	left: clamp(16px, 2vw, 26px);
	right: clamp(16px, 2vw, 26px);
	top: 74px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	pointer-events: none;
}

.gk-msgs:empty {
	display: none;
}

.gk-nogo:not([hidden]) ~ .gk-msgs {
	top: 132px;
}

.gk-msg {
	max-width: min(560px, 100%);
	padding: 8px 12px;
	font-size: .78rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--warn);
	background: var(--warn-soft);
	border-left: 2px solid currentColor;
	box-shadow: 0 6px 18px -10px rgba(1, 1, 1, .25);
	animation: gk-fade .25s var(--gk-ease);
}

.gk-msg.bad {
	color: var(--bad);
	background: var(--bad-soft);
}

.gk-msg.info {
	color: var(--gk-ink);
	background: var(--gk-paper);
}

@keyframes gk-fade {
	from { opacity: 0; transform: translateY(-4px); }
}

.gk-nogo {
	position: absolute;
	z-index: 5;
	top: 74px;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	max-width: calc(100% - 32px);
	display: grid;
	gap: 2px;
	padding: 10px 18px;
	text-align: center;
	font-size: .78rem;
	color: #fff;
	background: var(--bad);
	box-shadow: 0 10px 28px -10px rgba(192, 48, 43, .55);
}

.gk-nogo strong {
	font-size: var(--fs-sm, .8125rem);
	font-weight: 600;
}

.gk-stage__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 10px clamp(16px, 2vw, 26px) 16px;
}

.gk-hint {
	flex: 1 1 260px;
	font-size: .78rem;
	line-height: 1.4;
	color: var(--gk-grey);
}

.gk-stage__actions {
	display: flex;
	gap: 4px;
}

.gk-tbtn {
	padding: 8px 12px;
	border: 0;
	border-radius: var(--gk-radius);
	background: transparent;
	font-size: .78rem;
	font-weight: 500;
	color: var(--gk-ink);
	text-decoration: underline;
	text-decoration-color: rgba(1, 1, 1, .25);
	text-underline-offset: .25em;
	transition: text-decoration-color var(--gk-t) var(--gk-ease), background var(--gk-t) var(--gk-ease);
}

@media (hover: hover) {
	.gk-tbtn:hover {
		text-decoration-color: currentColor;
		background: rgba(1, 1, 1, .04);
	}
}

/* Disegno 2D (stessi selettori del configuratore originale) */
.gk-canvas .cell {
	cursor: pointer;
}

.gk-canvas .cell .cf {
	transition: stroke .15s, fill .15s;
}

@media (hover: hover) {
	.gk-canvas .cell:hover .cf {
		stroke: var(--gk-ink);
		stroke-width: 1.2;
	}

	.gk-canvas .cell.pad:hover .cf {
		fill: rgba(255, 255, 255, .7);
		stroke-dasharray: none;
	}
}

.gk-canvas .ca {
	cursor: pointer;
	opacity: .22;
	transition: opacity .15s;
}

.gk-canvas .ca:hover,
.gk-canvas .ca:focus-visible {
	opacity: 1;
}

.gk-canvas .ca circle {
	fill: var(--gk-ink);
}

.gk-canvas .ca path {
	stroke: #fff;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gk-canvas .slot {
	cursor: pointer;
}

.gk-canvas .slot line {
	stroke: var(--gk-ink);
	stroke-width: 2;
	stroke-dasharray: 5 4;
	opacity: .4;
}

.gk-canvas .slot circle {
	fill: #fff;
	stroke: var(--gk-ink);
	stroke-width: 1.2;
}

.gk-canvas .slot path {
	stroke: var(--gk-ink);
	stroke-width: 1.6;
	stroke-linecap: round;
}

.gk-canvas .slot.on circle,
.gk-canvas .slot.on path {
	stroke: var(--bad);
}

.gk-canvas .slot.base.on g {
	opacity: 0;
}

.gk-canvas .slot.base:hover g {
	opacity: 1;
}

.gk-canvas .slot:not(.on) g {
	opacity: 0;
}

.gk-canvas .slot:hover line {
	opacity: .9;
}

.gk-canvas .slot:hover g,
.gk-canvas .slot:hover circle {
	opacity: 1;
}

.gk-canvas .chip {
	cursor: pointer;
}

.gk-canvas .chip rect {
	fill: #fff;
	stroke: var(--gk-line-2);
}

.gk-canvas .chip text {
	fill: var(--gk-ink);
	font-family: var(--font, Inter, system-ui, sans-serif);
	font-size: 11.5px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.gk-canvas .chip.sel rect {
	fill: var(--gk-ink);
	stroke: var(--gk-ink);
}

.gk-canvas .chip.sel text {
	fill: #fff;
}

.gk-canvas .dimt,
.gk-props .wallnote,
.gk-canvas .wallnote {
	fill: var(--gk-grey);
	font-family: var(--font, Inter, system-ui, sans-serif);
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
}

.gk-canvas .diml {
	stroke: var(--gk-grey-2);
	stroke-width: 1;
}

/* Proposte (modalità «Parti dalle misure») */
.gk-props {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	align-content: start;
	gap: 14px;
	padding: 8px clamp(16px, 2vw, 26px) 24px;
}

.gk-prop {
	display: flex;
	flex-direction: column;
	background: var(--gk-paper);
	border: 1px solid var(--gk-line);
	transition: border-color var(--gk-t) var(--gk-ease), transform var(--gk-t) var(--gk-ease), box-shadow var(--gk-t) var(--gk-ease);
}

@media (hover: hover) {
	.gk-prop:hover {
		border-color: var(--gk-ink);
		transform: translateY(-2px);
		box-shadow: 0 18px 40px -24px rgba(1, 1, 1, .35);
	}
}

.gk-prop__art {
	aspect-ratio: 4 / 3;
	padding: 14px;
	border-bottom: 1px solid var(--gk-line);
	background: #fbfbfa;
}

.gk-prop__art svg {
	width: 100%;
	height: 100%;
}

.gk-prop__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 14px 16px 16px;
}

.gk-prop h3 {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-prop p {
	font-size: .78rem;
	line-height: 1.45;
	color: var(--gk-grey);
}

.gk-prop__meta {
	font-size: .75rem;
	color: var(--gk-ink-soft);
	font-variant-numeric: tabular-nums;
}

.gk-prop__price {
	margin-top: auto;
	padding-top: 8px;
	font-size: 1.35rem;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

.gk-prop .gf-button {
	min-height: 44px;
	margin-top: 6px;
}

.gk-morebar {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: .78rem;
	color: var(--gk-grey);
}

.gk-empty {
	grid-column: 1 / -1;
	align-self: center;
	max-width: 440px;
	margin: clamp(24px, 8vh, 96px) auto;
	text-align: center;
	color: var(--gk-grey);
	font-size: var(--fs-sm, .8125rem);
}

.gk-empty b {
	display: block;
	margin-bottom: 8px;
	font-size: var(--fs-lg, 1.4rem);
	font-weight: 400;
	letter-spacing: -.02em;
	color: var(--gk-ink);
}

.gk-empty svg {
	width: 120px;
	margin: 0 auto 20px;
	opacity: .5;
}

/* Barra righe (telefono) */
.gk-rowbar {
	display: none;
}

@media (max-width: 640px) {
	.gk-rowbar {
		display: grid;
		gap: 8px;
		padding: 12px 16px;
		border-top: 1px solid var(--gk-line);
		background: var(--gk-paper);
	}

	.gk-rowbar[hidden] {
		display: none;
	}

	.gk-rowbar .rl {
		display: flex;
		align-items: center;
		gap: 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.gk-rowbar .rk {
		flex-shrink: 0;
		margin-right: 4px;
		font-size: .66rem;
		font-weight: 500;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--gk-grey);
	}

	.gk-rowbar button {
		flex-shrink: 0;
		padding: 7px 11px;
		border: 1px solid var(--gk-line-2);
		border-radius: 999px;
		background: var(--gk-paper);
		font-size: .78rem;
		font-weight: 500;
		font-variant-numeric: tabular-nums;
	}

	.gk-rowbar button[aria-pressed='true'] {
		background: var(--gk-ink);
		border-color: var(--gk-ink);
		color: #fff;
	}

	.gk-rowbar .tot {
		font-size: .78rem;
		font-variant-numeric: tabular-nums;
	}
}

/* ---- Pannello opzioni ---------------------------------------------- */
.gk-panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	border-top: 1px solid var(--gk-line);
}

@media (min-width: 1024px) {
	.gk-panel {
		border-top: 0;
		border-left: 1px solid var(--gk-line);
	}
}

.gk-panel__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--gk-line-2) transparent;
}

.gk-step {
	padding: 22px clamp(18px, 2vw, 26px) 24px;
	border-bottom: 1px solid var(--gk-line);
}

.gk-step__title {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
	font-size: var(--fs-base, .9375rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-step__title span {
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .08em;
	color: var(--gk-grey-2);
	font-variant-numeric: tabular-nums;
}

.gk-label {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 18px 0 10px;
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gk-grey);
}

.gk-step__title + .gk-label {
	margin-top: 0;
}

.gk-label__val {
	letter-spacing: .02em;
	text-transform: none;
	font-size: .75rem;
	color: var(--gk-ink);
	text-align: right;
}

.gk-note {
	margin-top: 10px;
	font-size: .75rem;
	line-height: 1.45;
	color: var(--gk-grey);
}

.gk-note:empty {
	display: none;
}

.gk-link {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: none;
	font-size: .78rem;
	font-weight: 500;
	color: var(--gk-ink);
	text-decoration: underline;
	text-decoration-color: rgba(1, 1, 1, .3);
	text-underline-offset: .25em;
}

.gk-link--inline {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

@media (hover: hover) {
	.gk-link:hover {
		text-decoration-color: currentColor;
	}
}

/* Sistemi */
.gk-prods {
	display: grid;
	gap: 0;
	margin: -4px 0 0;
}

.gk-prod {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 2px 12px;
	width: 100%;
	padding: 12px 0 12px 16px;
	border: 0;
	border-top: 1px solid var(--gk-line);
	background: transparent;
	text-align: left;
	position: relative;
	color: var(--gk-ink);
}

.gk-prod:first-child {
	border-top: 0;
}

.gk-prod::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border: 1px solid var(--gk-line-2);
	border-radius: 50%;
	transition: background var(--gk-t) var(--gk-ease), border-color var(--gk-t) var(--gk-ease);
}

.gk-prod[aria-pressed='true']::before {
	background: var(--gk-ink);
	border-color: var(--gk-ink);
}

.gk-prod b {
	font-size: var(--fs-base, .9375rem);
	font-weight: 500;
}

.gk-prod span {
	font-size: .75rem;
	color: var(--gk-grey);
	font-variant-numeric: tabular-nums;
}

.gk-prod em {
	grid-column: 1 / -1;
	font-style: normal;
	font-size: .75rem;
	color: var(--gk-grey);
}

@media (hover: hover) {
	.gk-prod:not([aria-pressed='true']):hover b {
		text-decoration: underline;
		text-underline-offset: .25em;
		text-decoration-color: rgba(1, 1, 1, .3);
	}
}

/* Tessere */
.gk-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 8px;
}

.gk-tiles--compact {
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
}

.gk-tiles button {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 6px;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	background: var(--gk-paper);
	font-size: .8125rem;
	font-weight: 500;
	color: var(--gk-ink);
	text-align: center;
	line-height: 1.2;
	transition: border-color var(--gk-t) var(--gk-ease), background var(--gk-t) var(--gk-ease), box-shadow var(--gk-t) var(--gk-ease);
}

.gk-tiles--tall button {
	min-height: 88px;
}

.gk-tiles button svg {
	width: 32px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
}

.gk-tiles button small {
	font-size: .7rem;
	font-weight: 400;
	color: var(--gk-grey);
}

.gk-tiles button[aria-pressed='true'] {
	border-color: var(--gk-ink);
	box-shadow: inset 0 0 0 1px var(--gk-ink);
}

.gk-tiles button:disabled {
	opacity: .32;
	cursor: not-allowed;
}

@media (hover: hover) {
	.gk-tiles button:not(:disabled):not([aria-pressed='true']):hover {
		border-color: var(--gk-grey-2);
	}
}

/* Campioni colore */
.gk-swatches {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px 8px;
}

.gk-swatches--wood {
	grid-template-columns: repeat(4, 1fr);
}

.gk-sw {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
	color: var(--gk-ink);
}

.gk-sw__c {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(1, 1, 1, .14);
	transition: box-shadow var(--gk-t) var(--gk-ease), transform var(--gk-t) var(--gk-ease);
}

.gk-sw[aria-pressed='true'] .gk-sw__c {
	box-shadow: inset 0 0 0 1px rgba(1, 1, 1, .14), 0 0 0 3px var(--gk-paper), 0 0 0 4px var(--gk-ink);
}

.gk-sw__n {
	font-size: .66rem;
	line-height: 1.2;
	color: var(--gk-grey);
}

.gk-sw[aria-pressed='true'] .gk-sw__n {
	color: var(--gk-ink);
	font-weight: 500;
}

@media (hover: hover) {
	.gk-sw:hover .gk-sw__c {
		transform: scale(1.06);
	}
}

/* Campi della modalità automatica */
.gk-fields3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.gk-fld {
	display: grid;
	gap: 6px;
	min-width: 0;
	font-size: .7rem;
	font-weight: 500;
	color: var(--gk-grey);
}

.gk-inp {
	position: relative;
	display: block;
}

.gk-inp input,
.gk-inp select {
	width: 100%;
	height: 46px;
	padding: 0 30px 0 12px;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	background: var(--gk-paper);
	font-size: 1rem;
	font-weight: 500;
	color: var(--gk-ink);
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: none;
}

.gk-inp input::-webkit-outer-spin-button,
.gk-inp input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.gk-inp input:focus,
.gk-inp select:focus {
	outline: none;
	border-color: var(--gk-ink);
}

.gk-inp i {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-style: normal;
	font-size: .75rem;
	color: var(--gk-grey);
	pointer-events: none;
}

.gk-inp--sel select {
	padding-right: 26px;
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--gk-grey) 50%), linear-gradient(135deg, var(--gk-grey) 50%, transparent 50%);
	background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

/* Riepilogo prezzo e azione */
.gk-buy {
	flex-shrink: 0;
	padding: 18px clamp(18px, 2vw, 26px) 20px;
	border-top: 1px solid var(--gk-line);
	background: var(--gk-paper);
}

@media (min-width: 1024px) {
	.gk-buy {
		box-shadow: 0 -14px 30px -24px rgba(1, 1, 1, .35);
	}
}

.gk-buy__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.gk-buy__total {
	font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
	transition: opacity .2s;
}

.gk-buy__total.is-bump {
	animation: gk-bump .35s var(--gk-ease);
}

@keyframes gk-bump {
	40% { opacity: .35; }
}

.gk-buy__iva {
	margin-top: 4px;
	font-size: .72rem;
	color: var(--gk-grey);
}

.gk-badge {
	flex-shrink: 0;
	padding: 4px 8px;
	border: 1px solid var(--gk-line-2);
	border-radius: 999px;
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--gk-grey);
	white-space: nowrap;
}

.gk-badge:empty {
	display: none;
}

.gk-buy__ship {
	margin: 10px 0 14px;
	font-size: .75rem;
	color: var(--gk-grey);
}

.gk-buy__ship:empty {
	display: none;
}

.gk-cta {
	justify-content: space-between;
}

.gk-cta[aria-disabled='true'] {
	opacity: 1;
	--btn-bg: var(--gk-tint-2);
	--btn-bd: var(--gk-tint-2);
	--btn-fg: var(--gk-grey);
	cursor: not-allowed;
}

.gk-buy__help {
	margin-top: 12px;
	font-size: .72rem;
	color: var(--gk-grey);
	text-align: center;
}

.gk-buy__help a {
	color: var(--gk-ink);
	text-decoration: underline;
	text-decoration-color: rgba(1, 1, 1, .3);
	text-underline-offset: .2em;
}

.gk-aerr {
	margin-top: 10px;
	padding: 9px 12px;
	font-size: .78rem;
	color: var(--bad);
	background: var(--bad-soft);
}

/* ---- Telefono e tablet -------------------------------------------- */
@media (max-width: 1023.98px) {
	.gk-config .gf-wrap {
		padding-inline: 0;
	}

	.gk-config__head {
		padding-inline: var(--gutter, 16px);
	}

	.gk-app {
		border-inline: 0;
	}

	.gk-stage {
		min-height: 380px;
	}

	.gk-canvas {
		flex: none;
	}

	.gk-props {
		overflow: visible;
	}

	.gk-buy {
		position: static;
	}
}

@media (max-width: 640px) {
	.gk-hero__cta .gf-button {
		flex: 1 1 100%;
	}

	.gk-facts {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}

	.gk-facts strong {
		font-size: var(--fs-sm, .8125rem);
	}

	.gk-facts span {
		font-size: .7rem;
		line-height: 1.35;
	}

	.gk-stage__bar {
		flex-wrap: wrap;
	}

	.gk-stage__meta {
		flex: 1 1 100%;
		order: 2;
	}

	.gk-stage__tools {
		order: 1;
		width: 100%;
		justify-content: flex-end;
	}

	.gk-stage__sku {
		white-space: normal;
	}

	.gk-dims__x {
		display: none;
	}

	.gk-modes {
		display: grid;
		width: 100%;
	}

	.gk-modes button {
		padding: 9px 12px;
	}

	.gk-stage__bar {
		padding-top: 14px;
	}

	.gk-stage__dims {
		font-size: .75rem;
	}

	.gk-stage__dims i {
		padding: 0 4px;
	}

	.gk-hint {
		flex-basis: 100%;
		order: 2;
	}

	.gk-ibtn {
		width: 34px;
		height: 34px;
	}

	.gk-seg button {
		padding: 5px 9px;
		min-width: 34px;
	}

	.gk-msgs,
	.gk-nogo {
		top: 96px;
	}

	.gk-props {
		grid-template-columns: 1fr;
	}

	.gk-swatches {
		grid-template-columns: repeat(5, 1fr);
	}

	.gk-sw__c {
		width: 36px;
		height: 36px;
	}
}

/* Barra fissa in basso (telefono e tablet) */
.gk-dock {
	position: fixed;
	z-index: 250;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px var(--gutter, 16px) calc(12px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, .96);
	border-top: 1px solid var(--gk-line);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	transform: translateY(105%);
	transition: transform var(--gk-t) var(--gk-ease);
}

.gk-dock.is-on {
	transform: none;
}

.gk-dock__price {
	display: grid;
	min-width: 0;
}

.gk-dock__price strong {
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: -.025em;
	font-variant-numeric: tabular-nums;
}

.gk-dock__price small {
	font-size: .7rem;
	color: var(--gk-grey);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gk-dock .gf-button {
	min-height: 48px;
	padding-inline: 1.6em;
}

@media (min-width: 1024px) {
	.gk-dock {
		display: none;
	}
}

/* ---- Come funziona ------------------------------------------------- */
.gk-how {
	padding: clamp(56px, 8vw, 128px) 0;
	border-top: 1px solid var(--gk-line);
}

.gk-how .gk-h2 {
	max-width: 18ch;
}

.gk-how__list {
	display: grid;
	gap: 32px clamp(24px, 4vw, 56px);
	margin: clamp(32px, 4vw, 56px) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

@media (min-width: 768px) {
	.gk-how__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gk-how__list li {
	padding-top: 20px;
	border-top: 1px solid var(--gk-ink);
}

.gk-how__n {
	display: block;
	margin-bottom: clamp(20px, 3vw, 40px);
	font-size: var(--fs-xs, .6875rem);
	letter-spacing: .14em;
	color: var(--gk-grey);
}

.gk-how__list h3 {
	font-size: var(--fs-lg, 1.4rem);
	font-weight: 400;
	letter-spacing: -.025em;
}

.gk-how__list p {
	margin-top: 10px;
	max-width: 38ch;
	color: var(--gk-grey);
}

/* ---- Sistemi ------------------------------------------------------- */
.gk-families {
	padding: clamp(56px, 8vw, 128px) 0;
	background: var(--gk-tint);
}

.gk-families__grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.gk-families__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gk-family {
	display: flex;
	flex-direction: column;
	background: var(--gk-paper);
}

.gk-family__art {
	aspect-ratio: 4 / 3;
	padding: clamp(20px, 3vw, 36px);
	border-bottom: 1px solid var(--gk-line);
}

.gk-family__art svg {
	width: 100%;
	height: 100%;
}

.gk-family__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(20px, 2.4vw, 32px);
}

.gk-family__kicker {
	font-size: var(--fs-xs, .6875rem);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gk-grey);
}

.gk-family__name {
	margin-top: 8px;
	font-size: var(--fs-lg, 1.4rem);
	font-weight: 400;
	letter-spacing: -.025em;
}

.gk-family__text {
	margin-top: 10px;
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
}

.gk-family__specs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 20px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--gk-line);
}

.gk-family__specs dt {
	font-size: .66rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gk-grey);
}

.gk-family__specs dd {
	margin: 2px 0 0;
	font-size: var(--fs-sm, .8125rem);
	font-weight: 500;
}

.gk-family__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 24px;
}

.gk-family__price {
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
}

.gk-family__price strong {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	color: var(--gk-ink);
}

/* ---- Finiture ------------------------------------------------------ */
.gk-finishes {
	padding: clamp(56px, 8vw, 128px) 0;
}

.gk-finishes__grid {
	display: grid;
	gap: 40px clamp(32px, 6vw, 112px);
}

@media (min-width: 1024px) {
	.gk-finishes__grid {
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

.gk-finishes__lead {
	margin-top: 18px;
}

.gk-finlist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--gk-line);
}

.gk-finlist li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 8px 14px 0;
	border-bottom: 1px solid var(--gk-line);
}

.gk-finlist i {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(1, 1, 1, .14);
}

.gk-finlist b {
	display: block;
	font-size: var(--fs-sm, .8125rem);
	font-weight: 500;
}

.gk-finlist small {
	display: block;
	font-size: .7rem;
	color: var(--gk-grey);
}

.gk-finlist--wood {
	margin-top: 28px;
}

/* ---- Testo libero della pagina ------------------------------------ */
.gk-editorial {
	padding: 0 0 clamp(56px, 8vw, 112px);
}

/* ---- Servizio ------------------------------------------------------ */
.gk-service {
	padding: clamp(48px, 6vw, 96px) 0;
	border-top: 1px solid var(--gk-line);
}

.gk-service__grid {
	display: grid;
	gap: 36px clamp(24px, 3vw, 48px);
}

@media (min-width: 768px) {
	.gk-service__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.gk-service__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.gk-service__item .gf-icon {
	width: 26px;
	height: 26px;
	margin-bottom: 16px;
}

.gk-service__item h3 {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-service__item p {
	margin-top: 8px;
	font-size: var(--fs-sm, .8125rem);
	color: var(--gk-grey);
}

/* ---- FAQ ----------------------------------------------------------- */
.gk-faq {
	padding: clamp(56px, 8vw, 128px) 0;
	background: var(--gk-tint);
}

.gk-faq__grid {
	display: grid;
	gap: 32px clamp(32px, 6vw, 112px);
}

@media (min-width: 1024px) {
	.gk-faq__grid {
		grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	}
}

.gk-faq__list {
	border-top: 1px solid var(--gk-line-2);
}

.gk-faq details {
	border-bottom: 1px solid var(--gk-line-2);
}

.gk-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--fs-md, 1.0625rem);
	letter-spacing: -.01em;
}

.gk-faq summary::-webkit-details-marker {
	display: none;
}

.gk-faq summary::after {
	content: '';
	flex: none;
	width: 12px;
	height: 12px;
	background:
		linear-gradient(currentColor, currentColor) center / 12px 1.2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.2px 12px no-repeat;
	transition: transform var(--gk-t) var(--gk-ease);
}

.gk-faq details[open] summary::after {
	transform: rotate(45deg);
}

.gk-faq details p {
	max-width: 62ch;
	padding: 0 0 22px;
	color: var(--gk-ink-soft);
}

/* ---- Chiusura ------------------------------------------------------ */
.gk-final {
	padding: clamp(64px, 9vw, 144px) 0;
	background: var(--gk-ink);
	color: var(--gk-paper);
}

.gk-final__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
}

.gk-final .gk-h2 {
	font-size: var(--fs-2xl, clamp(2rem, 1.2rem + 3.2vw, 4rem));
	letter-spacing: -.04em;
	line-height: 1;
}

/* ---- Finestra (distinta, istruzioni, condivisione) ----------------- */
.gk-modal {
	position: fixed;
	inset: 0;
	z-index: 600;
	display: grid;
	place-items: center;
	padding: 16px;
}

.gk-modal__scrim,
.gk-sheet__scrim {
	position: absolute;
	inset: 0;
	background: rgba(1, 1, 1, .42);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	animation: gk-fade-in .25s var(--gk-ease);
}

@keyframes gk-fade-in {
	from { opacity: 0; }
}

.gk-modal__dialog {
	position: relative;
	width: min(760px, 100%);
	max-height: calc(100svh - 32px);
	display: flex;
	flex-direction: column;
	background: var(--gk-paper);
	box-shadow: var(--shadow-pop, 0 18px 50px -12px rgba(1, 1, 1, .18));
	animation: gk-pop .28s var(--gk-ease);
}

.gk-modal__dialog.small {
	width: min(520px, 100%);
}

@keyframes gk-pop {
	from { opacity: 0; transform: translateY(10px); }
}

.gk-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--gk-line);
}

.gk-modal__head h2 {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
}

.gk-modal__body {
	overflow: auto;
	padding: 20px 24px 24px;
	overscroll-behavior: contain;
}

.gk-modal__lead {
	margin-bottom: 16px;
	color: var(--gk-ink-soft);
}

.gk-tbl {
	overflow-x: auto;
}

.gk-tbl table {
	width: 100%;
	border-collapse: collapse;
	font-size: .8125rem;
	font-variant-numeric: tabular-nums;
}

.gk-tbl th {
	padding: 0 10px 10px 0;
	border-bottom: 1px solid var(--gk-ink);
	font-size: .66rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gk-grey);
	text-align: left;
}

.gk-tbl td {
	padding: 10px 10px 10px 0;
	border-bottom: 1px solid var(--gk-line);
	vertical-align: top;
}

.gk-tbl td.c {
	font-size: .75rem;
	color: var(--gk-grey);
	white-space: nowrap;
}

.gk-tbl .n {
	text-align: right;
	white-space: nowrap;
}

.gk-tbl tr.tot td {
	border-bottom: 0;
	font-weight: 500;
}

.gk-howto {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-left: 20px;
	color: var(--gk-ink-soft);
	font-size: var(--fs-sm, .8125rem);
	list-style: decimal;
}

.gk-howto li::marker {
	color: var(--gk-grey);
}

.gk-sharebox {
	display: flex;
	gap: 8px;
}

.gk-sharebox input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 14px;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	font-size: .78rem;
	color: var(--gk-grey);
	background: var(--gk-tint);
}

.gk-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

/* ---- Checkout ------------------------------------------------------ */
.gk-sheet {
	position: fixed;
	inset: 0;
	z-index: 650;
}

.gk-sheet__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(1080px, 100%);
	display: flex;
	flex-direction: column;
	background: var(--gk-paper);
	box-shadow: -30px 0 80px -30px rgba(1, 1, 1, .35);
	animation: gk-slide .42s var(--gk-ease);
}

@keyframes gk-slide {
	from { transform: translateX(40px); opacity: 0; }
}

.gk-sheet__head {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	padding: 14px clamp(16px, 3vw, 32px);
	border-bottom: 1px solid var(--gk-line);
}

.gk-sheet__head h2 {
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	text-align: center;
}

.gk-sheet__head .gk-ibtn {
	justify-self: end;
}

.gk-sheet__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	padding: 6px 0;
	border: 0;
	background: none;
	font-size: .78rem;
	font-weight: 500;
	color: var(--gk-ink);
}

.gk-sheet__back .gf-icon {
	width: 18px;
	height: 18px;
}

.gk-co {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: grid;
	align-content: start;
}

@media (min-width: 900px) {
	.gk-co {
		grid-template-columns: minmax(0, 1fr) 380px;
		background: linear-gradient(90deg, var(--gk-paper) calc(100% - 380px), var(--gk-tint) 0);
	}
}

.gk-co__main {
	padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 44px) 48px;
}

.gk-co__sec {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.gk-co__sec legend {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 0;
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-co__sec legend span {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid var(--gk-ink);
	font-size: .7rem;
	font-variant-numeric: tabular-nums;
}

.gk-grid2 {
	display: grid;
	gap: 14px 12px;
}

@media (min-width: 560px) {
	.gk-grid2 {
		grid-template-columns: 1fr 1fr;
	}

	.gk-f--wide {
		grid-column: 1 / -1;
	}
}

.gk-f {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.gk-f > span {
	font-size: .75rem;
	font-weight: 500;
	color: var(--gk-ink-soft);
}

.gk-f > span em {
	font-style: normal;
	font-weight: 400;
	color: var(--gk-grey);
}

.gk-f input:not([type='checkbox']):not([type='radio']),
.gk-f select,
.gk-f textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	background: var(--gk-paper);
	font-size: 1rem;
	color: var(--gk-ink);
	transition: border-color var(--gk-t) var(--gk-ease), box-shadow var(--gk-t) var(--gk-ease);
	-webkit-appearance: none;
	appearance: none;
}

.gk-f textarea {
	min-height: 0;
	resize: vertical;
}

.gk-f select {
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--gk-grey) 50%), linear-gradient(135deg, var(--gk-grey) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 36px;
}

.gk-f input:focus,
.gk-f select:focus,
.gk-f textarea:focus {
	outline: none;
	border-color: var(--gk-ink);
	box-shadow: 0 0 0 1px var(--gk-ink);
}

.gk-f small {
	font-size: .7rem;
	color: var(--gk-grey);
}

.gk-check.is-error {
	color: var(--bad);
}

.gk-check.is-error input {
	outline: 1.5px solid var(--bad);
	outline-offset: 2px;
}

.gk-check .gk-f__err {
	display: block;
	margin-top: 4px;
	font-size: .7rem;
}

.gk-f.is-error input:not([type='checkbox']),
.gk-f.is-error select {
	border-color: var(--bad);
	box-shadow: 0 0 0 1px var(--bad);
}

.gk-f.is-error small,
.gk-f__err {
	color: var(--bad);
}

.gk-f__static {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 0 14px;
	background: var(--gk-tint);
	font-size: 1rem;
	color: var(--gk-grey);
}

.gk-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: var(--fs-sm, .8125rem);
	cursor: pointer;
}

.gk-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--gk-ink);
}

.gk-co__sec .gk-check + .gk-grid2 {
	margin-top: 16px;
}

.gk-pay {
	display: grid;
	gap: 8px;
}

.gk-pay__opt {
	display: block;
	border: 1px solid var(--gk-line-2);
	border-radius: var(--gk-radius);
	cursor: pointer;
	transition: border-color var(--gk-t) var(--gk-ease), box-shadow var(--gk-t) var(--gk-ease);
}

.gk-pay__opt:has(input:checked) {
	border-color: var(--gk-ink);
	box-shadow: inset 0 0 0 1px var(--gk-ink);
}

.gk-pay__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
}

.gk-pay__row input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gk-ink);
}

.gk-pay__row b {
	flex: 1;
	font-size: var(--fs-sm, .8125rem);
	font-weight: 500;
}

.gk-pay__row img {
	max-height: 22px;
	width: auto;
	display: inline-block;
}

.gk-pay__desc {
	display: none;
	padding: 0 16px 16px 46px;
	font-size: .75rem;
	color: var(--gk-grey);
}

.gk-pay__desc p + p {
	margin-top: .5em;
}

.gk-pay__opt:has(input:checked) .gk-pay__desc {
	display: block;
}

.gk-co__terms {
	margin: 4px 0 16px;
}

.gk-co__terms a {
	text-decoration: underline;
	text-underline-offset: .2em;
}

.gk-co__terms .gk-note {
	margin-top: 10px;
}

.gk-co__err {
	margin: 0 0 14px;
	padding: 12px 14px;
	font-size: var(--fs-sm, .8125rem);
	color: var(--bad);
	background: var(--bad-soft);
	border-left: 2px solid var(--bad);
}

.gk-co__submit {
	min-height: 58px;
	font-size: var(--fs-base, .9375rem);
}

.gk-co__submit.is-busy {
	opacity: .65;
	pointer-events: none;
}

.gk-co__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	font-size: .72rem;
	color: var(--gk-grey);
	text-align: center;
}

.gk-co__secure .gf-icon {
	width: 16px;
	height: 16px;
}

.gk-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gk-co__summary {
	padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 40px;
	background: var(--gk-tint);
	order: -1;
}

@media (min-width: 900px) {
	.gk-co__summary {
		order: 0;
		position: sticky;
		top: 0;
		align-self: start;
	}
}

.gk-co__art {
	aspect-ratio: 4 / 3;
	padding: 18px;
	background: var(--gk-paper);
}

.gk-co__art svg {
	width: 100%;
	height: 100%;
}

.gk-co__name {
	margin-top: 18px;
	font-size: var(--fs-md, 1.0625rem);
	font-weight: 500;
	letter-spacing: -.01em;
}

.gk-co__specs {
	margin-top: 4px;
	font-size: .78rem;
	color: var(--gk-grey);
}

.gk-co__lines {
	margin: 20px 0 0;
	border-top: 1px solid var(--gk-line-2);
}

.gk-co__lines > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--gk-line-2);
	font-size: var(--fs-sm, .8125rem);
}

.gk-co__lines dt small {
	display: block;
	font-size: .7rem;
	color: var(--gk-grey);
}

.gk-co__lines dd {
	margin: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.gk-co__tot {
	font-size: var(--fs-md, 1.0625rem) !important;
	border-bottom: 0 !important;
}

.gk-co__tot dd {
	font-size: 1.5rem;
	letter-spacing: -.025em;
}

.gk-co__bom {
	margin-top: 8px;
	font-size: .78rem;
}

.gk-co__bom summary {
	cursor: pointer;
	color: var(--gk-ink);
	text-decoration: underline;
	text-decoration-color: rgba(1, 1, 1, .3);
	text-underline-offset: .2em;
}

.gk-co__bom ul {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	color: var(--gk-grey);
}

.gk-co__bom li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 0;
	font-variant-numeric: tabular-nums;
}

.gk-co__note {
	margin-top: 18px;
	font-size: .75rem;
	color: var(--gk-grey);
}

@media (max-width: 899.98px) {
	.gk-co__summary {
		display: grid;
		grid-template-columns: 112px 1fr;
		gap: 0 16px;
		padding: 16px;
	}

	.gk-co__art {
		grid-row: span 2;
		padding: 8px;
	}

	.gk-co__name {
		margin-top: 0;
		align-self: end;
	}

	.gk-co__lines,
	.gk-co__bom,
	.gk-co__note {
		grid-column: 1 / -1;
	}

	.gk-sheet__back span {
		display: none;
	}
}

/* ---- Pagina «Ordine ricevuto» ------------------------------------- */
.gk-thanks {
	display: grid;
	gap: 28px 48px;
	margin: 0 0 40px;
	padding: clamp(20px, 3vw, 36px);
	background: var(--gk-tint);
}

@media (min-width: 900px) {
	.gk-thanks {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
		align-items: center;
	}
}

.gk-thanks__title {
	font-size: var(--fs-xl, 2rem);
	font-weight: 400;
	letter-spacing: -.03em;
	line-height: 1.1;
}

.gk-thanks__lead {
	margin-top: 14px;
	max-width: 52ch;
	color: var(--gk-ink-soft);
}

.gk-thanks__steps {
	display: grid;
	gap: 0;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--gk-line-2);
}

.gk-thanks__steps li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 2px 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--gk-line-2);
	font-size: var(--fs-sm, .8125rem);
}

.gk-thanks__steps li::before {
	content: '';
	grid-row: span 2;
	width: 10px;
	height: 10px;
	margin-top: 5px;
	border-radius: 50%;
	border: 1px solid var(--gk-line-2);
}

.gk-thanks__steps li.is-done::before {
	background: var(--ok);
	border-color: var(--ok);
}

.gk-thanks__steps li.is-now::before {
	border-color: var(--gk-ink);
	box-shadow: inset 0 0 0 2px var(--gk-tint), inset 0 0 0 6px var(--gk-ink);
}

.gk-thanks__steps b {
	font-weight: 500;
}

.gk-thanks__steps span {
	grid-column: 2;
	color: var(--gk-grey);
}

.gk-thanks__art {
	margin: 0;
	padding: 20px;
	background: var(--gk-paper);
}

.gk-thanks__art svg {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
}

.gk-thanks__art figcaption {
	margin-top: 12px;
	font-size: .75rem;
	color: var(--gk-grey);
}

.gk-thanks__art figcaption strong {
	color: var(--gk-ink);
	font-weight: 500;
}

/* ---- Movimento ridotto -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.gk-main *,
	.gk-sheet *,
	.gk-modal * {
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
	}
}

.gk-co__namef {
	margin-top: 16px;
}

@media (max-width: 899.98px) {
	.gk-co__namef {
		grid-column: 1 / -1;
	}
}

/* Pagina di conferma di un ordine Krossing: niente passo «Carrello» */
body:has(.gk-thanks) .gf-steps {
	display: none;
}

/* Riquadri dei disegni: proporzione fissa, il disegno si adatta dentro */
.gk-family__art,
.gk-prop__art,
.gk-co__art {
	position: relative;
	overflow: hidden;
}

.gk-family__art { --pad: clamp(20px, 3vw, 36px); }
.gk-prop__art { --pad: 14px; }
.gk-co__art { --pad: 18px; }

.gk-family__art svg,
.gk-prop__art svg,
.gk-co__art svg {
	position: absolute;
	inset: var(--pad);
	width: calc(100% - 2 * var(--pad));
	height: calc(100% - 2 * var(--pad));
}

@media (max-width: 899.98px) {
	.gk-co__art { --pad: 8px; }
}

/* Il blocco servizi del piè di pagina del tema parla della spedizione del negozio:
   qui c'è già la sezione «Servizio» con le condizioni delle librerie. */
body.gk-page .gf-services {
	display: none;
}

/* =====================================================================
   Rifinitura del configuratore (12 novembre 2026)
   ===================================================================== */

/* ---- Disegno 2D: griglia di costruzione leggera -------------------- */
.gk-canvas .pad .cf,
.gk-canvas .is-empty .cf {
	fill: transparent;
	stroke: #cbcbc6;
	stroke-width: 1;
	stroke-dasharray: 2 4;
	stroke-linecap: round;
	transition: fill .15s, stroke .15s;
}

.gk-canvas .pad .cf {
	stroke-opacity: .7;
}

.gk-canvas .gk-plus {
	fill: var(--gk-ink);
	font-family: var(--font, Inter, system-ui, sans-serif);
	font-size: 16px;
	font-weight: 300;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s;
}

@media (hover: hover) and (pointer: fine) {
	.gk-canvas .cell:hover .gk-plus {
		opacity: .75;
	}

	.gk-canvas .cell.pad:hover .cf,
	.gk-canvas .cell.is-empty:hover .cf {
		fill: rgba(255, 255, 255, .85);
		stroke: var(--gk-ink);
		stroke-dasharray: none;
		stroke-opacity: 1;
	}
}

@media (hover: none), (pointer: coarse) {
	.gk-canvas .gk-plus {
		opacity: .4;
	}

	.gk-canvas .pad .cf,
	.gk-canvas .is-empty .cf {
		stroke: #bdbdb8;
	}

	.gk-canvas .cell:active .cf {
		fill: rgba(1, 1, 1, .06);
	}
}

/* frecce: compaiono solo sul modulo sotto il mouse */
.gk-canvas .ca {
	opacity: 0;
}

.gk-canvas .cell:hover .ca {
	opacity: .5;
}

.gk-canvas .ca:hover,
.gk-canvas .ca:focus-visible {
	opacity: 1;
}

/* strumento «Box in legno»: anteprima del box */
.gk-canvas .gk-ghost {
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s;
}

.gk-canvas .cell:hover .gk-ghost {
	opacity: .6;
}

.gk-canvas.is-box .cell:not(.pad):not(.is-empty) {
	cursor: copy;
}

/* telefono: libreria larga → il disegno scorre in orizzontale, con i bordi sfumati */
.gk-canvas.is-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.gk-canvas.is-scroll::-webkit-scrollbar {
	display: none;
}

.gk-canvas.is-scroll svg {
	width: auto;
	height: auto;
	max-width: none;
}

/* ---- Avvisi: pillole leggere, quelli informativi spariscono da soli -- */
.gk-msgs {
	left: 50%;
	right: auto;
	width: min(560px, calc(100% - 32px));
	transform: translateX(-50%);
	align-items: center;
	top: 72px;
}

.gk-nogo:not([hidden]) ~ .gk-msgs {
	top: 136px;
}

.gk-msg {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	max-width: 100%;
	padding: 9px 14px 9px 12px;
	border-left: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, .97);
	color: var(--gk-ink);
	font-weight: 450;
	box-shadow: 0 10px 28px -14px rgba(1, 1, 1, .4), 0 0 0 1px rgba(1, 1, 1, .07);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.gk-msg::before {
	content: '';
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: .42em;
	border-radius: 50%;
	background: var(--warn);
}

.gk-msg.bad {
	background: rgba(255, 255, 255, .97);
	color: var(--gk-ink);
}

.gk-msg.bad::before {
	background: var(--bad);
}

.gk-msg.info {
	background: var(--gk-ink);
	color: #fff;
	animation: gk-toast 5.2s var(--gk-ease) forwards;
}

.gk-msg.info::before {
	background: #7ccf9e;
}

@keyframes gk-toast {
	0% { opacity: 0; transform: translateY(-6px); }
	6% { opacity: 1; transform: none; }
	86% { opacity: 1; transform: none; }
	100% { opacity: 0; transform: translateY(-4px); visibility: hidden; }
}

.gk-nogo {
	border-radius: 12px;
}

/* ---- Passi del pannello: valore scelto nel titolo ------------------ */
.gk-step__title .gk-step__val {
	margin-left: auto;
	max-width: 58%;
	overflow: hidden;
	font-size: .75rem;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--gk-grey);
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---- Tessere: icona, titolo, nota ---------------------------------- */
.gk-tile__t {
	display: grid;
	gap: 2px;
	justify-items: center;
	min-width: 0;
}

.gk-tile__t b {
	font-weight: 500;
}

.gk-tile__t small {
	font-size: .7rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--gk-grey);
}

.gk-tiles button[aria-pressed='true'] .gk-tile__t small {
	color: var(--gk-ink-soft);
}

.gk-tiles--tall button {
	gap: 8px;
}

/* ---- Misure: errore accanto ai campi ------------------------------- */
.gk-ferr {
	margin-top: 10px;
	padding: 9px 12px;
	font-size: .75rem;
	line-height: 1.4;
	color: var(--bad);
	background: var(--bad-soft);
	border-radius: 2px;
}

.gk-fld.is-error .gk-inp input {
	border-color: var(--bad);
	box-shadow: 0 0 0 1px var(--bad);
}

.gk-fld.is-error > span:first-child {
	color: var(--bad);
}

/* ---- Proposte -------------------------------------------------------- */
.gk-prop__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	margin-top: auto;
	padding-top: 10px;
}

.gk-prop__foot .gk-prop__price {
	margin: 0;
	padding: 0;
}

.gk-prop__foot .gf-button {
	flex: 1 1 auto;
	min-height: 44px;
	margin: 0;
	padding: .7em 1.2em;
}

.gk-tbtn--icon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gk-tbtn--icon svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gk-props:empty {
	display: none;
}

/* ---- Riepilogo: «Vedi le proposte» solo dove le proposte sono sotto - */
@media (min-width: 1024px) {
	#gk-aSee {
		display: none !important;
	}
}

/* ---- Barra in basso (telefono/tablet): miniatura viva --------------- */
.gk-dock {
	gap: 12px;
}

.gk-dock__art {
	flex: none;
	width: 60px;
	height: 46px;
	padding: 4px;
	border: 0;
	border-radius: 2px;
	background: var(--gk-tint);
	cursor: pointer;
}

.gk-dock__art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gk-dock__price {
	flex: 1 1 auto;
}

/* ---- Telefono e tablet --------------------------------------------- */
@media (max-width: 1023.98px) {
	/* «Parti dalle misure»: prima i campi, poi le proposte */
	.gk-app.is-auto .gk-panel {
		order: -1;
		border-top: 0;
		border-bottom: 1px solid var(--gk-line);
	}

	.gk-app.is-auto .gk-stage {
		min-height: 0;
	}

	.gk-app.is-auto .gk-props {
		padding-bottom: 28px;
	}

	/* avvisi: in basso sopra la barra, come una notifica */
	.gk-msgs {
		position: fixed;
		z-index: 240;
		top: auto;
		bottom: calc(88px + env(safe-area-inset-bottom, 0px));
		left: 50%;
		width: min(560px, calc(100% - 24px));
		pointer-events: none;
	}

	.gk-msgs.is-away {
		display: none;
	}

	.gk-nogo:not([hidden]) ~ .gk-msgs {
		top: auto;
	}

	/* «non realizzabile»: nel flusso, sotto la barra del disegno */
	.gk-nogo {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		width: auto;
		max-width: none;
		margin: 4px clamp(16px, 2vw, 26px) 10px;
	}
}

/* tablet: pannello su due colonne invece che stirato */
@media (min-width: 641px) and (max-width: 1023.98px) {
	.gk-manualpanel {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas: 'a c' 'b c';
	}

	.gk-manualpanel > .gk-step:nth-child(1) { grid-area: a; }
	.gk-manualpanel > .gk-step:nth-child(2) { grid-area: b; border-bottom: 0; }

	.gk-manualpanel > .gk-step:nth-child(3) {
		grid-area: c;
		border-left: 1px solid var(--gk-line);
		border-bottom: 0;
	}

	.gk-manualpanel {
		border-bottom: 1px solid var(--gk-line);
	}

	.gk-autopanel {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.gk-autopanel > .gk-step:nth-child(1) {
		grid-column: 1 / -1;
	}

	.gk-autopanel > .gk-step:nth-child(2n) {
		border-right: 1px solid var(--gk-line);
	}

	.gk-buy {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
		column-gap: 32px;
		align-items: center;
	}

	.gk-buy__row,
	.gk-buy__ship {
		grid-column: 1;
	}

	.gk-buy .gk-cta {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.gk-buy__help {
		grid-column: 2;
		margin-top: 8px;
	}

	.gk-props {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* telefono */
@media (max-width: 640px) {
	.gk-step {
		padding: 18px 16px 20px;
	}

	.gk-step__title {
		margin-bottom: 14px;
	}

	/* tessere alte in riga: icona a sinistra, testo a destra */
	.gk-tiles--tall button {
		min-height: 60px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 12px;
		padding: 10px 12px;
		text-align: left;
	}

	.gk-tiles--tall button svg {
		width: 26px;
		height: 26px;
	}

	.gk-tiles--tall .gk-tile__t {
		justify-items: start;
	}

	/* gruppi da 2-3 scelte: tutte su una riga, larghe uguali */
	.gk-tiles {
		grid-template-columns: none;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
	}

	.gk-tiles--compact {
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	}

	.gk-tiles button {
		min-height: 48px;
		padding: 8px 6px;
	}

	.gk-fields3 {
		gap: 6px;
	}

	.gk-inp input,
	.gk-inp select {
		height: 48px;
		padding-left: 10px;
		font-size: 16px;
	}

	/* proposte in riga: disegno a sinistra, testo a destra */
	.gk-props {
		gap: 10px;
		padding: 6px 12px 24px;
	}

	.gk-prop {
		display: grid;
		grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	}

	.gk-prop__art {
		--pad: 10px;
		aspect-ratio: auto;
		min-height: 150px;
		border-bottom: 0;
		border-right: 1px solid var(--gk-line);
	}

	.gk-prop__body {
		gap: 4px;
		padding: 12px 12px 12px 14px;
	}

	.gk-prop h3 {
		font-size: var(--fs-base, .9375rem);
	}

	.gk-prop p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		font-size: .72rem;
	}

	.gk-prop__meta {
		font-size: .7rem;
	}

	.gk-prop__foot {
		gap: 8px;
		padding-top: 8px;
	}

	.gk-prop__foot .gk-prop__price {
		font-size: 1.15rem;
	}

	.gk-prop__foot .gf-button {
		flex-basis: 100%;
		min-height: 40px;
		padding: .55em 1em;
		font-size: .75rem;
	}

	.gk-morebar {
		font-size: .72rem;
	}

	.gk-morebar > span {
		flex: 1 1 auto;
		min-width: 0;
	}

	/* barra del disegno: strumenti sopra, misure sotto */
	.gk-stage__foot {
		padding-top: 6px;
	}

	.gk-stage__actions {
		width: 100%;
		justify-content: space-between;
	}

	.gk-tbtn {
		padding: 10px 6px;
	}
}

/* telefoni piccoli (iPhone SE, 320–360 px) */
@media (max-width: 360px) {
	.gk-fields3 {
		grid-template-columns: 1fr 1fr;
	}

	.gk-fields3 .gk-fld:nth-child(3) {
		grid-column: 1 / -1;
	}

	.gk-stage__tools {
		gap: 4px;
	}

	.gk-dock__art {
		display: none;
	}
}

/* «Altre proposte» nella barra delle proposte */
.gk-stage__more {
	flex-shrink: 0;
	margin: -4px -6px 0 0;
}

.gk-app.is-auto .gk-stage__bar {
	padding-bottom: 10px;
}

@media (max-width: 640px) {
	.gk-app.is-auto .gk-stage__meta {
		flex: 1 1 0;
		order: 0;
	}

	.gk-app.is-auto .gk-stage__more {
		order: 1;
		align-self: center;
	}
}

/* gruppi di scelte che riempiono la riga (2 scelte = due metà) */
.gk-tiles {
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
}

.gk-tiles--compact {
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
}

@media (max-width: 640px) {
	.gk-tiles {
		grid-template-columns: none;
	}

	.gk-tiles--compact {
		grid-template-columns: none;
		grid-auto-flow: column;
	}
}

/* quattro proposte: in fila se il palco è largo, altrimenti 2 × 2 (mai 3 + 1) */
.gk-stage {
	container-type: inline-size;
}

@media (min-width: 1024px) {
	.gk-props[data-n='4'],
	.gk-props[data-n='2'] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gk-props[data-n='3'] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gk-props[data-n='4'] .gk-prop__art,
	.gk-props[data-n='2'] .gk-prop__art {
		aspect-ratio: 16 / 10;
	}

	@container (min-width: 900px) {
		.gk-props[data-n='4'] {
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}

		.gk-props[data-n='4'] .gk-prop__art {
			aspect-ratio: 1 / 1;
		}
	}
}

/* barra del disegno: misure su una riga; avvisi subito sotto la barra, qualunque sia la sua altezza */
@media (min-width: 1024px) {
	.gk-stage__meta {
		min-width: 0;
	}

	.gk-stage__dims {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.gk-msgs {
		top: calc(var(--gk-bar, 64px) + 6px);
	}

	.gk-nogo {
		top: calc(var(--gk-bar, 64px) + 6px);
	}

	.gk-nogo:not([hidden]) ~ .gk-msgs {
		top: calc(var(--gk-bar, 64px) + 70px);
	}
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
	.gk-dims__x {
		display: none;
	}
}

@media (max-width: 640px) {
	.gk-rowbar .tot {
		white-space: nowrap;
	}
}

/* ---- Codice sconto nel riepilogo del checkout (1.2.0) -------------- */
.gk-coupon {
	margin-top: 16px;
}

.gk-coupon__toggle {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--gk-ink);
	font: inherit;
	font-size: .8rem;
	text-decoration: underline;
	text-underline-offset: .25em;
	cursor: pointer;
}

.gk-coupon__toggle[hidden],
.gk-coupon__ok[hidden] {
	display: none;
}

.gk-coupon .gk-f > label {
	font-size: .75rem;
	font-weight: 500;
	color: var(--gk-ink-soft);
}

.gk-coupon__row {
	display: flex;
	gap: 8px;
}

.gk-coupon__row input {
	flex: 1;
	min-width: 0;
	letter-spacing: .04em;
}

.gk-coupon__apply {
	flex: none;
	min-height: 50px;
	padding: 0 20px;
	border: 1px solid var(--gk-ink);
	border-radius: var(--gk-radius);
	background: var(--gk-ink);
	color: var(--gk-paper);
	font: inherit;
	font-size: .85rem;
	font-weight: 500;
	cursor: pointer;
	transition: opacity var(--gk-t) var(--gk-ease);
}

.gk-coupon__apply.is-busy,
.gk-coupon__apply:disabled {
	opacity: .55;
	cursor: progress;
}

.gk-coupon__ok {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border: 1px dashed var(--gk-ink);
	border-radius: var(--gk-radius);
	background: var(--gk-paper);
	font-size: .82rem;
}

.gk-coupon__ok span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.gk-coupon__ok svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.gk-coupon__ok b {
	font-weight: 600;
	letter-spacing: .04em;
	overflow-wrap: anywhere;
}

.gk-coupon__ok button {
	flex: none;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--gk-grey);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: .25em;
	cursor: pointer;
}

.gk-co__disc dd {
	color: var(--gk-ink);
	font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
	.gk-coupon__apply:hover {
		opacity: .85;
	}

	.gk-coupon__ok button:hover,
	.gk-coupon__toggle:hover {
		color: var(--gk-ink);
		text-decoration-thickness: 2px;
	}
}

@media (max-width: 899.98px) {
	.gk-coupon {
		grid-column: 1 / -1;
	}
}
