/* ★★★ 색상 변경 가이드 ★★★
 * 아래 :root 안의 색상 코드만 변경하면 전체 사이트 색상이 바뀝니다.
 * 예: 초록 → 파랑으로 바꾸려면 #2E7D32 → #1565C0
 *
 * --primary-xxx: 메인 브랜드 색상 (초록 계열)
 * --accent-xxx: 강조 색상 (주황 계열, CTA 버튼 등)
 * --grey-xxx: 텍스트/배경 그레이 계열
 */

/* ===== CSS 변수 (디자인 토큰) ===== */
:root {
  /* 그레이 스케일 */
  --grey-050: #F7FAFC;
  --grey-100: #EDF2F7;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E0;
  --grey-400: #A0AEC0;
  --grey-500: #718096;
  --grey-600: #4A5568;
  --grey-700: #2D3748;
  --grey-800: #1A202C;
  --grey-900: #171923;

  /* 메인 색상: 메디컬 그린 (잇몸 건강/허브 이미지) */
  --primary-050: #E8F5E9;
  --primary-100: #C8E6C9;
  --primary-200: #A5D6A7;
  --primary-300: #81C784;
  --primary-400: #66BB6A;
  --primary-500: #4CAF50;
  --primary-600: #43A047;
  --primary-700: #388E3C;
  --primary-800: #2E7D32;
  --primary-900: #1B5E20;

  /* 강조 색상: 웜 앰버 (CTA 버튼) */
  --accent-500: #FF6F00;
  --accent-600: #E65100;

  /* 배경 */
  --background: #FFFFFF;
  --background-secondary: #F5F5F0;
  --background-tertiary: #E8F5E9;
  --foreground: #1A202C;

  /* 모서리 둥글기 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* 그림자 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 10px 25px -5px rgba(46, 125, 50, 0.3);

  /* 전환 속도 */
  --transition-fast: 150ms;
  --transition-normal: 200ms;
  --transition-slow: 300ms;
}

/* ===== 리셋 및 기본 스타일 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== 공통 레이아웃 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background-color: var(--background-secondary);
}

.section--green {
  background-color: var(--background-tertiary);
}

/* 섹션 타이틀 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--grey-800);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--grey-500);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 스크롤 애니메이션 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 헤더 / 네비게이션 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color var(--transition-slow) ease, box-shadow var(--transition-slow) ease;
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__logo-icon {
  font-size: 1.5rem;
}

/* 데스크탑 네비 */
.nav-desktop {
  display: none;
}

.nav-desktop__list {
  display: flex;
  gap: 24px;
}

.nav-desktop__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color var(--transition-fast) ease;
  padding: 6px 0;
}

.nav-desktop__link:hover {
  color: var(--primary-700);
}

.nav-desktop__cta {
  display: inline-block;
  background-color: var(--primary-700);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.nav-desktop__cta:hover {
  background-color: var(--primary-800);
  box-shadow: var(--shadow-primary);
}

/* 햄버거 버튼 */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 110;
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background-color: var(--grey-700);
  border-radius: 2px;
  transition: transform var(--transition-slow) ease, opacity var(--transition-slow) ease;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 모바일 드로어 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-slow) ease;
  z-index: 105;
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-700);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast) ease, color var(--transition-fast) ease;
}

.mobile-menu__link:hover {
  background-color: var(--primary-050);
  color: var(--primary-800);
}

.mobile-menu__cta {
  display: block;
  text-align: center;
  background-color: var(--primary-700);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  transition: background-color var(--transition-fast) ease;
}

.mobile-menu__cta:hover {
  background-color: var(--primary-800);
}

/* 오버레이 */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 104;
}

.overlay--visible {
  display: block;
}

/* ===== 히어로 섹션 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 반투명 흰색 그래디언트 오버레이 */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 40%,
    rgba(255, 255, 255, 0.6) 70%,
    rgba(255, 255, 255, 0.3) 100%
  );
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
  width: 100%;
}

.hero__text {
  text-align: center;
  max-width: 560px;
}

