/**
 * CaseCreator — Start Designing (Brand → Model → Product) page.
 */

body:not(.home) .site-main.cc-start-design {
	min-height: 0;
	padding-block: 0;
}

.cc-start-design .cc-sd {
	padding-block: clamp(36px, 5vw, 60px);
}

.cc-sd__header {
	max-width: 640px;
	margin: 0 auto 40px;
	text-align: center;
}

.cc-sd__header h1 {
	margin: 10px 0 14px;
}

.cc-sd__subhead {
	color: var(--cc-muted);
	font-size: 15px;
	margin: 0;
}

/* Step indicator */
.cc-sd-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	list-style: none;
	margin: 0 auto 32px;
	padding: 0;
	max-width: 480px;
}

.cc-sd-steps__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	cursor: default;
	color: var(--cc-mid-grey);
}

.cc-sd-steps__item::before {
	content: "";
	position: absolute;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--cc-light-grey);
	z-index: 0;
}

.cc-sd-steps__item:first-child::before {
	display: none;
}

.cc-sd-steps__num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: var(--cc-white);
	border: 2px solid var(--cc-light-grey);
	font-weight: 800;
	font-size: 13px;
	color: var(--cc-mid-grey);
	transition: var(--cc-transition);
}

.cc-sd-steps__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}

.cc-sd-steps__item.is-active,
.cc-sd-steps__item.is-complete {
	color: var(--cc-primary);
	cursor: pointer;
}

.cc-sd-steps__item.is-active .cc-sd-steps__num {
	border-color: var(--cc-accent);
	background: var(--cc-accent);
	color: var(--cc-primary);
	box-shadow: var(--cc-shadow-blue);
}

.cc-sd-steps__item.is-complete .cc-sd-steps__num {
	border-color: var(--cc-primary);
	background: var(--cc-primary);
	color: var(--cc-white);
}

.cc-sd-steps__item.is-complete::before,
.cc-sd-steps__item.is-active::before {
	background: var(--cc-primary);
}

/* Search bar */
.cc-sd-search {
	position: relative;
	max-width: 420px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
}

.cc-sd-search svg {
	position: absolute;
	left: 16px;
	color: var(--cc-mid-grey);
	pointer-events: none;
}

.cc-sd-search input[type="search"] {
	width: 100%;
	padding: 13px 40px 13px 44px;
	border: 1.5px solid var(--cc-light-grey);
	border-radius: 999px;
	background: var(--cc-white);
	font-size: 14px;
	font-family: inherit;
	color: var(--cc-text);
	transition: var(--cc-transition);
}

.cc-sd-search input[type="search"]:focus {
	outline: none;
	border-color: var(--cc-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--cc-accent) 25%, transparent);
}

.cc-sd-search input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.cc-sd-search__clear {
	position: absolute;
	right: 12px;
	width: 22px;
	height: 22px;
	border: none;
	border-radius: 999px;
	background: var(--cc-light-grey);
	color: var(--cc-primary);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

/* Universal search dropdown */
.cc-sd-search__results {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 30;
	max-height: 420px;
	overflow-y: auto;
	background: var(--cc-white);
	border: 1px solid var(--cc-light-grey);
	border-radius: var(--cc-radius-lg);
	box-shadow: var(--cc-shadow-lg);
	padding: 10px;
	text-align: left;
}

.cc-sd-search__results[hidden] {
	display: none;
}

.cc-sd-search__group + .cc-sd-search__group {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--cc-light-grey);
}

.cc-sd-search__label {
	margin: 0 0 4px;
	padding: 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cc-mid-grey);
}

.cc-sd-search__row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 9px 8px;
	border: none;
	border-radius: var(--cc-radius-md);
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--cc-text);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}

.cc-sd-search__row:hover,
.cc-sd-search__row:focus-visible {
	background: var(--cc-surface);
}

.cc-sd-search__row small {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--cc-muted);
}

.cc-sd-search__row--product img {
	width: 36px;
	height: 36px;
	border-radius: var(--cc-radius-sm);
	object-fit: cover;
	flex-shrink: 0;
}

.cc-sd-search__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: linear-gradient(155deg, var(--cc-gradient-from), var(--cc-gradient-mid));
}

