@charset "UTF-8";
/* 페텔(PETEL) 연동 완료 안내 팝업 — 여러 페이지 공용. css/petel-popup.css 는 이 파일에서 생성됨 */
/* 색: 프라이스원 파랑 #236ede + 페텔 브랜드 주황 #ff7801 */
.petel-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: "Pretendard", -apple-system, sans-serif;
  word-break: keep-all;
}

.petel-popup-dim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.petel-popup-box {
  position: relative;
  width: 520px;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  outline: none;
}

.petel-popup.is-open .petel-popup-dim {
  opacity: 1;
}

.petel-popup.is-open .petel-popup-box {
  opacity: 1;
  transform: none;
}

/* 팝업이 떠 있는 동안 뒤 페이지 스크롤 막기 */
html.petel-popup-open, html.petel-popup-open body {
  overflow: hidden;
}

.petel-popup-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.petel-popup-x:hover {
  background: #fff;
  color: #111;
}

.petel-popup-x svg {
  width: 20px;
  height: 20px;
}

/* 윗부분: 두 회사 로고 */
.petel-popup-visual {
  background: linear-gradient(160deg, #fff4e8 0%, #fdf8f1 55%, #edf5ff 100%);
  padding: 36px 24px 28px;
  text-align: center;
}

.petel-popup-badge {
  display: inline-block;
  background: #ff7801;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.petel-popup-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.petel-popup-logos img {
  display: block;
  height: 30px;
  width: auto;
}

.petel-popup-logos .petel-logo {
  height: 64px;
}

/* 로고 사이 연결 표시 (점선 + 체크) */
.petel-popup-link {
  position: relative;
  width: 52px;
  height: 2px;
  background-image: linear-gradient(90deg, #b9c6d8 50%, transparent 50%);
  background-size: 8px 2px;
}

.petel-popup-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: #236ede url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: 0 0 0 4px #fff;
}

/* 본문 */
.petel-popup-body {
  padding: 28px 36px 26px;
}

.petel-popup-body h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #1a2e4a;
  margin-bottom: 12px;
}

.petel-popup-desc {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.3px;
  color: #555;
  margin-bottom: 18px;
}

.petel-popup-desc strong {
  color: #ff7801;
  font-weight: 700;
}

.petel-popup-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f5f8fc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.petel-popup-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #3d4a5c;
}

.petel-popup-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23236ede' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

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

.petel-popup-sub {
  font-size: 14px;
  font-weight: 600;
  color: #ff7801;
  text-decoration: none;
}

.petel-popup-sub:hover {
  text-decoration: underline;
}

/* 아래: 오늘 하루 보지 않기 | 닫기 */
.petel-popup-footer {
  display: flex;
  border-top: 1px solid #e6ebf2;
}

.petel-popup-footer button {
  flex: 1;
  border: none;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #6e6e6e;
  padding: 15px 0;
  cursor: pointer;
}

.petel-popup-footer button + button {
  border-left: 1px solid #e6ebf2;
  color: #1a2e4a;
  font-weight: 600;
}

.petel-popup-footer button:hover {
  background: #f5f8fc;
}

@media (max-width: 480px) {
  .petel-popup-visual {
    padding: 32px 20px 24px;
  }
  .petel-popup-logos {
    gap: 14px;
  }
  .petel-popup-logos img {
    height: 26px;
  }
  .petel-popup-logos .petel-logo {
    height: 56px;
  }
  .petel-popup-link {
    width: 40px;
  }
  .petel-popup-body {
    padding: 22px 20px 20px;
  }
  .petel-popup-body h2 {
    font-size: 20px;
  }
  .petel-popup-desc {
    font-size: 14px;
  }
  .petel-popup-desc br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .petel-popup-dim, .petel-popup-box {
    transition: none;
  }
}