.hero__badge {
  display: inline-block;
  background-color: var(--primary-050);
  color: var(--primary-800);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--primary-200);
}

.hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--grey-900);
  line-height: 1.3;
  margin-bottom: 16px;
  white-space: pre-line;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-500);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: background-color var(--transition-fast) ease, transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
  gap: 8px;
}

.btn-primary:hover {
  background-color: var(--accent-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--primary-800);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--primary-300);
  transition: background-color var(--transition-fast) ease, border-color var(--transition-fast) ease;
  gap: 6px;
}

.btn-secondary:hover {
  background-color: var(--primary-050);
  border-color: var(--primary-500);
}

.hero__image {
  max-width: 300px;
  width: 100%;
}

.hero__image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ===== 증상 섹션 ===== */
.symptoms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.symptom-card {
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.symptom-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.symptom-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-050);
  border-radius: var(--radius-md);
}

.symptom-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 4px;
}

.symptom-card__desc {
  font-size: 0.875rem;
  color: var(--grey-500);
}

.symptoms__warning {
  background-color: #FFF3E0;
  border: 1px solid #FFE0B2;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.symptoms__warning-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.symptoms__warning-text {
  font-size: 0.9rem;
  color: var(--grey-700);
  line-height: 1.6;
}

/* ===== 메커니즘 섹션 ===== */
.mechanism__flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* 모바일: 세로 타임라인 */
.mechanism__line {
  display: block;
  position: absolute;
  left: 28px;
  top: 48px;
  bottom: 48px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-300), var(--primary-600));
  border-radius: 2px;
}

.mechanism-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.mechanism-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: var(--shadow-primary);
}

.mechanism-step__content {
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  flex: 1;
  transition: box-shadow var(--transition-fast) ease;
}

.mechanism-step__content:hover {
  box-shadow: var(--shadow-md);
}

.mechanism-step__icon {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.mechanism-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 8px;
}

.mechanism-step__desc {
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.6;
}

/* 데스크탑: 화살표 구분자 (JS로는 안 씀, CSS로 처리) */
.mechanism__arrow {
  display: none;
}

/* ===== 성분 섹션 ===== */
.ingredients__summary {
  text-align: center;
  font-size: 1rem;
  color: var(--grey-600);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px;
  background-color: var(--primary-050);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-100);
}

.ingredients__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ingredient-card {
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.ingredient-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.ingredient-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.ingredient-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) ease;
}

.ingredient-card:hover .ingredient-card__image img {
  transform: scale(1.05);
}

.ingredient-card__body {
  padding: 24px;
}

.ingredient-card__icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.ingredient-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 4px;
}

.ingredient-card__subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-700);
  margin-bottom: 12px;
}

.ingredient-card__desc {
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ===== 제형 섹션 ===== */
.formulation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.formulation-card {
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition-fast) ease;
}

.formulation-card:hover {
  box-shadow: var(--shadow-md);
}

.formulation-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.formulation-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 12px;
}

.formulation-card__desc {
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.7;
}

/* ===== 추천 대상 섹션 ===== */
.target__list {
  max-width: 600px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.target__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.target__item:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}

.target__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: var(--primary-100);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.target__item-text {
  font-size: 0.95rem;
  color: var(--grey-700);
  font-weight: 500;
}

.target__note {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 20px;
  background-color: var(--primary-050);
  border-left: 4px solid var(--primary-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* ===== 사용법 섹션 ===== */
.usage__frequency {
  text-align: center;
  margin-bottom: 36px;
}

.usage__frequency-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-primary);
}

.usage__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.usage-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.usage-step__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--primary-100);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.usage-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 4px;
}

.usage-step__desc {
  font-size: 0.875rem;
  color: var(--grey-500);
  line-height: 1.6;
}

.usage__tip {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 24px;
  background-color: #E3F2FD;
  border: 1px solid #BBDEFB;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.usage__tip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.usage__tip-text {
  font-size: 0.9rem;
  color: var(--grey-700);
  line-height: 1.6;
}

/* ===== 비교 테이블 섹션 ===== */
.comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
}

.comparison-table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead th {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--grey-200);
}