.cc-sd-search__icon--model {
	background: linear-gradient(155deg, var(--cc-gradient-mid), var(--cc-gradient-to));
}

.cc-sd-search__empty {
	margin: 0;
	padding: 20px 8px;
	text-align: center;
	color: var(--cc-muted);
	font-size: 13px;
	font-weight: 600;
}

/* Breadcrumb */
.cc-sd-breadcrumb {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 28px;
	font-size: 13px;
	font-weight: 700;
	color: var(--cc-muted);
}

.cc-sd-breadcrumb[hidden] {
	display: none;
}

.cc-sd-breadcrumb button {
	background: none;
	border: none;
	padding: 0;
	color: var(--cc-primary);
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cc-sd-breadcrumb [aria-current="step"] {
	color: var(--cc-muted);
}

/* Back link */
.cc-sd-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 22px;
	background: none;
	border: none;
	padding: 0;
	color: var(--cc-primary);
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}

.cc-sd-back:hover {
	color: var(--cc-accent-alt);
}

/* Card grids (brand + model share the same visual language) */
.cc-sd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
	animation: cc-sd-fade-in .3s ease;
}

.cc-sd-grid[hidden] {
	display: none;
}

.cc-sd-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 26px 16px 20px;
	border: 1px solid var(--cc-light-grey);
	border-radius: var(--cc-radius-lg);
	background: var(--cc-white);
	text-align: center;
	cursor: pointer;
	font-family: inherit;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cc-sd-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cc-shadow-md);
	border-color: var(--cc-accent);
}

.cc-sd-card strong {
	font-family: var(--cc-font-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--cc-text);
}

.cc-sd-card small {
	color: var(--cc-muted);
	font-size: 11px;
	font-weight: 700;
}

.cc-sd-card__icon,
.cc-sd-card__phone {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(155deg, var(--cc-gradient-from), var(--cc-gradient-mid));
	opacity: .9;
}

.cc-sd-card__phone {
	width: 40px;
	height: 74px;
	border-radius: 12px;
	background: linear-gradient(155deg, #fbfcff, #e9edfa);
	box-shadow: inset 0 0 0 1.5px rgba(27, 28, 68, .08);
}

.cc-sd-noresults,
.cc-sd-empty {
	text-align: center;
	color: var(--cc-muted);
	padding: 40px 0;
}

/* Product step */
.cc-sd-products__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 60px 0;
	color: var(--cc-muted);
	font-weight: 700;
	font-size: 13px;
}

.cc-sd-products__loading[hidden] {
	display: none;
}

.cc-sd-spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid var(--cc-light-grey);
	border-top-color: var(--cc-primary);
	border-radius: 999px;
	animation: cc-sd-spin .7s linear infinite;
}

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

.cc-sd-products__more {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.cc-sd-products__more[hidden] {
	display: none;
}

/* Step transitions */
.cc-sd-step {
	animation: cc-sd-fade-in .35s ease;
}

@keyframes cc-sd-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.cc-sd-steps {
		max-width: 320px;
	}

	.cc-sd-grid {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 12px;
	}

	.cc-sd-card {
		padding: 20px 10px 16px;
	}
}

