/* Engraving teaser (home page). Uses the OZB Brand tokens, with fallbacks. */
.ozb-est {
	--est-ink: var(--ozb-ink, #1C1B19);
	--est-muted: var(--ozb-muted, #6E6B66);
	--est-line: var(--ozb-line, #E4E2DE);
	--est-field: var(--ozb-field, #8A8680);
	--est-char: var(--ozb-char, #1C1B19);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 0;
}
.ozb-est__media { position: relative; align-self: stretch; overflow: hidden; background: #2a2622; }
.ozb-est__stage { position: relative; height: 100%; min-height: 380px; }
.ozb-est__photo,
.ozb-est__fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.ozb-est__canvas { position: absolute; inset: 0; }
.ozb-est__stage .ozb-est__photo { position: absolute; inset: 0; object-fit: cover; height: 100%; }
/* The drawing layer crops like the photo (slice = cover), so the words stay on the blade. */
.ozb-est__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ozb-est__body { padding: var(--ozb-card-pad, 40px); }
.ozb-est .ozb-est__title { margin: 0 0 12px; }
.ozb-est__try { display: grid; gap: 12px; margin: 22px 0 20px; }
.ozb-est__row { display: flex; gap: 10px; }
.ozb-est .ozb-est__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--est-field);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: var(--est-ink);
	font-size: 17px;
}
.ozb-est .ozb-est__input:focus { border-color: var(--est-ink); box-shadow: 0 0 0 1px var(--est-ink); outline: none; }
.ozb-est .ozb-est__go.button {
	flex: none;
	height: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--est-char);
	color: #fff;
	font-size: 15px;
	text-transform: none;
	letter-spacing: normal;
}
.ozb-est .ozb-est__go.button:hover { background: #000; }
.ozb-est .ozb-est__go.button:disabled { opacity: 1; cursor: progress; }
.ozb-est__styles { display: inline-flex; justify-self: start; padding: 3px; border-radius: 999px; background: #f0efec; }
.ozb-est__style { position: relative; margin: 0; padding: 7px 16px; border-radius: 999px; color: var(--est-muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ozb-est__style input { position: absolute; opacity: 0; pointer-events: none; }
.ozb-est__style.is-checked,
.ozb-est__style:has(input:checked) { background: #fff; color: var(--est-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.ozb-est__style:has(input:focus-visible) { outline: 2px solid var(--est-ink); outline-offset: 2px; }
.ozb-est__ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.ozb-est__ideas:empty { display: none; }
.ozb-est .ozb-est__idea {
	min-height: 32px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--est-line);
	border-radius: 999px;
	background: #fff;
	color: var(--est-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 30px;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.ozb-est .ozb-est__idea:hover { border-color: var(--est-ink); }
.ozb-est__done { display: grid; gap: 6px; animation: ozb-est-in .35s ease-out; }
.ozb-est__done[hidden] { display: none; }
@keyframes ozb-est-in { from { opacity: 0; transform: translateY(6px); } }
.ozb-est .ozb-est__buy.button {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	justify-self: start;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	text-transform: none;
	letter-spacing: normal;
}
.ozb-est__price { font-variant-numeric: tabular-nums; opacity: .92; }
.ozb-est__note { margin: 0; color: var(--est-muted); font-size: 13px; }
.ozb-est--static .ozb-est__media { min-height: 380px; }
.ozb-est--static .ozb-est__fallback { position: absolute; inset: 0; }

@media (max-width: 849px) {
	.ozb-est { grid-template-columns: 1fr; }
	.ozb-est__stage { min-height: 0; height: auto; aspect-ratio: 8 / 5; }
	.ozb-est--static .ozb-est__media { min-height: 0; }
	.ozb-est--static .ozb-est__fallback { position: static; height: auto; aspect-ratio: 8 / 5; }
	.ozb-est__body { padding: 28px 16px 36px; }
}
@media (max-width: 420px) {
	.ozb-est__row { flex-direction: column; }
	.ozb-est .ozb-est__go.button,
	.ozb-est .ozb-est__buy.button { width: 100%; justify-content: center; }
	.ozb-est .ozb-est__buy.button { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
	.ozb-est__done { animation: none; }
}
