.sd-warranty-account {
	display: grid;
	gap: 22px;
}

.sd-warranty-notice {
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 0.78rem;
	line-height: 1.55;
}

.sd-warranty-notice--success {
	border: 1px solid #c6e1c6;
	background: #f2faf2;
	color: #2c4700;
}

.sd-warranty-notice--error {
	border: 1px solid rgba(190, 46, 46, 0.25);
	background: #fff8f8;
	color: #982828;
}

.sd-warranty-section {
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid rgba(35, 35, 35, 0.09);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 15px 42px rgba(30, 30, 30, 0.045);
}

.sd-warranty-section-heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.sd-warranty-section-heading h2 {
	margin: 0 0 6px;
	font-size: 1.25rem;
}

.sd-warranty-section-heading p {
	max-width: 650px;
	margin: 0;
	color: var(--sd-muted);
	font-size: 0.78rem;
	line-height: 1.6;
}

.sd-warranty-section-heading > span {
	display: grid;
	min-width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: #fff5dc;
	color: #8a6200;
	font-size: 0.72rem;
	font-weight: 750;
}

.sd-warranty-list {
	display: grid;
	gap: 12px;
}

.sd-warranty-device {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 18px;
	border: 1px solid rgba(35, 35, 35, 0.09);
	border-radius: 10px;
	background: #fbfbfa;
}

.sd-warranty-device-image {
	display: grid;
	width: 110px;
	height: 90px;
	place-items: center;
	border-radius: 8px;
	background: #fff;
}

.sd-warranty-device-image img {
	max-width: 100px;
	max-height: 80px;
	object-fit: contain;
}

.sd-warranty-status {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #c6e1c6;
	color: #2c4700;
	font-size: 0.64rem;
	font-weight: 750;
}

.sd-warranty-device h3 {
	margin: 0 0 14px;
	font-size: 1rem;
}

.sd-warranty-device h3 a {
	color: var(--sd-ink);
}

.sd-warranty-device dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
	margin: 0;
}

.sd-warranty-device dl div {
	display: grid;
	grid-template-columns: 115px minmax(0, 1fr);
	gap: 8px;
}

.sd-warranty-device dt,
.sd-warranty-device dd {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.45;
}

.sd-warranty-device dt { color: var(--sd-muted); }
.sd-warranty-device dd { color: var(--sd-ink); font-weight: 650; }

.sd-warranty-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 17px;
	align-items: end;
}

.sd-warranty-field--wide { grid-column: 1 / -1; }

.sd-warranty-field label,
.sd-warranty-field small {
	display: block;
}

.sd-warranty-field label {
	margin-bottom: 7px;
	font-size: 0.74rem;
	font-weight: 650;
}

.sd-warranty-field label span { color: #b51f1f; }

.sd-warranty-field input,
.sd-warranty-field textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid rgba(35, 35, 35, 0.14);
	border-radius: 7px;
	background: #fff;
	color: var(--sd-ink);
	font: inherit;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sd-warranty-field textarea { resize: vertical; }

.sd-warranty-field input:hover,
.sd-warranty-field textarea:hover { border-color: rgba(255, 185, 21, 0.72); }

.sd-warranty-field input:focus,
.sd-warranty-field textarea:focus {
	border-color: var(--sd-yellow);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 185, 21, 0.13);
}

.sd-warranty-field small {
	margin-top: 6px;
	color: var(--sd-muted);
	font-size: 0.66rem;
}

.sd-warranty-lookup:not(:empty) {
	margin-top: 10px;
	padding: 11px 13px;
	border-radius: 7px;
	background: #f5f5f3;
	font-size: 0.72rem;
	line-height: 1.5;
}

.sd-warranty-lookup.is-valid {
	border: 1px solid #c6e1c6;
	background: #f2faf2;
	color: #2c4700;
}

.sd-warranty-lookup.is-invalid {
	border: 1px solid rgba(190, 46, 46, 0.22);
	background: #fff8f8;
	color: #982828;
}

.sd-warranty-lookup strong {
	display: block;
	margin-bottom: 2px;
}

.woocommerce-account .sd-warranty-submit {
	min-height: 50px;
	padding: 12px 20px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: var(--sd-yellow) !important;
	color: var(--sd-ink) !important;
}

@media (max-width: 760px) {
	.sd-warranty-device { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.sd-warranty-device-image { width: 82px; height: 72px; }
	.sd-warranty-device-image img { max-width: 75px; max-height: 66px; }
	.sd-warranty-device dl { grid-template-columns: 1fr; }
	.sd-warranty-form { grid-template-columns: 1fr; }
	.sd-warranty-field--wide { grid-column: 1; }
}

@media (max-width: 480px) {
	.sd-warranty-device { grid-template-columns: 1fr; }
	.sd-warranty-device dl div { grid-template-columns: 1fr; gap: 2px; }
}
