/* 정수기 상세페이지 + 상담 시트 (/water) — LG 자주색 테마 */

.water-body {
  --lg: #a50034;
  --lg-deep: #7d0027;
  --wtr-line: #e6e6e8;
  --wtr-ink: #1a1a1c;
  --wtr-muted: #6b7280;
  background: #ffffff;
  color: var(--wtr-ink);
  padding-bottom: 92px;
}

/* 상단 고정바 */
.wtr-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--wtr-line);
}

.wtr-logo img {
  height: 26px;
  width: auto;
}

.wtr-pill {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--lg);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wtr-trust {
  margin: 0;
  padding: 13px 16px;
  background: #f6f3f2;
  border-bottom: 1px solid var(--wtr-line);
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #33323a;
  letter-spacing: -0.02em;
}

.wtr-shield {
  color: var(--lg);
}

/* 상세 이미지 */
.wtr-main {
  width: min(720px, 100%);
  margin: 0 auto;
}

.wtr-detail {
  display: block;
}

.wtr-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.wtr-shot img {
  width: 100%;
  height: auto;
}

/* 하단 고정 CTA */
.wtr-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: transparent;
  pointer-events: none;
}

.wtr-cta {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 17px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--lg);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(165, 0, 52, 0.28);
}

/* 상담 시트 */
.wtr-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 15, 20, 0.55);
}

.wtr-sheet {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 22px 22px 0 0;
  animation: wtr-rise 0.24s ease-out;
}

@keyframes wtr-rise {
  from {
    transform: translateY(28px);
    opacity: 0.4;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wtr-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wtr-line);
}

.wtr-sheet-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wtr-sheet-head p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--wtr-muted);
}

.wtr-sheet-close {
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #9aa0a6;
  padding: 0 4px;
}

/* 폼 */
.wtr-form,
.wtr-done {
  padding-top: 20px;
}

.wtr-field {
  display: block;
  margin-bottom: 18px;
}

.wtr-field > span {
  display: block;
  margin-bottom: 9px;
  font-size: 14.5px;
  font-weight: 700;
}

.wtr-field i {
  color: var(--lg);
  font-style: normal;
}

.wtr-field input,
.wtr-field select {
  width: 100%;
  padding: 16px 15px;
  border: 1px solid var(--wtr-line);
  border-radius: 12px;
  background: #f7f7f8;
  font-size: 16px;
  color: var(--wtr-ink);
  appearance: none;
}

.wtr-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.wtr-field input:focus,
.wtr-field select:focus {
  outline: none;
  border-color: var(--lg);
  background: #fff;
}

.wtr-field input::placeholder {
  color: #a8adb4;
}

.wtr-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 14px;
}

.wtr-agree input {
  width: 22px;
  height: 22px;
  accent-color: var(--lg);
  flex: none;
}

.wtr-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lg);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.wtr-error {
  margin: 0 0 14px;
  color: #d13c2e;
  font-size: 13.5px;
  font-weight: 600;
}

.wtr-submit {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--lg);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wtr-submit:disabled {
  background: #d9b9c4;
}

/* 완료 */
.wtr-done {
  text-align: center;
}

.wtr-done-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.wtr-done h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
}

.wtr-done > p {
  margin: 0 0 18px;
  color: var(--wtr-muted);
  font-size: 14.5px;
}

.wtr-done-summary {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f7f8;
  text-align: left;
  font-size: 14px;
}

.wtr-done-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.wtr-done-summary dt {
  color: var(--wtr-muted);
}

.wtr-done-summary dd {
  margin: 0;
  font-weight: 700;
}

/* 회사 정보 푸터 여백 */
.water-body .company-footer {
  margin-top: 8px;
  background: #2b2b2b;
  color: #cfcfcf;
}

.water-body .company-info dt,
.water-body .company-copyright {
  color: #9a9a9a;
}

/* PC(1024px 이상): 데스크톱 전용 상세 이미지(1920px)를 전체 폭으로 — 2026-10-08 가을ver 로 복구 */
@media (min-width: 1024px) {
  .wtr-main {
    width: 100%;
    max-width: 1920px;
  }

  .wtr-shot img {
    display: block;
  }
}
