.tryon {
	--accent: #ff8a00;
	--tryon-bg: #101113;
	--tryon-panel: #191a1d;
	--tryon-raised: #222327;
	--tryon-border: rgba(255, 255, 255, .12);
	--tryon-copy: #a5a5aa;
	padding: clamp(48px, 5vh, 72px) 0 clamp(78px, 9vw, 132px);
	background: #121316;
	overscroll-behavior-x: none;
	scroll-margin-top: calc(var(--header-height) - 8px);
}
.tryon,
.tryon button,
.tryon input,
.tryon select { font-family: "Montserrat", sans-serif; }
.tryon .section-heading { align-items: end; margin-bottom: clamp(32px, 3.5vw, 44px); }
.tryon .section-heading > p { max-width: 600px; }
.tryon-browser-helper { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -18px 0 24px; padding: 15px 18px; border: 1px solid rgba(255,138,0,.38); border-radius: 12px; background: rgba(255,138,0,.075); }
.tryon-browser-helper[hidden] { display: none; }
.tryon-browser-helper > div { display: grid; gap: 3px; }
.tryon-browser-helper strong { color: #f5f2ec; font-size: 13px; }
.tryon-browser-helper span { color: var(--tryon-copy); font-size: 12px; }
.tryon-browser-helper .button { flex: 0 0 auto; min-height: 42px; padding: 0 18px; }
.tryon-app {
	display: grid;
	height: clamp(560px, 80dvh, 860px);
	max-height: 860px;
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--tryon-border);
	border-radius: 16px;
	background: var(--tryon-bg);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
	grid-template-columns: minmax(0, 1fr) minmax(350px, 390px);
	overscroll-behavior-y: auto;
}
.tryon-workspace { display: flex; min-width: 0; min-height: 0; flex-direction: column; border-right: 1px solid var(--tryon-border); overscroll-behavior-y: auto; }
.tryon-toolbar {
	display: flex;
	min-height: 62px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 9px 16px 9px 20px;
	border-bottom: 1px solid var(--tryon-border);
	background: #151619;
}
.tryon-local { display: inline-flex; align-items: center; color: #d7d5d1; font-size: 12px; font-weight: 650; letter-spacing: .065em; text-transform: uppercase; }
.tryon-history { display: flex; align-items: center; gap: 7px; }
.tryon-history button {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding: 0 13px;
	border: 1px solid var(--tryon-border);
	border-radius: 8px;
	background: transparent;
	color: #e6e3dd;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tryon-history button:hover:not(:disabled),
.tryon-history button:focus-visible { border-color: var(--accent); background: rgba(217, 164, 95, .08); color: var(--accent); }
.tryon-history button:disabled { cursor: not-allowed; opacity: .32; }
.tryon-history svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tryon-history .tryon-reset { width: auto; }
.tryon-stage {
	position: relative;
	display: grid;
	min-height: 0;
	flex: 1;
	place-items: center;
	overflow: hidden;
	padding: 28px;
	background-color: #0d0e10;
	background-image: linear-gradient(45deg, rgba(255,255,255,.018) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.018) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.018) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.018) 75%);
	background-position: 0 0, 0 12px, 12px -12px, -12px 0;
	background-size: 24px 24px;
	overscroll-behavior-y: auto;
	touch-action: pan-y;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}