/* Professional workspace refresh */
.cc-start-design {
	background:
		radial-gradient(circle at 8% 4%, rgba(125, 211, 252, .2), transparent 28rem),
		radial-gradient(circle at 92% 16%, rgba(196, 181, 253, .18), transparent 26rem),
		linear-gradient(180deg, #fbfcff 0%, #f6f8fc 100%);
}

.cc-start-design .cc-sd {
	padding-block: clamp(56px, 7vw, 92px);
}

.cc-sd__header {
	max-width: 760px;
	margin-bottom: 36px;
}

.cc-sd__header h1 {
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.02;
	letter-spacing: -.04em;
}

.cc-sd__subhead {
	max-width: 600px;
	margin-inline: auto;
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.7;
}

.cc-sd__assurances {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin-top: 22px;
	font-size: 12px;
	font-weight: 750;
	color: var(--cc-muted);
}

.cc-sd__assurances span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.cc-sd__assurances span::before {
	content: "✓";
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(20, 184, 166, .12);
	color: #0f8b7e;
	font-size: 11px;
	font-weight: 900;
}

.cc-sd__workspace {
	position: relative;
	max-width: 1120px;
	margin-inline: auto;
	padding: clamp(22px, 4vw, 44px);
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(221, 226, 237, .9);
	border-radius: 28px;
	box-shadow: 0 28px 80px rgba(31, 40, 78, .1), 0 2px 8px rgba(31, 40, 78, .04);
	backdrop-filter: blur(12px);
}

.cc-sd-steps {
	max-width: 570px;
	margin-bottom: 30px;
}

.cc-sd-steps__num {
	width: 38px;
	height: 38px;
	font-size: 13px;
	box-shadow: 0 0 0 6px #fff;
}

.cc-sd-steps__item::before {
	top: 18px;
	height: 3px;
	border-radius: 999px;
}

.cc-sd-steps__label {
	font-size: 13px;
}

.cc-sd-steps__item.is-complete .cc-sd-steps__num {
	font-size: 0;
}

.cc-sd-steps__item.is-complete .cc-sd-steps__num::after {
	content: "✓";
	font-size: 14px;
}

.cc-sd-search {
	max-width: 620px;
	margin-bottom: 18px;
}

.cc-sd-search input[type="search"] {
	min-height: 56px;
	padding-inline: 50px 46px;
	border-color: #dfe4ee;
	border-radius: 16px;
	background: #fbfcfe;
	box-shadow: inset 0 1px 2px rgba(31, 40, 78, .03);
	font-size: 15px;
}

.cc-sd-search input[type="search"]:hover {
	border-color: #c8d0df;
	background: #fff;
}

.cc-sd-search input[type="search"]:focus {
	background: #fff;
	box-shadow: 0 0 0 4px rgba(68, 194, 190, .14), 0 10px 28px rgba(31, 40, 78, .08);
}

.cc-sd-search__results {
	top: calc(100% + 8px);
	border-radius: 16px;
	box-shadow: 0 22px 60px rgba(24, 31, 61, .18);
	animation: cc-sd-menu-in .18s ease-out;
}

@keyframes cc-sd-menu-in {
	from { opacity: 0; transform: translateY(-6px) scale(.99); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.cc-sd-breadcrumb {
	min-height: 20px;
	margin-bottom: 12px;
}

.cc-sd__content {
	min-height: 330px;
	padding-top: 10px;
}

.cc-sd-step__header {
	max-width: 660px;
	margin: 0 auto 28px;
	text-align: center;
}

.cc-sd-step__header p {
	margin: 0 0 7px;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cc-accent-alt);
}

.cc-sd-step__header h2 {
	margin: 0 0 8px;
	font-family: var(--cc-font-display);
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.15;
	letter-spacing: -.025em;
	color: var(--cc-text);
}

.cc-sd-step__header > span {
	display: block;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cc-muted);
}

.cc-sd-step__header strong {
	color: var(--cc-primary);
}

.cc-sd-back {
	margin: 0 0 -24px;
	padding: 9px 12px;
	border: 1px solid #e2e6ef;
	border-radius: 10px;
	background: #fff;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cc-sd-back:hover {
	transform: translateX(-2px);
	border-color: #c9d1df;
	background: #f8fafc;
}

.cc-sd-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px;
}

