/* ===== 견적서 단독 페이지 (모바일 컴팩트) ===== */
body {
  margin: 0;
  background: #f4f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  height: 100vh;
}

.quote-page {
  height: 100vh;
  height: 100dvh;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.quote-container {
  max-width: 440px;
  width: 100%;
}

/* 명함 카드 (페이지 최상단) */
.quote-card {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #1e2bff;
  line-height: 0;
}

.quote-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 헤더 */
.quote-header {
  text-align: center;
  margin-bottom: 6px;
}

.quote-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3617ce;
  background: #fff;
  padding: 5px 13px 5px 7px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.quote-brand img {
  height: 16px;
  width: auto;
  display: block;
}

.quote-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
}

.quote-sub {
  font-size: 0.72rem;
  color: #9ca3af;
  margin: 0;
}

/* signup.css의 박스 - 컴팩트하게 오버라이드 */
.quote-container .selected-product-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 14px 8px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  gap: 12px;
}

.quote-container .summary-icon {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
  border-radius: 9px;
}

.quote-container .selected-product-summary h3 {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.quote-container .product-info {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.quote-container .product-detail-grid {
  gap: 6px;
  margin-bottom: 10px;
}

.quote-container .detail-row {
  font-size: 0.8rem;
  gap: 6px;
}

.quote-container .detail-icon {
  width: 16px;
  font-size: 0.7rem;
}

.quote-container .detail-label {
  min-width: 58px;
  font-size: 0.72rem;
  color: #9ca3af;
}

.quote-container .detail-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2937;
}

.quote-container .product-price-bar {
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px dashed #e5e7eb;
  width: 100%;
}

.quote-container .price-top {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 2px;
}

.quote-container .price-bottom {
  display: block !important;
}

.quote-container .price-amount {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #3617ce !important;
  letter-spacing: -0.5px;
  margin: 0 !important;
}

.quote-container .price-vat {
  font-size: 0.65rem !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  padding: 0 !important;
}

/* 안내 박스 */
.quote-notice {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 6px;
}

.notice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #4b5563;
  padding: 3px 0;
}

.notice-row i {
  color: #3617ce;
  font-size: 0.78rem;
  width: 14px;
  text-align: center;
}

/* 상담사 정보 */
.quote-contact {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-name::before {
  content: "담당 상담사";
  font-size: 0.65rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 2px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #3617ce;
  text-decoration: none;
  background: #f5f3ff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd6fe;
}

.contact-phone i {
  font-size: 0.78rem;
}

/* CTA 버튼 */
.quote-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #3617ce;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 11px;
  letter-spacing: -0.2px;
  box-shadow: 0 3px 10px rgba(54, 23, 206, 0.18);
  transition: background 0.15s, transform 0.1s;
}

.quote-cta:active {
  background: #2a11a8;
  transform: scale(0.99);
}

.quote-cta i {
  font-size: 0.85rem;
}

/* 명함 스타일 푸터 */
.quote-namecard {
  background: #3019b3;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 3px 12px rgba(48, 25, 179, 0.18);
}

.namecard-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 18px 10px;
}

.namecard-logo {
  height: 28px;
  width: auto;
  max-width: 26px;
  max-height: 28px;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  margin-top: 2px;
  object-fit: contain;
}

.namecard-info {
  flex: 1;
  min-width: 0;
}

.namecard-dept {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2px;
  letter-spacing: 0.2px;
}

.namecard-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 2px;
}

.namecard-name span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 3px;
  opacity: 0.85;
}

.namecard-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 5px;
}

.namecard-contacts a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.namecard-contacts a i {
  width: 12px;
  text-align: center;
  font-size: 0.65rem;
  opacity: 0.7;
}

.namecard-hours {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.namecard-hours i {
  width: 12px;
  text-align: center;
  font-size: 0.6rem;
}

.namecard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.namecard-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.namecard-url {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 매우 작은 화면 */
@media (max-width: 360px) {
  .quote-page {
    padding: 14px 10px 32px;
  }
  .quote-title {
    font-size: 1rem;
  }
  .quote-container .price-amount {
    font-size: 1.25rem;
  }
}

/* PC에서도 모바일 폭으로 고정 (견적서는 항상 컴팩트) */
@media (min-width: 600px) {
  .quote-page {
    padding: 32px 16px 50px;
  }
}
