.acd-cake-designer {
	--acd-ink: #2f2524;
	--acd-muted: #756562;
	--acd-line: #eaded8;
	--acd-surface: #fffdfb;
	--acd-soft: #fbf3ef;
	--acd-primary: #a9435b;
	--acd-primary-dark: #873348;
	--acd-gold: #b58b4e;
	--acd-zalo: #0068ff;
	position: relative;
	width: min(920px, calc(100% - 24px));
	margin: 24px auto;
	color: var(--acd-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
}

.acd-cake-designer *,
.acd-cake-designer *::before,
.acd-cake-designer *::after {
	box-sizing: border-box;
}

.acd-cake-designer [hidden] {
	display: none !important;
}

.acd-cake-designer__header {
	max-width: 680px;
	margin: 0 auto 18px;
	text-align: center;
}

.acd-cake-designer__eyebrow,
.acd-result__kicker {
	margin: 0 0 4px;
	color: var(--acd-primary);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.acd-cake-designer h2,
.acd-cake-designer h3,
.acd-cake-designer h4,
.acd-cake-designer p {
	margin-top: 0;
}

.acd-cake-designer h2 {
	margin-bottom: 8px;
	color: var(--acd-ink);
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.12;
	letter-spacing: -.035em;
}

.acd-cake-designer__intro {
	color: var(--acd-muted);
	font-size: .95rem;
}

.acd-cake-designer__intro p:last-child {
	margin-bottom: 0;
}

.acd-steps {
	position: relative;
	max-width: 720px;
	margin: 0 auto 14px;
}

.acd-steps ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.acd-steps li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 7px 5px;
	border-radius: 999px;
	color: #887875;
	font-size: .78rem;
	font-weight: 700;
	transition: color .2s ease, background-color .2s ease;
}

.acd-steps li span {
	display: inline-grid;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 1px solid var(--acd-line);
	border-radius: 50%;
	background: #fff;
	font-size: .78rem;
}

.acd-steps li.is-current {
	color: var(--acd-primary-dark);
	background: #fff3f4;
}

.acd-steps li.is-current span,
.acd-steps li.is-complete span {
	border-color: var(--acd-primary);
	color: #fff;
	background: var(--acd-primary);
}

.acd-cake-form,
.acd-result,
.acd-loading {
	border: 1px solid var(--acd-line);
	border-radius: 18px;
	background: var(--acd-surface);
	box-shadow: 0 12px 36px rgba(74, 49, 43, .08);
}

.acd-cake-form {
	padding: clamp(18px, 3vw, 28px);
}

.acd-form-step {
	animation: acd-fade-in .28s ease both;
}

@keyframes acd-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.acd-step-heading {
	margin-bottom: 16px;
	text-align: center;
}

.acd-step-heading p {
	margin-bottom: 5px;
	color: var(--acd-primary);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.acd-step-heading h3,
.acd-result h3 {
	margin-bottom: 0;
	font-size: clamp(1.25rem, 2.3vw, 1.6rem);
	line-height: 1.25;
	letter-spacing: -.02em;
}

.acd-option-group {
	min-width: 0;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.acd-option-group legend {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	padding: 0;
	color: var(--acd-ink);
	font-size: .9rem;
	font-weight: 800;
}

.acd-option-group legend small {
	color: var(--acd-muted);
	font-size: .8rem;
	font-weight: 500;
}

.acd-option-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
	gap: 8px;
}

.acd-option-card {
	position: relative;
	display: flex;
	min-height: 88px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	padding: 10px 8px;
	border: 1px solid var(--acd-line);
	border-radius: 13px;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.acd-option-card:hover {
	border-color: #d6b1ba;
	box-shadow: 0 10px 25px rgba(93, 55, 61, .09);
	transform: translateY(-2px);
}

.acd-option-card:focus-within {
	outline: 3px solid rgba(169, 67, 91, .22);
	outline-offset: 2px;
}

.acd-option-card input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.acd-option-card:has(input:checked) {
	border-color: var(--acd-primary);
	background: #fff7f7;
	box-shadow: 0 10px 26px rgba(169, 67, 91, .11);
}

.acd-option-card__visual {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	color: var(--acd-primary-dark);
	background: var(--acd-soft);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
}

.acd-option-card__visual.is-color {
	border: 3px solid #fff;
	background: var(--acd-swatch);
	box-shadow: 0 0 0 1px var(--acd-line);
}

.acd-option-card__label {
	color: var(--acd-ink);
	font-size: .84rem;
	font-weight: 750;
}

.acd-option-card__check {
	position: absolute;
	top: 9px;
	right: 9px;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 50%;
	color: transparent;
	background: #f3ece9;
	font-size: .72rem;
	font-weight: 900;
}

.acd-option-card:has(input:checked) .acd-option-card__check {
	color: #fff;
	background: var(--acd-primary);
}

.acd-input-grid {
	display: grid;
	grid-template-columns: minmax(120px, .35fr) minmax(240px, 1fr);
	gap: 16px;
}

.acd-field {
	margin-bottom: 12px;
}

.acd-field label {
	display: block;
	margin-bottom: 6px;
	font-size: .88rem;
	font-weight: 800;
}

.acd-field label span,
.acd-field small {
	color: var(--acd-muted);
	font-weight: 500;
}

.acd-field input[type="text"],
.acd-field input[type="number"],
.acd-field textarea {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #d9cbc6;
	border-radius: 12px;
	outline: 0;
	color: var(--acd-ink);
	background: #fff;
	font: inherit;
	line-height: 1.45;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.acd-field input:focus,
.acd-field textarea:focus {
	border-color: var(--acd-primary);
	box-shadow: 0 0 0 3px rgba(169, 67, 91, .13);
}

	.acd-field textarea {
	resize: vertical;
}

.acd-field--size {
	width: min(220px, 100%);
	margin-bottom: 18px;
}

.acd-summary {
	padding: 16px;
	border-radius: 14px;
	background: var(--acd-soft);
}

.acd-summary h4 {
	margin-bottom: 8px;
	font-size: 1.05rem;
}

.acd-summary ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.acd-summary li {
	display: grid;
	grid-template-columns: minmax(95px, .42fr) 1fr;
	gap: 8px;
	padding-bottom: 5px;
	border-bottom: 1px solid #e6d8d2;
}

.acd-summary li strong {
	font-size: .88rem;
}

.acd-summary li span {
	color: var(--acd-muted);
	font-size: .88rem;
}

.acd-notice {
	margin-top: 12px;
	padding: 10px 12px;
	border-left: 4px solid var(--acd-primary);
	border-radius: 10px;
	color: var(--acd-muted);
	background: var(--acd-soft);
	font-size: .88rem;
}

.acd-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.acd-form-message {
	margin: 18px 0 0;
	padding: 12px 15px;
	border: 1px solid #e8aeb4;
	border-radius: 11px;
	color: #842a37;
	background: #fff1f2;
	font-size: .9rem;
	font-weight: 650;
}

.acd-form-actions,
.acd-result__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.acd-button {
	appearance: none;
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

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

.acd-button:focus-visible {
	outline: 3px solid rgba(169, 67, 91, .25);
	outline-offset: 3px;
}

.acd-button:disabled {
	cursor: wait;
	opacity: .56;
	transform: none;
}

.acd-button--primary {
	min-width: 170px;
	color: #fff;
	background: var(--acd-primary);
	box-shadow: 0 10px 22px rgba(169, 67, 91, .24);
}

.acd-button--primary:hover {
	color: #fff;
	background: var(--acd-primary-dark);
}

.acd-button--secondary {
	color: #fff;
	background: var(--acd-gold);
}

.acd-button--secondary:hover {
	color: #fff;
	background: #95703c;
}

.acd-button--ghost {
	border-color: #d9c9c3;
	color: var(--acd-ink);
	background: #fff;
}

.acd-button--ghost:hover {
	border-color: var(--acd-primary);
	color: var(--acd-primary-dark);
	background: #fff8f8;
}

.acd-button--zalo {
	color: #fff;
	background: var(--acd-zalo);
	box-shadow: 0 10px 22px rgba(0, 104, 255, .2);
}

.acd-button--zalo:hover {
	color: #fff;
	background: #0057d6;
}

.acd-loading {
	display: grid;
	min-height: 190px;
	place-items: center;
	align-content: center;
	gap: 10px;
	margin-top: 16px;
	padding: 26px;
	text-align: center;
}

.acd-loading strong {
	font-size: 1.08rem;
}

.acd-loading small {
	color: var(--acd-muted);
}

.acd-spinner {
	display: block;
	width: 54px;
	height: 54px;
	border: 5px solid #f0dcdf;
	border-top-color: var(--acd-primary);
	border-radius: 50%;
	animation: acd-spin .8s linear infinite;
}

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

.acd-result {
	margin-top: 18px;
	padding: clamp(18px, 3vw, 28px);
	text-align: center;
	animation: acd-fade-in .35s ease both;
}

.acd-result header {
	max-width: 680px;
	margin: 0 auto 16px;
}

.acd-result__figure {
	width: min(600px, 100%);
	margin: 0 auto;
}

.acd-result__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background: var(--acd-soft);
	box-shadow: 0 18px 50px rgba(57, 38, 33, .16);
	object-fit: cover;
}

.acd-result__figure figcaption,
.acd-zalo-note {
	max-width: 680px;
	margin: 14px auto 0;
	color: var(--acd-muted);
	font-size: .85rem;
}

@media (max-width: 720px) {
	.acd-cake-designer {
		width: min(100% - 16px, 920px);
		margin: 18px auto;
		font-size: 15px;
	}

	.acd-steps li {
		gap: 4px;
		padding-inline: 3px;
		font-size: 0;
	}

	.acd-steps li span {
		font-size: .76rem;
	}

	.acd-cake-form,
	.acd-result {
		border-radius: 16px;
		padding: 16px 12px;
	}

	.acd-option-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	.acd-option-card {
		min-height: 82px;
		padding: 9px 7px;
	}

	.acd-option-card__visual {
		width: 36px;
		height: 36px;
		font-size: 1.15rem;
	}

	.acd-input-grid,
	.acd-summary ul {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.acd-form-actions,
	.acd-result__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.acd-button {
		width: 100%;
	}

	.acd-form-actions .acd-button--ghost {
		order: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.acd-cake-designer *,
	.acd-cake-designer *::before,
	.acd-cake-designer *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Compact homepage widget — v0.3.0 */
.acd-cake-designer {
	--acd-ink: #24332d;
	--acd-muted: #6f766f;
	--acd-line: #e7e3dc;
	--acd-surface: #ffffff;
	--acd-soft: #f8f6f2;
	--acd-primary: #a83f5b;
	--acd-primary-dark: #873148;
	width: min(860px, calc(100% - 24px));
	margin: 22px auto;
	font-size: 14px;
	line-height: 1.45;
}

.acd-cake-designer__header {
	max-width: 720px;
	margin-bottom: 16px;
}

.acd-cake-designer__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-bottom: 7px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f9edf0;
	font-size: .68rem;
	letter-spacing: .1em;
}

.acd-cake-designer h2 {
	margin-bottom: 7px;
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	letter-spacing: -.025em;
}

.acd-cake-designer__intro {
	font-size: .91rem;
}

.acd-steps {
	max-width: none;
	margin-bottom: 10px;
}

.acd-steps ol {
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--acd-line);
	border-radius: 14px;
	background: #f7f5f1;
}

.acd-steps li {
	gap: 6px;
	min-height: 38px;
	padding: 6px 8px;
	border-radius: 10px;
	font-size: .76rem;
	font-weight: 700;
}

.acd-steps li span {
	flex-basis: 22px;
	width: 22px;
	height: 22px;
	font-size: .69rem;
}

.acd-steps li.is-current {
	color: var(--acd-primary-dark);
	background: #fff;
	box-shadow: 0 3px 12px rgba(52, 43, 39, .07);
}

.acd-cake-form,
.acd-result,
.acd-loading {
	border-color: var(--acd-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 42px rgba(40, 51, 45, .08);
}

.acd-cake-form {
	position: relative;
	overflow: hidden;
	padding: 24px 26px 18px;
}

.acd-cake-form::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #a83f5b, #d99aa9 55%, #e8d5b4);
	content: "";
}

.acd-step-heading {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px;
	text-align: left;
}

.acd-step-heading p {
	margin: 0;
	padding: 4px 8px;
	border-radius: 999px;
	background: #faeef1;
	font-size: .65rem;
	letter-spacing: .06em;
}

.acd-step-heading h3,
.acd-result h3 {
	font-size: clamp(1.16rem, 2.3vw, 1.42rem);
	letter-spacing: -.012em;
}

.acd-option-group {
	margin-bottom: 16px;
}

.acd-option-group legend {
	margin-bottom: 8px;
	font-size: .84rem;
}

.acd-option-grid {
	grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
	gap: 8px;
}

[data-acd-group="shape"] .acd-option-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-acd-group="tier"] .acd-option-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-acd-group="color"] .acd-option-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

[data-acd-group="decoration"] .acd-option-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acd-option-card {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 18px;
	min-height: 58px;
	align-items: center;
	justify-content: stretch;
	gap: 9px;
	padding: 9px 11px;
	border-radius: 12px;
	background: #fff;
	text-align: left;
}

.acd-option-card:hover {
	box-shadow: 0 7px 18px rgba(65, 52, 48, .07);
	transform: translateY(-1px);
}

.acd-option-card:has(input:checked) {
	background: linear-gradient(135deg, #fffafb, #fff4f6);
	box-shadow: 0 6px 18px rgba(168, 63, 91, .09);
}

.acd-option-card__visual {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	font-size: 1rem;
}

.acd-option-card__visual.is-color {
	border-radius: 50%;
}

.acd-option-card__label {
	min-width: 0;
	font-size: .82rem;
	line-height: 1.25;
}

.acd-option-card__check {
	position: static;
	width: 18px;
	height: 18px;
	font-size: .65rem;
}

.acd-input-grid--personalization {
	grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.acd-input-grid--personalization .acd-field {
	margin-bottom: 0;
}

.acd-input-grid--personalization textarea {
	min-height: 61px;
}

.acd-field,
.acd-field--size {
	margin-bottom: 14px;
}

.acd-field--size {
	width: min(190px, 100%);
}

.acd-field label {
	margin-bottom: 6px;
	font-size: .84rem;
}

.acd-field input[type="text"],
.acd-field input[type="number"],
.acd-field textarea {
	padding: 9px 11px;
	border-color: #ddd6ce;
	border-radius: 10px;
	background: #fff;
	font-size: .88rem;
}

.acd-field textarea {
	min-height: 74px;
}

.acd-summary {
	padding: 16px;
	border: 1px solid #ebe5de;
	border-radius: 14px;
	background: linear-gradient(145deg, #fffdfb, #faf7f3);
}

.acd-summary h4 {
	margin-bottom: 12px;
	color: var(--acd-primary-dark);
	font-size: 1rem;
}

.acd-summary ul {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
}

.acd-summary li {
	display: block;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #eee5df;
	border-radius: 10px;
	background: #fff;
}

.acd-summary li.is-double {
	grid-column: span 2;
}

.acd-summary li strong,
.acd-notice {
	font-size: .8rem;
}

.acd-summary li strong {
	display: block;
	margin-bottom: 3px;
	color: var(--acd-primary-dark);
	font-size: .68rem;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.acd-summary li span {
	display: block;
	color: var(--acd-ink);
	font-size: .84rem;
	font-weight: 600;
	line-height: 1.4;
}

.acd-notice {
	margin-top: 10px;
	padding: 9px 11px;
	border-left-width: 3px;
}

.acd-form-actions {
	justify-content: flex-end;
	gap: 8px;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid #eee9e3;
}

.acd-form-actions [data-acd-prev] {
	margin-right: auto;
}

.acd-button {
	min-height: 40px;
	padding: 8px 17px;
	font-size: .84rem;
}

.acd-button--primary {
	min-width: 132px;
	box-shadow: 0 8px 18px rgba(168, 63, 91, .18);
}

.acd-result {
	padding: 22px;
}

.acd-result__figure {
	width: min(560px, 100%);
}

@media (max-width: 640px) {
	.acd-cake-designer {
		width: min(100% - 14px, 860px);
		margin: 14px auto;
	}

	.acd-cake-designer__header {
		margin-bottom: 12px;
	}

	.acd-steps li {
		font-size: 0;
	}

	.acd-steps li span {
		font-size: .69rem;
	}

	.acd-cake-form,
	.acd-result {
		padding: 18px 14px 14px;
	}

	.acd-step-heading {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-bottom: 14px;
	}

	.acd-step-heading p {
		justify-self: start;
	}

	[data-acd-group="shape"] .acd-option-grid,
	[data-acd-group="tier"] .acd-option-grid,
	[data-acd-group="color"] .acd-option-grid,
	[data-acd-group="decoration"] .acd-option-grid,
	.acd-option-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.acd-option-card {
		grid-template-columns: 30px minmax(0, 1fr) 16px;
		min-height: 54px;
		gap: 7px;
		padding: 8px;
	}

	.acd-option-card__visual {
		width: 30px;
		height: 30px;
	}

	.acd-summary ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.acd-summary li.is-double {
		grid-column: auto;
	}

	.acd-input-grid--personalization {
		grid-template-columns: 1fr;
	}

	.acd-form-actions,
	.acd-result__actions {
		align-items: center;
		justify-content: flex-end;
		flex-direction: row;
	}

	.acd-button {
		width: auto;
		min-width: 0;
		padding-inline: 14px;
	}

	.acd-form-actions .acd-button--ghost {
		order: initial;
	}
}

@media (max-width: 390px) {
	[data-acd-group="shape"] .acd-option-grid,
	[data-acd-group="tier"] .acd-option-grid,
	[data-acd-group="color"] .acd-option-grid,
	[data-acd-group="decoration"] .acd-option-grid,
	.acd-option-grid {
		grid-template-columns: 1fr;
	}

	.acd-summary ul {
		grid-template-columns: 1fr;
	}
}

/* Visual cake choices and diameter guide — v0.3.9 */
[data-acd-group="shape"] .acd-option-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-acd-group="tier"] .acd-option-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

[data-acd-group="color"] .acd-option-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.acd-option-card--illustrated {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 66px auto;
	align-items: center;
	justify-items: center;
	min-height: 108px;
	gap: 5px;
	padding: 9px 12px 10px;
	border-color: #e7ddd7;
	border-radius: 14px;
	background: linear-gradient(180deg, #fff, #fffdfb);
	text-align: center;
}

.acd-option-card__visual.is-illustration {
	display: block;
	width: min(132px, 100%);
	height: 66px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.acd-option-card__visual.is-illustration img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.acd-option-card--illustrated .acd-option-card__label {
	font-size: .82rem;
	font-weight: 700;
	text-align: center;
}

.acd-option-card--illustrated .acd-option-card__check {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
}

.acd-option-card--illustrated:hover {
	border-color: #d7a7b3;
	box-shadow: 0 9px 24px rgba(105, 63, 69, .09);
}

.acd-option-card--illustrated:has(input:checked) {
	border-color: var(--acd-primary);
	background: linear-gradient(145deg, #fffafa, #fff3f5);
	box-shadow: 0 9px 24px rgba(169, 67, 91, .12);
}

.acd-size-row {
	display: grid;
	grid-template-columns: minmax(180px, 210px) minmax(0, 1fr);
	align-items: stretch;
	gap: 10px;
	margin-bottom: 10px;
}

.acd-size-row .acd-field--size {
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid #e7ddd7;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(65, 52, 48, .035);
}

.acd-input-suffix {
	position: relative;
}

.acd-input-suffix input[type="number"] {
	width: 100%;
	padding-right: 42px;
}

.acd-input-suffix > span {
	position: absolute;
	top: 50%;
	right: 12px;
	color: var(--acd-muted);
	font-size: .78rem;
	font-weight: 700;
	transform: translateY(-50%);
}

.acd-size-guide {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
	min-height: 76px;
	margin: 0;
	padding: 8px 13px;
	border: 1px solid #e9ded6;
	border-radius: 13px;
	background: linear-gradient(145deg, #fcf8f5, #fffdfb);
}

.acd-size-guide img {
	display: block;
	width: 100%;
	height: 58px;
	object-fit: contain;
}

.acd-size-guide figcaption strong,
.acd-size-guide figcaption span {
	display: block;
}

.acd-size-guide figcaption strong {
	margin-bottom: 3px;
	color: var(--acd-primary-dark);
	font-size: .8rem;
}

.acd-size-guide figcaption span {
	color: var(--acd-muted);
	font-size: .74rem;
	line-height: 1.45;
}

@media (max-width: 640px) {
	[data-acd-group="shape"] .acd-option-grid,
	[data-acd-group="tier"] .acd-option-grid,
	[data-acd-group="color"] .acd-option-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.acd-option-card--illustrated {
		grid-template-columns: 1fr;
		grid-template-rows: 60px auto;
		min-height: 100px;
	}

	.acd-option-card__visual.is-illustration {
		width: min(112px, 100%);
		height: 60px;
	}

	.acd-size-row {
		grid-template-columns: 1fr;
		align-items: stretch;
		gap: 9px;
	}

	.acd-size-row .acd-field--size {
		width: 100%;
	}

	.acd-size-guide {
		grid-template-columns: 82px minmax(0, 1fr);
		min-height: 72px;
		padding: 7px 10px;
	}

	.acd-size-guide img {
		height: 54px;
	}
}

@media (max-width: 390px) {
	[data-acd-group="shape"] .acd-option-grid,
	[data-acd-group="tier"] .acd-option-grid,
	[data-acd-group="color"] .acd-option-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.acd-size-guide {
		grid-template-columns: 74px minmax(0, 1fr);
	}
}