/* Brand grid stays spacious; models fit four cards across on desktop. */
.cc-sd-grid--brand {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-sd-grid--model {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Real taxonomy feature image (falls back to the CSS icon/phone mockup when unset) */
.cc-sd-card--has-image {
	min-height: 0;
	justify-content: flex-start;
	padding-top: 22px;
}

.cc-sd-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 6px;
}

.cc-sd-card__image img {
	height: 180px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 12px;
}

/* Logos should support the brand label, not dominate its card. */
.cc-sd-card--brand .cc-sd-card__image img {
	height: 110px;
}

.cc-sd-card {
	position: relative;
	min-height: 190px;
	justify-content: center;
	padding: 26px 18px 22px;
	border-color: #e0e5ee;
	border-radius: 18px;
	box-shadow: 0 5px 18px rgba(31, 40, 78, .035);
	overflow: hidden;
	transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .2s ease;
}

.cc-sd-card::after {
	content: "→";
	position: absolute;
	top: 14px;
	right: 15px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f2f5f9;
	color: var(--cc-primary);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.cc-sd-card:hover,
.cc-sd-card:focus-visible {
	transform: translateY(-5px);
	border-color: rgba(68, 194, 190, .7);
	box-shadow: 0 18px 38px rgba(31, 40, 78, .11);
}

.cc-sd-card:hover::after,
.cc-sd-card:focus-visible::after {
	opacity: 1;
	transform: translateX(0);
	background: rgba(68, 194, 190, .14);
}

.cc-sd-card:focus-visible,
.cc-sd-back:focus-visible,
.cc-sd-steps__item:focus-visible {
	outline: 3px solid rgba(68, 194, 190, .28);
	outline-offset: 3px;
}

.cc-sd-card strong {
	font-size: 18px;
}

.cc-sd-card small {
	font-size: 12px;
}

.cc-sd-card__availability {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(20, 184, 166, .1);
	color: #0d8277 !important;
}

.cc-sd-card__availability::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #14a899;
}

.cc-sd-card__availability.is-empty {
	background: #f1f3f6;
	color: #8b93a2 !important;
}

.cc-sd-card__availability.is-empty::before {
	background: #aeb5c0;
}

.cc-sd-card__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	box-shadow: 0 12px 24px rgba(92, 130, 216, .2);
	color: #fff;
	font-family: var(--cc-font-display);
	font-size: 25px;
	font-weight: 750;
}

.cc-sd-card__phone {
	position: relative;
	display: block;
	width: 48px;
	height: 84px;
	border: 2px solid #cfd6e3;
	border-radius: 14px;
	background: linear-gradient(145deg, #fff, #e9eef6);
	box-shadow: 0 14px 25px rgba(30, 40, 74, .13), inset 0 0 0 3px #f8fafc;
}

.cc-sd-card__phone::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 50%;
	width: 16px;
	height: 4px;
	border-radius: 5px;
	background: #c9d1dd;
	transform: translateX(-50%);
}

.cc-sd-card__phone i {
	position: absolute;
	top: 14px;
	left: 7px;
	width: 7px;
	height: 7px;
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 50%;
	background: #8794a8;
	box-shadow: 0 1px 2px rgba(31,40,78,.2);
}

.cc-sd-card__phone i:nth-child(2) { left: 17px; }
.cc-sd-card__phone i:nth-child(3) { top: 24px; }

.cc-sd-products__loading {
	min-height: 220px;
	border: 1px dashed #dce2eb;
	border-radius: 18px;
	background: linear-gradient(135deg, #fbfcfe, #f6f8fb);
}

.cc-sd-products__grid > ul.products {
	margin: 0;
}

/* Dedicated compatible-case grid */
.cc-sd-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
	justify-content: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-sd-product-card {
	min-width: 0;
}

.cc-sd-product-card > a {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e0e5ee;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(31, 40, 78, .055);
	color: inherit;
	text-decoration: none;
	transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .28s ease;
}

.cc-sd-product-card > a:hover,
.cc-sd-product-card > a:focus-visible {
	transform: translateY(-7px);
	border-color: rgba(68, 194, 190, .75);
	box-shadow: 0 22px 45px rgba(31, 40, 78, .13);
}

.cc-sd-product-card > a:focus-visible {
	outline: 3px solid rgba(68, 194, 190, .25);
	outline-offset: 3px;
}

.cc-sd-product-card__media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 290px;
	padding: 22px;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 18%, rgba(255,255,255,.95), transparent 38%),
		linear-gradient(150deg, #f7f9fc, #edf1f6);
}

.cc-sd-product-card__media::after {
	content: "";
	position: absolute;
	inset: auto 18% 7% 18%;
	height: 18px;
	border-radius: 50%;
	background: rgba(36, 45, 76, .11);
	filter: blur(10px);
	transition: transform .3s ease, opacity .3s ease;
}

.cc-sd-product-card__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 250px;
	margin: 0;
	object-fit: contain;
	filter: drop-shadow(0 15px 16px rgba(36,45,76,.13));
	transition: transform .38s cubic-bezier(.2,.8,.2,1);
}