.tryon-stage::before { position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; content: ""; pointer-events: none; }
.tryon-stage.is-dragover { outline: 2px solid var(--accent); outline-offset: -9px; }
.tryon-stage canvas {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 16px 50px rgba(0,0,0,.45);
	cursor: default;
	overscroll-behavior-y: auto;
	touch-action: pan-y;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

html.tattoo44-editor-gesture-active,
html.tattoo44-editor-gesture-active body {
	overscroll-behavior: none;
}
.tryon-empty {
	position: absolute;
	z-index: 3;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 34px;
	border: 0;
	background: radial-gradient(circle at 50% 38%, #1b1c20 0, #111214 62%);
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-align: center;
}
.tryon-empty:hover .button,
.tryon-empty:focus-visible .button { filter: brightness(1.08); transform: translateY(-1px); }
.tryon-empty:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }
.tryon-empty[hidden] { display: none; }
.tryon-empty__icon { display: grid; width: 74px; height: 74px; place-items: center; margin-bottom: 20px; border: 1px solid rgba(217,164,95,.52); border-radius: 50%; background: rgba(217,164,95,.07); color: var(--accent); }
.tryon-empty__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tryon-empty strong { color: #f5f2ec; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; text-transform: uppercase; }
.tryon-empty p { margin: 10px 0 24px; color: var(--tryon-copy); font-size: 14px; }
.tryon-empty .button { min-width: 210px; }
.tryon-empty small { margin-top: 13px; color: #77787e; font-size: 11px; }
.tryon-gesture-hint { min-height: 38px; margin: 0; padding: 11px 18px; border-top: 1px solid var(--tryon-border); color: #77787e; font-size: 10px; letter-spacing: .075em; text-align: center; text-transform: uppercase; }

.tryon-panel { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; background: var(--tryon-panel); }
.tryon-tabs { display: grid; border-bottom: 1px solid var(--tryon-border); grid-template-columns: repeat(4, 1fr); }
.tryon-tabs button {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 68px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 0;
	border-right: 1px solid var(--tryon-border);
	background: #151619;
	color: #74757a;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .065em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(255,138,0,.16);
	-webkit-user-select: none;
	user-select: none;
}
.tryon-tabs button:last-child { border-right: 0; }
.tryon-tabs button::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--accent); content: ""; opacity: 0; transform: scaleX(.35); transition: opacity .2s ease, transform .2s ease; }
.tryon-tabs button:hover { color: #d8d5cf; }
.tryon-tabs button[aria-selected="true"] { background: var(--tryon-panel); color: var(--accent); }
.tryon-tabs button[aria-selected="true"]::after { opacity: 1; transform: scaleX(1); }
.tryon-tabs button.needs-attention { z-index: 1; background: rgba(255,138,0,.14); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 18px rgba(255,138,0,.12); animation: tryon-attention 1.15s ease 3; }
.tryon-tabs button:last-child.needs-attention { border-top-right-radius: 15px; }
.tryon-tabs button.needs-attention svg { stroke-width: 2; filter: drop-shadow(0 0 5px rgba(255,138,0,.5)); }
.tryon-tabs button.needs-attention::before { position: absolute; top: 9px; right: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: ""; box-shadow: 0 0 0 4px rgba(255,138,0,.13); }
@keyframes tryon-attention { 50% { background: rgba(255,138,0,.1); } }
.tryon-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.tryon-panel__body { position: relative; min-height: 0; flex: 1; overflow: hidden; }
.tryon-tab-panel { position: absolute; inset: 0; padding: 26px 24px 30px; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-color: var(--accent) #242529; scrollbar-width: thin; }
.tryon-tab-panel::-webkit-scrollbar { width: 8px; }
.tryon-tab-panel::-webkit-scrollbar-track { background: #242529; }
.tryon-tab-panel::-webkit-scrollbar-thumb { border: 2px solid #242529; border-radius: 10px; background: var(--accent); }
.tryon-tab-panel[hidden] { display: none; }
.tryon-tab-panel.is-active { animation: tryon-panel-in .22s ease both; }
@keyframes tryon-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.tryon-panel-heading { display: block; margin-bottom: 24px; }
.tryon-panel-heading h3 { margin: 0 0 5px; color: #f2f0eb; font-size: 20px; font-weight: 700; line-height: 1.15; text-transform: uppercase; }
.tryon-panel-heading p { margin: 0; color: var(--tryon-copy); font-size: 13px; font-weight: 400; line-height: 1.5; }
.tryon-upload { display: flex; min-height: 74px; align-items: center; gap: 14px; margin-bottom: 26px; padding: 14px; border: 1px dashed rgba(217,164,95,.52); border-radius: 9px; background: rgba(217,164,95,.05); color: #e6e2dc; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.tryon-upload:hover { border-color: var(--accent); background: rgba(217,164,95,.1); }
.tryon-upload svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tryon-upload span { display: grid; gap: 2px; }
.tryon-upload strong { font-size: 13px; font-weight: 650; }
.tryon-upload small { color: var(--tryon-copy); font-size: 11px; }
.tryon-range { display: block; margin-bottom: 21px; }
.tryon-range > span,
.tryon-select > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #d2d0ca; font-size: 12px; font-weight: 600; }
.tryon-range output { color: var(--accent); font-variant-numeric: tabular-nums; }
.tryon-range input { --range-progress: 50%; width: 100%; height: 30px; margin: 0; padding: 0; appearance: none; border-radius: 5px; outline: 0; background: transparent; cursor: pointer; }
.tryon-range input::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--range-progress), #3b3c41 var(--range-progress), #3b3c41 100%); }
.tryon-range input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7.5px; appearance: none; border: 3px solid var(--tryon-panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tryon-range input::-moz-range-track { height: 5px; border-radius: 5px; background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--range-progress), #3b3c41 var(--range-progress), #3b3c41 100%); }
.tryon-range input::-moz-range-progress { background: transparent; }
.tryon-range input::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid var(--tryon-panel); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tryon-range input:focus-visible { box-shadow: 0 0 0 3px rgba(255,138,0,.18); }
.tryon-text-action { min-height: 38px; padding: 0; border: 0; border-bottom: 1px solid rgba(217,164,95,.5); background: transparent; color: var(--accent); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.tryon-search { position: relative; display: block; margin-bottom: 14px; }
.tryon-search input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--tryon-border); border-radius: 8px; outline: 0; background: #131417; color: #f0eee8; font: inherit; font-size: 12px; }
.tryon-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,164,95,.1); }
.tryon-designs { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tryon-design {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 168px;
	align-items: stretch;
	justify-content: space-between;
	flex-direction: column;
	gap: 9px;
	padding: 9px;
	border: 1px solid var(--tryon-border);
	border-radius: 9px;
	background: #f0eee9;
	color: #16171a;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tryon-design:hover,
.tryon-design:focus-visible { border-color: var(--accent); box-shadow: 0 7px 22px rgba(0,0,0,.2); transform: translateY(-2px); }
.tryon-design.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.tryon-design.is-selected::after { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border: 3px solid #f0eee9; border-radius: 50%; background: var(--accent); content: ""; box-shadow: 0 0 0 1px var(--accent); }
.tryon-design img { width: 100%; height: 112px; object-fit: contain; mix-blend-mode: multiply; }
.tryon-design--upload { min-height: 178px; align-items: center; justify-content: center; gap: 12px; padding: 16px 12px; border: 1px dashed rgba(255,138,0,.62); background: rgba(255,138,0,.055); color: #f1ede6; text-align: center; }
.tryon-design__upload-icon { display: block !important; width: auto; height: auto; margin: 0; border: 0; color: var(--accent); font-size: 36px; font-weight: 300; line-height: 1; }
.tryon-design.tryon-design--upload strong { overflow: visible; line-height: 1.35; text-align: center; text-overflow: clip; white-space: normal; }
.tryon-design > span { display: grid; gap: 2px; min-width: 0; }
.tryon-design strong { overflow: hidden; font-size: 11px; font-weight: 700; letter-spacing: .025em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.tryon-design small { overflow: hidden; color: #696762; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.tryon-library-empty { padding: 30px 10px; color: var(--tryon-copy); font-size: 13px; text-align: center; }
.tryon-library-empty[hidden] { display: none; }
.tryon-select { display: block; margin: 2px 0 22px; }
.tryon-select select { width: 100%; height: 46px; padding: 0 42px 0 13px; appearance: none; border: 1px solid var(--tryon-border); border-radius: 8px; outline: none; background-color: #131417; background-image: linear-gradient(45deg, transparent 50%, #d4d1cb 50%), linear-gradient(135deg, #d4d1cb 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; color: #f2efe9; font: inherit; font-size: 13px; font-weight: 500; }
.tryon-select select:focus { border-color: var(--accent); }
.tryon-tool-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.tryon-tool-grid button { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--tryon-border); border-radius: 8px; background: #151619; color: #d9d6d0; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.tryon-tool-grid button:hover { border-color: var(--accent); color: var(--accent); }
.tryon-tool-grid button.is-danger { color: #e58c83; }
.tryon-tool-grid svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tryon-preview-note { margin-bottom: 22px; padding: 18px; border: 1px solid rgba(255,138,0,.24); border-radius: 10px; background: rgba(255,138,0,.055); }
.tryon-preview-note strong { display: block; margin-bottom: 7px; color: #f2e5d5; font-size: 13px; font-weight: 650; text-transform: uppercase; }
.tryon-preview-note p { margin: 0; color: #b9b5ae; font-size: 12px; line-height: 1.55; }
.tryon-tab-panel .button { width: 100%; min-height: 50px; align-items: center; justify-content: center; margin-top: 9px; padding-inline: 14px; text-align: center; white-space: nowrap; }
.tryon-tab-panel .button[hidden] { display: none; }
.tryon-download { display: inline-flex; align-items: center; justify-content: center; gap: 9px; touch-action: manipulation; -webkit-tap-highlight-color: rgba(255,138,0,.16); }
.tryon-modal [data-download-hd],
.tryon-preview-modal [data-preview-modal-download],
.tryon-saved__download { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255,138,0,.16); }
.tryon-download svg,
[data-download-hd] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tryon-tab-panel .button--text { min-height: 40px; border: 0; background: transparent; color: var(--accent); }
.tryon-saved { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tryon-border); }
.tryon-saved[hidden] { display: none; }
.tryon-saved h4 { margin: 0 0 12px; color: #f3f0ea; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tryon-saved__list { display: grid; gap: 8px; }
.tryon-saved__list article { display: grid; min-width: 0; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--tryon-border); border-radius: 8px; background: #141518; grid-template-columns: 54px minmax(0, 1fr) auto; }
.tryon-saved__list img { width: 54px; height: 54px; border-radius: 5px; object-fit: cover; }
.tryon-saved__copy { display: grid; min-width: 0; gap: 3px; }
.tryon-saved__copy strong { color: #f3f0ea; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tryon-saved__copy small { overflow: hidden; color: var(--tryon-copy); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tryon-saved__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.tryon-saved__actions button { display: flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; margin: 0; padding: 0 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #d7d4ce; font: inherit; font-size: 10px; font-weight: 650; line-height: 1; text-transform: uppercase; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.tryon-saved__actions button:hover,
.tryon-saved__actions button:focus-visible { border-color: var(--accent); background: rgba(255,138,0,.08); color: var(--accent); }
.tryon-saved__actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tryon-status { min-height: 42px; margin: 0; padding: 10px 22px; border-top: 1px solid var(--tryon-border); color: var(--accent); font-size: 11px; line-height: 1.4; }
.tryon-status.is-error { color: #ec8d83; }

.tryon-modal { position: fixed; width: min(100% - 32px, 520px); max-height: min(92svh, 760px); padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: #191a1d; color: #f4f1eb; box-shadow: 0 30px 100px rgba(0,0,0,.64); }
.tryon-lead-modal { width: min(100% - 32px, 860px); }
.tryon-modal::backdrop { background: rgba(5,6,7,.78); backdrop-filter: blur(5px); }
.tryon-modal__card { max-height: min(92svh, 760px); padding: 30px 34px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(255,138,0,.75) transparent; scrollbar-width: thin; }
.tryon-modal__card::-webkit-scrollbar { width: 4px; }
.tryon-modal__card::-webkit-scrollbar-track { background: transparent; }
.tryon-modal__card::-webkit-scrollbar-thumb { border: 0; border-radius: 999px; background: rgba(255,138,0,.75); }
.tryon-modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--tryon-border); border-radius: 50%; background: #222327; color: #d9d6d0; cursor: pointer; }
.tryon-modal__close { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.tryon-modal__close:hover,
.tryon-modal__close:focus-visible { border-color: var(--accent); background: var(--accent); color: #111; }
.tryon-modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tryon-modal h3 { max-width: 390px; margin: 0 0 10px; font-size: clamp(27px, 5vw, 38px); line-height: 1.02; text-transform: uppercase; }
.tryon-modal h3 + p { margin: 0 0 24px; color: var(--tryon-copy); font-size: 13px; line-height: 1.55; }
.tryon-modal label:not(.tryon-consent) { display: block; margin: 0; }
.tryon-modal label > span { display: block; margin-bottom: 7px; color: #d3d0ca; font-size: 12px; font-weight: 600; }
.tryon-modal label small { color: #77787d; font-weight: 400; }
.tryon-modal input:not([type="checkbox"]) { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--tryon-border); border-radius: 8px; outline: 0; background: #111214; color: #fff; font: inherit; font-size: 14px; }
.tryon-modal input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,164,95,.1); }
.tryon-lead-grid { display: grid; gap: 15px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tryon-lead-grid__full { grid-column: 1 / -1; }
.tryon-contact-method { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tryon-contact-method legend { margin-bottom: 7px; color: #d3d0ca; font-size: 12px; font-weight: 600; }
.tryon-contact-method label { display: flex !important; min-height: 42px; align-items: center; gap: 9px; margin: 0 !important; padding: 8px 11px; border: 1px solid var(--tryon-border); border-radius: 8px; background: #111214; cursor: pointer; }
.tryon-contact-method input { width: 17px !important; height: 17px !important; padding: 0 !important; accent-color: var(--accent); }
.tryon-contact-method span { margin: 0 !important; }
.tryon-consent { display: grid; align-items: start; gap: 10px; margin: 2px 0 0; grid-template-columns: 18px 1fr; }
.tryon-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.tryon-consent span { margin: 0 !important; color: var(--tryon-copy) !important; font-size: 11px !important; font-weight: 400 !important; line-height: 1.45; }
.tryon-consent a { color: var(--accent); }
.tryon-consent + .tryon-consent { margin-top: 4px; }
.tryon-modal .button { width: 100%; min-height: 50px; }
.tryon-lead-submit { margin-top: 24px; }
.tryon-modal__status { min-height: 21px; margin: 10px 0 0; color: var(--accent); font-size: 11px; }
.tryon-modal__status.is-error { color: #ec8d83; }
.tryon-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.tryon-modal__success { padding-block: 20px 8px; text-align: center; }
.tryon-modal__success[hidden],
[data-lead-fields][hidden] { display: none; }
.tryon-modal__success h3 { margin-inline: auto; }
.tryon-modal__success p:not(.eyebrow) { color: var(--tryon-copy); }
.tryon-booking-preview { display: grid; align-items: center; gap: 14px; margin: 20px 0; padding: 10px; border: 1px solid var(--tryon-border); border-radius: 10px; background: #111214; grid-template-columns: 92px 1fr; }
.tryon-booking-preview img { width: 92px; height: 92px; border-radius: 7px; object-fit: cover; }
.tryon-booking-preview div { display: grid; min-width: 0; gap: 4px; }
.tryon-booking-preview small { color: var(--tryon-copy); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.tryon-booking-preview strong { color: var(--accent); font-size: 17px; font-variant-numeric: tabular-nums; }
.tryon-booking-preview span { overflow: hidden; color: #f2f0ea; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.tryon-booking-actions { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tryon-booking-actions .button { display: flex; height: 52px; min-width: 0; min-height: 52px; max-height: 52px; align-items: center; justify-content: center; margin: 0; padding-block: 0; white-space: nowrap; }
.tryon-booking-actions .button[hidden] { display: none; }
.tryon-booking-action--call,
.tryon-booking-actions .button--text { border: 1px solid var(--tryon-border); background: transparent; color: var(--accent); }
.tryon-preview-modal { width: min(100% - 32px, 760px); max-height: min(90dvh, 760px); }
.tryon-preview-modal__card { display: flex; max-height: min(90dvh, 760px); flex-direction: column; overflow: hidden; }
.tryon-preview-modal__body { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: auto; }
.tryon-preview-modal h3 { max-width: none; color: var(--accent); font-size: clamp(22px, 4vw, 32px); font-variant-numeric: tabular-nums; }
.tryon-preview-modal__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; color: var(--tryon-copy); font-size: 12px; }
.tryon-preview-modal__image { display: block; width: 100%; max-height: min(56dvh, 540px); flex: 1 1 auto; min-height: 0; border-radius: 9px; background: #0e0f11; object-fit: contain; }
.tryon-preview-modal__actions { flex: 0 0 auto; padding-top: 16px; }
.tryon-preview-modal__actions .button { display: flex; width: 100%; height: 54px; min-height: 54px; max-height: 54px; align-items: center; justify-content: center; flex: 0 0 54px; gap: 10px; margin: 0; padding-block: 0; line-height: 1.2; white-space: nowrap; }
.tryon-preview-modal__actions .button svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1050px) {
	.tryon { padding: 48px 0; }
	.tryon-app { grid-template-columns: minmax(0, 1fr) minmax(330px, 360px); }
	.tryon-stage { padding: 22px; }
	.tryon-tab-panel { overscroll-behavior-y: auto; }
}

@media (max-width: 820px) {
	.tryon { padding: 48px 0; }
	.tryon-app { height: auto; max-height: none; min-height: 0; grid-template-columns: 1fr; }
	.tryon-workspace { border-right: 0; border-bottom: 1px solid var(--tryon-border); }
	.tryon-stage { min-height: min(78svh, 660px); }
	.tryon-stage canvas { max-height: min(72svh, 620px); }
	.tryon-panel { min-height: 590px; }
	.tryon-tabs { position: sticky; z-index: 6; top: var(--header-height); }
	.tryon-panel__body { min-height: 500px; }
	.tryon-designs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
	.tryon-browser-helper { align-items: stretch; flex-direction: column; margin-top: -14px; }
	.tryon-browser-helper .button { width: 100%; }
	.tryon-tab-panel .button { white-space: normal; }
	.tryon { padding: 48px 0 0; }
	.tryon .container { width: 100%; }
	.tryon .section-heading { width: calc(100% - 40px); margin-inline: auto; }
	.tryon-app { border-right: 0; border-left: 0; border-radius: 0; }
	.tryon-toolbar { min-height: 56px; padding-inline: 12px; }
	.tryon-local { font-size: 9px; }
	.tryon-history { gap: 5px; }
	.tryon-history button { min-width: 38px; height: 38px; padding-inline: 9px; }
	.tryon-history .tryon-reset { font-size: 9px; }
	.tryon-stage { min-height: min(112vw, 560px); padding: 18px 28px; }
	.tryon-stage::before { inset: 10px; }
	.tryon-stage canvas { max-height: min(104vw, 520px); }
	.tryon-empty { padding: 28px 20px; }
	.tryon-empty__icon { width: 64px; height: 64px; }
	.tryon-empty strong { font-size: 25px; }
	.tryon-gesture-hint { min-height: 42px; padding-inline: 12px; font-size: 8px; line-height: 1.45; }
	.tryon-panel { min-height: 570px; }
	.tryon-tabs button { min-height: 64px; font-size: 8px; }
	.tryon-tabs svg { width: 18px; height: 18px; }
	.tryon-panel__body { min-height: 475px; }
	.tryon-tab-panel { padding: 22px 20px 28px; }
	.tryon-designs { display: grid; gap: 10px; margin-right: 0; padding: 1px 0 12px; overflow-x: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tryon-design { min-width: 0; min-height: 0; }
	.tryon-design img { height: auto; aspect-ratio: 1 / 1; }
	.tryon-design strong { display: -webkit-box; min-height: 2.5em; overflow: hidden; line-height: 1.25; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.tryon-design small { line-height: 1.25; white-space: normal; }
	.tryon-status { min-height: 46px; padding-inline: 20px; }
	.tryon-modal__card { padding: 30px 22px 24px; }
	.tryon-lead-grid { grid-template-columns: 1fr; }
	.tryon-lead-grid__full { grid-column: auto; }
	.tryon-contact-method { grid-template-columns: 1fr; }
	.tryon-lead-submit { margin-top: 22px; }
	.tryon-saved__actions button { min-width: 44px; height: 44px; }
}

@media (hover: none), (pointer: coarse) {
	.tryon-tabs button:hover { color: #74757a; }
	.tryon-tabs button[aria-selected="true"]:hover,
	.tryon-tabs button.needs-attention:hover { color: var(--accent); }
	.tryon-download:hover,
	.tryon-modal [data-download-hd]:hover,
	.tryon-preview-modal [data-preview-modal-download]:hover { border-color: transparent; background: var(--color-cta); color: #111; transform: none; }
	.tryon-modal__card { scrollbar-color: transparent transparent; }
	.tryon-modal__card::-webkit-scrollbar-thumb { background: transparent; }
	.tryon-modal__card.is-scrolling { scrollbar-color: rgba(255,138,0,.75) transparent; }
	.tryon-modal__card.is-scrolling::-webkit-scrollbar-thumb { background: rgba(255,138,0,.75); }
}

@media (prefers-reduced-motion: reduce) {
	.tryon-tab-panel.is-active { animation: none; }
	.tryon-tabs button.needs-attention { animation: none; }
	.tryon-tabs button:last-child.needs-attention { border-top-right-radius: 0; }
	.tryon-design,
	.tryon-tabs button,
	.tryon-history button { transition: none; }
}