.comparison-table thead th:first-child {
  background-color: var(--grey-050);
  color: var(--grey-600);
}

.comparison-table thead th:nth-child(2) {
  background-color: var(--grey-050);
  color: var(--grey-700);
}

/* 아세스 열 강조 (연한 초록 배경) */
.comparison-table thead th:nth-child(3) {
  background-color: var(--primary-100);
  color: var(--primary-900);
}

.comparison-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--grey-700);
  background-color: var(--grey-050);
}

.comparison-table tbody td:nth-child(2) {
  color: var(--grey-500);
}

/* 아세스 열 강조 (연한 초록 배경) */
.comparison-table tbody td:nth-child(3) {
  background-color: var(--primary-050);
  color: var(--primary-800);
  font-weight: 600;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== 안전성 섹션 ===== */
.safety__list {
  max-width: 700px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safety__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
}

.safety__item-icon {
  flex-shrink: 0;
  color: var(--accent-500);
  font-size: 1rem;
  margin-top: 3px;
}

.safety__item-text {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.6;
}

.safety__disclaimer {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 24px;
  background-color: var(--grey-050);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  text-align: center;
}

.safety__disclaimer-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.safety__disclaimer-text {
  font-size: 0.85rem;
  color: var(--grey-500);
  line-height: 1.6;
}

/* ===== 상품 보기 섹션 (Product Showcase) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  display: block;
  background-color: #FFFFFF;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease, border-color var(--transition-fast) ease;
}

/* 카드 호버 효과 개선 */
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--grey-050);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform var(--transition-slow) ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

/* 상품 배지 (인기/BEST) */
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  z-index: 1;
}

.product-card-body {
  padding: 16px;
  text-align: center;
}

.product-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 4px;
  line-height: 1.4;
}

/* 상품 한줄 설명 */
.product-card-subtitle {
  font-size: 11px;
  color: var(--grey-400);
  text-align: center;
  margin: 0;
}

/* 상품 가격 */
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-700);
  text-align: center;
  margin: 4px 0 8px;
}

.product-card-btn {
  display: inline-block;
  background-color: var(--primary-700);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.product-card:hover .product-card-btn {
  background-color: var(--primary-800);
  box-shadow: var(--shadow-primary);
}

/* ===== 가격 안내 섹션 (Price Table) ===== */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.price-table-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table thead th.price-table__group-header {
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background-color: var(--primary-700);
  color: #FFFFFF;
  border-bottom: none;
}

.price-table thead th {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  background-color: var(--primary-800);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.price-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-100);
}

.price-table tbody tr:nth-child(even) {
  background-color: var(--grey-050);
}

.price-table tbody tr:nth-child(odd) {
  background-color: #FFFFFF;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody td:last-child {
  font-weight: 600;
  text-align: right;
  color: var(--primary-800);
}

/* ===== 푸터 ===== */
.footer {
  background-color: var(--grey-800);
  color: var(--grey-400);
  padding: 40px 0 32px;
}

.footer__disclaimer {
  font-size: 0.8rem;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-700);
}

.footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-500);
}

/* ===== Floating CTA (모바일 전용) ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transform: translateY(100%);
  transition: transform var(--transition-slow) ease;
}

.floating-cta--visible {
  transform: translateY(0);
}

.floating-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background-color: var(--accent-500);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  gap: 8px;
  transition: background-color var(--transition-fast) ease;
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
}

.floating-cta__btn:hover {
  background-color: var(--accent-600);
}

/* ===== 상품 상세 페이지 ===== */
/* 상세 페이지 헤더 (고정 아님, 정적) */
.detail-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--grey-200);
  padding: 0 16px;
}

.detail-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
}

.detail-header__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-800);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.detail-header__logo-icon {
  font-size: 1.5rem;
}

/* 상품 상세 레이아웃 */
.product-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 상품 이미지 영역 */
.product-detail-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: var(--grey-050);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

/* 상품 정보 영역 */
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail-info h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--grey-800);
  line-height: 1.3;
}

.product-detail-subtitle {
  font-size: 0.95rem;
  color: var(--grey-500);
  font-weight: 500;
}

