.tgpc-app {
	--tgpc-accent: #0d84ab;
	--tgpc-accent-dark: #086986;
	--tgpc-accent-soft: #e9f6fa;
	--tgpc-button: #0d84ab;
	--tgpc-button-hover: #086986;
	--tgpc-navy: #1b2b3a;
	--tgpc-ink: #1d1d1d;
	--tgpc-muted: #647580;
	--tgpc-line: #dce6eb;
	--tgpc-bg: #f5f7f9;
	--tgpc-white: #fff;
	--tgpc-danger: #b42318;
	--tgpc-success: #14804a;
	--tgpc-shadow: 0 24px 70px rgba(27, 43, 58, 0.1);
	color: var(--tgpc-ink);
	font-family: IRANYekanFN, IRANYekan, Tahoma, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.75;
	margin: 32px auto;
	max-width: 1180px;
	width: 100%;
}

.tgpc-app *,
.tgpc-app *::before,
.tgpc-app *::after {
	box-sizing: border-box;
	border-radius: 0 !important;
}

.tgpc-app [hidden] {
	display: none !important;
}

.tgpc-shell {
	background:
		radial-gradient(circle at 95% 0, rgba(13, 132, 171, 0.09), transparent 28%),
		var(--tgpc-white);
	border: 1px solid rgba(13, 132, 171, 0.16);
	border-radius: 24px;
	box-shadow: var(--tgpc-shadow);
	overflow: hidden;
	padding: 34px;
}

