/* 실측 케이스 공용 스타일
   모든 케이스가 같은 화면을 쓰고, 케이스마다 한 종류의 결함만 넣는다(02는 세 곳, 06은 세 요소).
   대비는 기준 페이지에서 전부 4.5:1 이상이다(케이스 02만 일부러 깬다). */

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
	background: #ffffff;
	color: #1f2937;            /* 흰 배경 대비 14.7:1 */
	line-height: 1.6;
}

a { color: #1d4ed8; }        /* 6.7:1 */
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 10;
	padding: 8px 14px;
	background: #ffffff;
	color: #1d4ed8;
	border: 2px solid #1d4ed8;
	border-radius: 6px;
	font-weight: 700;
}
.skip-link:focus { left: 12px; }

.case-note {
	display: block;
	margin: 0;
	padding: 12px 20px;
	background: #fef3c7;
	color: #78350f;            /* 7.9:1 */
	font-size: 14px;
	border-bottom: 1px solid #fcd34d;
}
.case-note strong { font-weight: 700; }

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 20px;
	border-bottom: 1px solid #e5e7eb;
}
.site-header .logo { font-weight: 800; font-size: 18px; color: #111827; text-decoration: none; }
.site-header nav ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

main { max-width: 720px; margin: 0 auto; padding: 24px 20px 48px; }
h1 { font-size: 24px; margin: 0 0 16px; }

.search { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 24px; }
.search label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.search input {
	width: min(260px, 100%);
	padding: 8px 10px;
	font: inherit;
	border: 1px solid #6b7280;  /* 입력칸 테두리 4.8:1 */
	border-radius: 6px;
}

.card {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 20px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}
.card img { display: block; width: 160px; height: 160px; border-radius: 8px; background: #eff6ff; }
.card h2 { font-size: 20px; margin: 0 0 4px; }
.price { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: #111827; }
.desc { margin: 0 0 16px; color: #374151; }   /* 10.3:1 */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 18px;
	font: inherit;
	font-weight: 700;
	color: #ffffff;
	background: #1d4ed8;       /* 흰 글씨 6.7:1 */
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
.btn-ghost { color: #1d4ed8; background: #ffffff; border: 1px solid #1d4ed8; }
.btn svg { width: 20px; height: 20px; }

.status { min-height: 1.6em; margin: 12px 0 0; font-weight: 600; color: #065f46; }  /* 7.8:1 */

@media (max-width: 520px) {
	.card { grid-template-columns: 1fr; }
}