/* 상품 가격 */
.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
}

/* 구분선 */
.product-detail-divider {
  width: 100%;
  height: 1px;
  background-color: var(--grey-200);
  border: none;
}

/* 상품 설명 */
.product-detail-desc {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.8;
}

/* 구매 버튼 */
.product-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-700);
  color: #FFFFFF;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--transition-fast) ease, transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  box-shadow: var(--shadow-primary);
  align-self: flex-start;
}

.product-detail-btn:hover {
  background-color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(46, 125, 50, 0.4);
}

/* 목록 돌아가기 링크 */
.product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-500);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
  padding: 8px 0;
}

.product-detail-back:hover {
  color: var(--primary-700);
}

/* 상세 페이지 푸터 (간소화) */
.detail-footer {
  background-color: var(--grey-800);
  color: var(--grey-500);
  padding: 24px 16px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== 반응형: 태블릿 (768px 이상) ===== */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* 히어로 */
  .hero__inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 64px 0;
  }

  .hero__text {
    text-align: left;
    flex: 1;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero__image {
    max-width: 350px;
  }

  /* 증상 그리드 */
  .symptoms__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 성분 그리드 */
  .ingredients__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 제형 그리드 */
  .formulation__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 사용법 그리드 */
  .usage__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 상품 그리드: 태블릿에서도 2열 유지 */
  .product-grid {
    gap: 20px;
  }

  .product-card-name {
    font-size: 1rem;
  }

  .product-card-btn {
    font-size: 0.85rem;
    padding: 10px 24px;
  }

  /* 상품 한줄 설명 - 태블릿 */
  .product-card-subtitle {
    font-size: 12px;
  }

  /* 상품 가격 - 태블릿 */
  .product-card-price {
    font-size: 20px;
  }

  /* 가격 테이블: 태블릿에서 2열 */
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 상품 상세 페이지: 태블릿 이상에서 가로 레이아웃 */
  .product-detail {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    padding: 48px 32px 80px;
  }

  .product-detail-image {
    flex-shrink: 0;
    width: 380px;
    max-width: none;
    margin: 0;
  }

  .product-detail-info {
    flex: 1;
    gap: 20px;
  }

  .product-detail-info h1 {
    font-size: 2rem;
  }

  .product-detail-price {
    font-size: 2.25rem;
  }

  .detail-header {
    padding: 0 32px;
  }
}

/* ===== 반응형: 데스크탑 (1024px 이상) ===== */
@media (min-width: 1024px) {
  .section {
    padding: 96px 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  /* 헤더: 데스크탑 네비 표시, 햄버거 숨김 */
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .hamburger {
    display: none;
  }

  /* 히어로 */
  .hero__title {
    font-size: 2.75rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .hero__image {
    max-width: 420px;
  }

  /* 증상 그리드 3열 */
  .symptoms__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 메커니즘: 가로 레이아웃 */
  .mechanism__flow {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
  }

  .mechanism__line {
    display: none;
  }

  .mechanism__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-400);
    padding-top: 32px;
    flex-shrink: 0;
  }

  .mechanism-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .mechanism-step__content {
    text-align: center;
  }

  /* 성분 3열 */
  .ingredients__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 사용법 4열 */
  .usage__steps {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }

  /* 상품 그리드: 데스크탑 4열 */
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .product-card-body {
    padding: 20px;
  }

  .product-card-name {
    font-size: 1.05rem;
  }

  /* Floating CTA 숨김 (데스크탑) */
  .floating-cta {
    display: none;
  }

  /* 상품 상세 페이지: 데스크탑 */
  .product-detail {
    gap: 64px;
    padding: 56px 32px 96px;
  }

  .product-detail-image {
    width: 420px;
  }

  .product-detail-info h1 {
    font-size: 2.25rem;
  }
}

/* ===== 접근성: 포커스 스타일 ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ===== 인쇄 스타일 ===== */
@media print {
  .header,
  .floating-cta,
  .hamburger,
  .mobile-menu,
  .overlay {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .section {
    padding: 24px 0;
  }
}