.tgpc-header {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.tgpc-header h2,
.tgpc-step h3,
.tgpc-subsection h4,
.tgpc-result h3 {
	color: var(--tgpc-navy);
	font-family: inherit;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.tgpc-header h2 {
	font-size: clamp(24px, 3vw, 34px);
	margin-top: 4px;
}

.tgpc-header p {
	color: var(--tgpc-muted);
	font-size: 14px;
	margin: 6px 0 0;
	max-width: 720px;
}

.tgpc-eyebrow {
	color: var(--tgpc-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tgpc-header-badge {
	align-items: center;
	background: linear-gradient(145deg, var(--tgpc-navy), var(--tgpc-accent));
	border-radius: 18px;
	box-shadow: 0 14px 28px rgba(13, 132, 171, 0.22);
	display: flex;
	flex: 0 0 68px;
	height: 68px;
	justify-content: center;
}

.tgpc-header-badge svg {
	fill: none;
	height: 42px;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 42px;
}

.tgpc-progress {
	background: var(--tgpc-bg);
	border: 1px solid var(--tgpc-line);
	border-radius: 14px;
	margin-bottom: 28px;
	padding: 12px 16px;
}

.tgpc-progress__track {
	background: #dfe8ec;
	border-radius: 999px;
	height: 5px;
	overflow: hidden;
}

.tgpc-progress__fill {
	background: linear-gradient(90deg, var(--tgpc-accent-dark), #21a5ce);
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 260ms ease;
}

.tgpc-progress__meta {
	align-items: center;
	color: var(--tgpc-muted);
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 8px;
}

.tgpc-progress__meta strong {
	color: var(--tgpc-navy);
	font-size: 13px;
}

.tgpc-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) 300px;
}

.tgpc-stage {
	background: var(--tgpc-white);
	border: 1px solid var(--tgpc-line);
	border-radius: 18px;
	min-height: 540px;
	padding: 26px;
}

.tgpc-notice {
	background: #fff3f1;
	border: 1px solid #f4c7c2;
	border-radius: 10px;
	color: var(--tgpc-danger);
	font-size: 13px;
	margin-bottom: 18px;
	padding: 10px 13px;
}

.tgpc-notice[data-type="success"] {
	background: #ecfdf3;
	border-color: #abefc6;
	color: var(--tgpc-success);
}

.tgpc-step {
	animation: tgpc-step-in 260ms ease both;
}

@keyframes tgpc-step-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.tgpc-step__heading {
	align-items: flex-start;
	display: flex;
	gap: 13px;
	margin-bottom: 22px;
}

.tgpc-step__heading h3 {
	font-size: 19px;
}

.tgpc-step__heading p {
	color: var(--tgpc-muted);
	font-size: 13px;
	margin: 2px 0 0;
}

.tgpc-step__number {
	align-items: center;
	background: var(--tgpc-accent-soft);
	border: 1px solid rgba(13, 132, 171, 0.2);
	border-radius: 10px;
	color: var(--tgpc-accent-dark);
	display: flex;
	flex: 0 0 38px;
	font-size: 16px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
}

.tgpc-options {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tgpc-choice,
.tgpc-plan,
.tgpc-door {
	cursor: pointer;
	display: block;
	margin: 0;
}

.tgpc-choice input,
.tgpc-plan input,
.tgpc-door input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tgpc-choice__surface {
	align-items: center;
	background: var(--tgpc-white);
	border: 1px solid var(--tgpc-line);
	border-radius: 13px;
	display: flex;
	gap: 11px;
	min-height: 78px;
	padding: 13px;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.tgpc-choice:hover .tgpc-choice__surface {
	border-color: rgba(13, 132, 171, 0.48);
	transform: translateY(-1px);
}

.tgpc-choice input:focus-visible + .tgpc-choice__surface,
.tgpc-plan input:focus-visible + .tgpc-plan__surface,
.tgpc-door input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(13, 132, 171, 0.22);
	outline: 2px solid transparent;
}

.tgpc-choice input:checked + .tgpc-choice__surface {
	background: var(--tgpc-accent-soft);
	border-color: var(--tgpc-accent);
	box-shadow: 0 8px 22px rgba(13, 132, 171, 0.1);
}

.tgpc-choice__icon {
	align-items: center;
	background: var(--tgpc-bg);
	border-radius: 10px;
	display: flex;
	flex: 0 0 46px;
	height: 46px;
	justify-content: center;
}

.tgpc-choice input:checked + .tgpc-choice__surface .tgpc-choice__icon {
	background: var(--tgpc-white);
}

.tgpc-choice__icon svg {
	fill: none;
	height: 29px;
	stroke: var(--tgpc-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	width: 29px;
}

.tgpc-choice__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.tgpc-choice__body strong {
	color: var(--tgpc-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.tgpc-choice__body small {
	color: var(--tgpc-muted);
	font-size: 11px;
}

.tgpc-choice__check {
	align-items: center;
	background: var(--tgpc-accent);
	border-radius: 50%;
	color: var(--tgpc-white);
	display: flex;
	font-size: 11px;
	height: 22px;
	justify-content: center;
	opacity: 0;
	transform: scale(0.7);
	transition: 160ms ease;
	width: 22px;
}

.tgpc-choice input:checked + .tgpc-choice__surface .tgpc-choice__check {
	opacity: 1;
	transform: scale(1);
}

.tgpc-choice.is-disabled {
	cursor: not-allowed;
}

.tgpc-choice.is-disabled .tgpc-choice__surface {
	background: #f7f8f9;
	border-color: #e8edef;
	opacity: 0.56;
	transform: none;
}

.tgpc-plans {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tgpc-plan__surface {
	background: var(--tgpc-white);
	border: 1px solid var(--tgpc-line);
	border-radius: 13px;
	display: block;
	overflow: hidden;
	position: relative;
	transition: 160ms ease;
}

.tgpc-plan:hover .tgpc-plan__surface {
	border-color: rgba(13, 132, 171, 0.5);
	transform: translateY(-2px);
}

.tgpc-plan input:checked + .tgpc-plan__surface {
	border-color: var(--tgpc-accent);
	box-shadow: 0 8px 24px rgba(13, 132, 171, 0.13);
}

.tgpc-plan img {
	aspect-ratio: 16 / 9;
	background: var(--tgpc-bg);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.tgpc-plan__surface > span {
	display: flex;
	flex-direction: column;
	padding: 9px 11px 10px;
}

.tgpc-plan__surface strong {
	color: var(--tgpc-navy);
	font-size: 12px;
}

.tgpc-plan__surface small {
	color: var(--tgpc-muted);
	font-size: 10px;
}

.tgpc-plan__surface > i,
.tgpc-door > span > i {
	align-items: center;
	background: var(--tgpc-accent);
	border: 3px solid var(--tgpc-white);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 11px;
	font-style: normal;
	height: 27px;
	justify-content: center;
	opacity: 0;
	position: absolute;
	right: 8px;
	top: 8px;
	transform: scale(0.7);
	transition: 160ms ease;
	width: 27px;
}

.tgpc-plan input:checked + .tgpc-plan__surface > i,
.tgpc-door input:checked + span > i {
	opacity: 1;
	transform: scale(1);
}

.tgpc-measurement-grid {
	align-items: start;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 1.1fr);
}

.tgpc-selected-plan {
	background: var(--tgpc-bg);
	border: 1px solid var(--tgpc-line);
	border-radius: 15px;
	margin: 0;
	overflow: hidden;
	position: sticky;
	top: 18px;
}

.tgpc-selected-plan__visual {
	aspect-ratio: 16 / 10;
	background: var(--tgpc-white);
	display: grid;
	overflow: hidden;
	place-items: center;
	position: relative;
}

.tgpc-selected-plan__image {
	display: block;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	width: 100%;
}

.tgpc-selected-plan__badge {
	background: rgba(27, 43, 58, 0.88);
	border-radius: 999px;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 5px 9px;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1;
}

.tgpc-selected-plan figcaption {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 12px 14px;
}

.tgpc-selected-plan figcaption > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tgpc-selected-plan__title {
	color: var(--tgpc-navy);
	font-size: 12px;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tgpc-selected-plan figcaption small {
	color: var(--tgpc-muted);
	font-size: 9px;
}

.tgpc-selected-plan figcaption small b {
	color: var(--tgpc-accent-dark);
	font-size: 10px;
}

.tgpc-change-plan {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--tgpc-accent-dark);
	cursor: pointer;
	flex: 0 0 auto;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	margin: 0;
	padding: 6px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tgpc-change-plan:hover,
.tgpc-change-plan:focus-visible {
	color: var(--tgpc-navy);
	outline: 2px solid transparent;
	text-decoration-thickness: 2px;
}

.tgpc-measurement-grid .tgpc-dimensions {
	grid-template-columns: 1fr;
}
.tgpc-dimensions,
.tgpc-contact-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tgpc-width-fields {
	display: contents;
}

.tgpc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.tgpc-field > span:first-child {
	color: var(--tgpc-navy);
	font-size: 12px;
	font-weight: 700;
}

.tgpc-field b {
	color: var(--tgpc-danger);
}

.tgpc-field em {
	color: var(--tgpc-muted);
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
}

.tgpc-field input,
.tgpc-field textarea,
.tgpc-counter input {
	appearance: none;
	background: var(--tgpc-white);
	border: 1px solid #cddae0;
	border-radius: 10px;
	box-shadow: none;
	color: var(--tgpc-ink);
	font: inherit;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	outline: none;
	padding: 11px 12px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.tgpc-field textarea {
	min-height: 112px;
	resize: vertical;
}

.tgpc-field input:focus,
.tgpc-field textarea:focus,
.tgpc-counter input:focus {
	border-color: var(--tgpc-accent);
	box-shadow: 0 0 0 3px rgba(13, 132, 171, 0.12);
}

.tgpc-field small {
	color: var(--tgpc-muted);
	font-size: 10px;
}

.tgpc-field--full {
	grid-column: 1 / -1;
}

.tgpc-input-unit {
	display: block;
	position: relative;
}

.tgpc-input-unit input {
	direction: ltr;
	padding-left: 48px;
	text-align: left;
}

.tgpc-input-unit i {
	color: var(--tgpc-muted);
	font-size: 11px;
	font-style: normal;
	left: 13px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.tgpc-subsection {
	border-top: 1px dashed var(--tgpc-line);
	margin-top: 24px;
	padding-top: 22px;
}

.tgpc-subsection__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 13px;
}

.tgpc-subsection__head h4 {
	font-size: 14px;
}

.tgpc-subsection__head span {
	color: var(--tgpc-muted);
	font-size: 10px;
}

.tgpc-door-styles {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tgpc-door > span {
	align-items: center;
	background: var(--tgpc-bg);
	border: 1px solid var(--tgpc-line);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-height: 142px;
	padding: 10px 8px;
	position: relative;
	transition: 160ms ease;
}

.tgpc-door:hover > span {
	border-color: rgba(13, 132, 171, 0.5);
}

.tgpc-door input:checked + span {
	background: var(--tgpc-accent-soft);
	border-color: var(--tgpc-accent);
}

.tgpc-door img {
	height: 92px;
	object-fit: contain;
	width: 92px;
}

.tgpc-door strong {
	color: var(--tgpc-navy);
	font-size: 10px;
	font-weight: 700;
	text-align: center;
}

.tgpc-quantity {
	align-items: center;
	background: var(--tgpc-bg);
	border: 1px solid var(--tgpc-line);
	border-radius: 13px;
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	padding: 13px 15px;
}

.tgpc-quantity > div:first-child {
	display: flex;
	flex-direction: column;
}

.tgpc-quantity strong {
	color: var(--tgpc-navy);
	font-size: 13px;
}

.tgpc-quantity small {
	color: var(--tgpc-muted);
	font-size: 10px;
}

.tgpc-counter {
	align-items: center;
	direction: ltr;
	display: flex;
	gap: 7px;
}

.tgpc-counter button {
	align-items: center;
	background: var(--tgpc-accent) !important;
	border: 0;
	border-radius: 9px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 21px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background 160ms ease, transform 160ms ease;
	width: 38px;
}

.tgpc-counter button:hover {
	background: var(--tgpc-accent-dark) !important;
	transform: translateY(-1px);
}

.tgpc-counter input {
	direction: ltr;
	height: 38px;
	padding: 6px;
	text-align: center;
	width: 66px;
}

.tgpc-consent {
	align-items: flex-start;
	background: var(--tgpc-bg);
	border: 1px solid var(--tgpc-line);
	border-radius: 11px;
	cursor: pointer;
	display: flex;
	font-size: 12px;
	gap: 9px;
	margin-top: 15px;
	padding: 11px 12px;
}

.tgpc-consent input {
	accent-color: var(--tgpc-accent);
	flex: 0 0 auto;
	height: 17px;
	margin: 3px 0 0;
	width: 17px;
}

.tgpc-honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tgpc-actions {
	align-items: center;
	border-top: 1px solid var(--tgpc-line);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 26px;
	padding-top: 18px;
}

.tgpc-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	gap: 7px;
	justify-content: center;
	line-height: 1.5;
	min-height: 44px;
	padding: 10px 18px;
	text-decoration: none !important;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tgpc-button:hover {
	transform: translateY(-1px);
}

.tgpc-button:focus-visible {
	box-shadow: 0 0 0 3px rgba(13, 132, 171, 0.22);
	outline: 2px solid transparent;
}

.tgpc-button:disabled {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

.tgpc-app .tgpc-button.tgpc-button--primary {
	background: var(--tgpc-button) !important;
	background-image: none !important;
	border-color: var(--tgpc-button) !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(13, 132, 171, 0.17);
}

.tgpc-app .tgpc-button.tgpc-button--primary:hover {
	background: var(--tgpc-button-hover) !important;
	border-color: var(--tgpc-button-hover) !important;
}

.tgpc-app .tgpc-button.tgpc-button--ghost {
	background: var(--tgpc-white) !important;
	border-color: var(--tgpc-line) !important;
	color: var(--tgpc-navy) !important;
}

.tgpc-app .tgpc-button.tgpc-button--ghost:hover {
	border-color: var(--tgpc-accent) !important;
	color: var(--tgpc-accent-dark) !important;
}

.tgpc-submit {
	margin-right: auto;
}

.tgpc-submit.is-loading::before {
	animation: tgpc-spin 0.7s linear infinite;
	border: 2px solid rgba(255,255,255,0.42);
	border-radius: 50%;
	border-top-color: #fff;
	content: '';
	height: 16px;
	width: 16px;
}

@keyframes tgpc-spin { to { transform: rotate(360deg); } }

.tgpc-summary {
	background: linear-gradient(165deg, var(--tgpc-navy), #263f53);
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(27, 43, 58, 0.18);
	color: #fff;
	padding: 20px;
	position: sticky;
	top: 24px;
}

.tgpc-summary__head {
	align-items: flex-start;
	border-bottom: 1px solid rgba(255,255,255,0.14);
	display: flex;
	justify-content: space-between;
	padding-bottom: 13px;
}

.tgpc-summary__head span {
	font-size: 15px;
	font-weight: 700;
}

.tgpc-summary__head small {
	color: rgba(255,255,255,0.62);
	font-size: 9px;
}

.tgpc-summary dl {
	margin: 4px 0 0;
}

.tgpc-summary dl > div {
	border-bottom: 1px solid rgba(255,255,255,0.1);
	padding: 10px 0;
}

.tgpc-summary dt {
	color: rgba(255,255,255,0.58);
	font-size: 9px;
	margin: 0;
}

.tgpc-summary dd {
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.65;
	margin: 1px 0 0;
	overflow-wrap: anywhere;
}

.tgpc-summary__locked {
	align-items: center;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 11px;
	display: flex;
	font-size: 9px;
	gap: 8px;
	margin-top: 15px;
	padding: 10px;
}

.tgpc-summary__locked svg {
	fill: none;
	flex: 0 0 20px;
	height: 20px;
	stroke: #7bd4f0;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 20px;
}

.tgpc-summary__price {
	background: rgba(13, 132, 171, 0.26);
	border: 1px solid rgba(123, 212, 240, 0.38);
	border-radius: 11px;
	margin-top: 15px;
	padding: 12px;
	text-align: center;
}

.tgpc-summary__price span,
.tgpc-summary__price small {
	color: rgba(255,255,255,0.7);
	display: block;
	font-size: 9px;
}

.tgpc-summary__price strong {
	display: block;
	font-size: 24px;
	line-height: 1.4;
}

.tgpc-result {
	padding: 24px 0 12px;
	text-align: center;
}

.tgpc-result__icon {
	margin: 0 auto 14px;
	width: 70px;
}

.tgpc-result__icon svg {
	fill: var(--tgpc-accent-soft);
	stroke: var(--tgpc-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.tgpc-result h3 {
	font-size: 24px;
	margin-top: 3px;
}

.tgpc-result__price {
	align-items: baseline;
	color: var(--tgpc-navy);
	display: flex;
	gap: 8px;
	justify-content: center;
	margin: 18px 0 10px;
}

.tgpc-result__price strong {
	color: var(--tgpc-accent-dark);
	font-size: clamp(36px, 6vw, 54px);
	font-weight: 800;
	line-height: 1.2;
}

.tgpc-result__price span {
	font-size: 14px;
	font-weight: 700;
}

.tgpc-result__disclaimer {
	background: var(--tgpc-bg);
	border-radius: 10px;
	color: var(--tgpc-muted);
	font-size: 11px;
	margin: 0 auto 12px;
	max-width: 520px;
	padding: 9px 12px;
}

.tgpc-result__reference {
	color: var(--tgpc-muted);
	font-size: 11px;
}

.tgpc-result__reference strong {
	color: var(--tgpc-navy);
	direction: ltr;
	display: inline-block;
}

.tgpc-result__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.tgpc-mdf-card {
	align-items: center;
	background: var(--tgpc-bg);
	border-top: 1px solid var(--tgpc-line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 34px -34px -34px;
	padding: 20px 34px;
}

.tgpc-mdf-card span {
	color: var(--tgpc-navy);
	font-size: 13px;
	font-weight: 700;
}

.tgpc-mdf-card p {
	color: var(--tgpc-muted);
	font-size: 10px;
	margin: 2px 0 0;
}

.tgpc-mdf-card a {
	color: var(--tgpc-accent-dark);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.tgpc-shell { padding: 24px; }
	.tgpc-layout { grid-template-columns: 1fr; }
	.tgpc-summary { position: static; }
	.tgpc-summary dl { display: grid; gap: 0 20px; grid-template-columns: repeat(2, 1fr); }
	.tgpc-mdf-card { margin: 28px -24px -24px; padding: 18px 24px; }
}

@media (max-width: 760px) {
	.tgpc-measurement-grid { grid-template-columns: 1fr; }
	.tgpc-selected-plan { position: static; }
	.tgpc-selected-plan__visual {
		aspect-ratio: 16 / 9;
		max-height: 340px;
	}
}


@media (max-width: 640px) {
	.tgpc-app { margin: 20px auto; }
	.tgpc-shell { border-radius: 16px; padding: 16px; }
	.tgpc-header { align-items: flex-start; margin-bottom: 18px; }
	.tgpc-header h2 { font-size: 22px; }
	.tgpc-header p { font-size: 11px; line-height: 1.8; }
	.tgpc-header-badge { border-radius: 12px; flex-basis: 48px; height: 48px; }
	.tgpc-header-badge svg { height: 30px; width: 30px; }
	.tgpc-progress { margin-bottom: 16px; padding: 10px 12px; }
	.tgpc-stage { border-radius: 14px; min-height: auto; padding: 17px; }
	.tgpc-step__heading { margin-bottom: 17px; }
	.tgpc-step__heading h3 { font-size: 16px; }
	.tgpc-step__heading p { font-size: 11px; }
	.tgpc-step__number { flex-basis: 34px; height: 34px; }
	.tgpc-options { grid-template-columns: 1fr; }
	.tgpc-choice__surface { min-height: 68px; }
	.tgpc-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tgpc-plan__surface strong { font-size: 10px; }
	.tgpc-dimensions,
	.tgpc-contact-grid { grid-template-columns: 1fr; }
	.tgpc-door-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tgpc-subsection__head { align-items: flex-start; flex-direction: column; }
	.tgpc-quantity { align-items: flex-start; flex-direction: column; gap: 12px; }
	.tgpc-counter { width: 100%; }
	.tgpc-counter input { flex: 1; }
	.tgpc-actions {
		background: rgba(255,255,255,0.96);
		bottom: 0;
		box-shadow: 0 -12px 28px rgba(27,43,58,0.08);
		margin: 22px -17px -17px;
		padding: 12px 17px calc(12px + env(safe-area-inset-bottom));
		position: sticky;
		z-index: 5;
	}
	.tgpc-actions .tgpc-button { flex: 1; padding-inline: 10px; }
	.tgpc-summary dl { display: block; }
	.tgpc-result { padding-top: 10px; }
	.tgpc-result__price strong { font-size: 36px; }
	.tgpc-result__actions { flex-direction: column; }
	.tgpc-mdf-card { align-items: flex-start; flex-direction: column; gap: 10px; margin: 22px -16px -16px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.tgpc-app *,
	.tgpc-app *::before,
	.tgpc-app *::after {
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