.cc-sd-product-card > a:hover .cc-sd-product-card__media img {
	transform: scale(1.055) translateY(-3px);
}

.cc-sd-product-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--cc-primary);
	box-shadow: 0 5px 14px rgba(31,40,78,.18);
	color: #fff;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.cc-sd-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 18px 17px;
}

.cc-sd-product-card__type {
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cc-accent-alt);
}

.cc-sd-product-card h3 {
	margin: 0;
	font-family: var(--cc-font-display);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.35;
	color: var(--cc-text);
}

.cc-sd-product-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
}

.cc-sd-product-card__price {
	font-size: 14px;
	font-weight: 850;
	color: var(--cc-primary);
}

.cc-sd-product-card__price ins {
	text-decoration: none;
}

.cc-sd-product-card__price del {
	display: block;
	font-size: 10px;
	font-weight: 650;
	color: var(--cc-muted);
}

.cc-sd-product-card__action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--cc-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
	transition: background .2s ease;
}

.cc-sd-product-card__action i {
	font-style: normal;
	transition: transform .2s ease;
}

.cc-sd-product-card > a:hover .cc-sd-product-card__action {
	background: var(--cc-accent-alt);
}

.cc-sd-product-card > a:hover .cc-sd-product-card__action i {
	transform: translateX(3px);
}

.cc-sd-noresults,
.cc-sd-error,
.cc-sd-empty {
	max-width: 560px;
	margin: 20px auto;
	padding: 34px;
	border: 1px dashed #d9e0ea;
	border-radius: 16px;
	background: #fafbfd;
	text-align: center;
	color: var(--cc-muted);
}

.cc-sd-error {
	border-color: #f1c9c9;
	background: #fff8f8;
	color: #9f3434;
}

.cc-sd-error button {
	display: block;
	margin: 14px auto 0;
	padding: 9px 16px;
	border: 0;
	border-radius: 9px;
	background: #9f3434;
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.cc-sd-step.is-entering {
	animation: cc-sd-panel-in .38s cubic-bezier(.2,.8,.2,1);
}

@keyframes cc-sd-panel-in {
	from { opacity: 0; transform: translateY(12px) scale(.995); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
	.cc-start-design .cc-sd { padding-block: 42px; }
	.cc-sd__workspace { padding: 24px 18px; border-radius: 22px; }
	.cc-sd__assurances { gap: 8px 14px; }
	.cc-sd-back { margin-bottom: 18px; }
	.cc-sd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cc-sd-card { min-height: 170px; padding-inline: 12px; }
	.cc-sd-card__image img { height: 260px; }
	.cc-sd-card--brand .cc-sd-card__image img { height: 90px; }
	.cc-sd-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.cc-sd-product-card__media { min-height: 250px; }
	.cc-sd-product-card__media img { height: 210px; }
}

@media (max-width: 480px) {
	.cc-sd__header h1 { font-size: 38px; }
	.cc-sd__assurances { align-items: flex-start; flex-direction: column; width: max-content; margin-inline: auto; }
	.cc-sd__workspace { margin-inline: -5px; padding: 22px 14px; border-radius: 18px; }
	.cc-sd-steps__num { width: 34px; height: 34px; box-shadow: 0 0 0 4px #fff; }
	.cc-sd-steps__item::before { top: 16px; }
	.cc-sd-search input[type="search"] { min-height: 52px; font-size: 14px; }
	.cc-sd-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cc-sd-card { min-height: 156px; padding: 20px 9px 16px; }
	.cc-sd-card strong { font-size: 15px; }
	.cc-sd-card__icon { width: 54px; height: 54px; }
	.cc-sd-card__image img { height: 180px; }
	.cc-sd-card--brand .cc-sd-card__image img { height: 80px; }
	.cc-sd-product-grid { grid-template-columns: 1fr; }
	.cc-sd-product-card__media { min-height: 270px; }
	.cc-sd-product-card__media img { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
	.cc-sd-step,
	.cc-sd-step.is-entering,
	.cc-sd-search__results,
	.cc-sd-spinner {
		animation: none;
	}

	.cc-sd-card,
	.cc-sd-back {
		transition: none;
	}
}
