/* =========================================================
   ZPRINTER 1 WEEK FREE USE PAGE
========================================================= */

.p-trial {
  --trial-red: #af2e2a;
  --trial-red-dark: #8e2421;
  --trial-red-pale: #fcf1f1;
  --trial-ink: #221f20;
  --trial-muted: #636363;
  --trial-line: #d9d9d9;
  --trial-soft: #f0f0f0;
  --trial-green: #337a4c;
  color: var(--trial-ink);
  background: #fff;
}


/* =========================================================
   COMMON
========================================================= */

.p-trial {
  overflow: hidden;
}

  .p-trial [hidden] {
    display: none !important;
  }

.p-trial-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.p-trial-mobile-break {
  display: none;
}


/* =========================================================
   BUTTON
========================================================= */

.p-trial-button {
  display: inline-flex;
  min-height: 52px;
  padding: .85em 1em;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--trial-red);
  color: #fff !important;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: .2s ease;
}

  .p-trial-button:hover {
    background: var(--trial-red-dark);
    color: #fff !important;
    transform: translateY(-1px);
  }

  .p-trial-button:disabled {
    background: #c9c9c9;
    border-color: #c9c9c9;
    cursor: not-allowed;
    transform: none;
  }

  .p-trial-button:focus-visible {
    outline: 3px solid rgba(175,46,42,.28);
    outline-offset: 3px;
  }


/* =========================================================
   HERO
========================================================= */

.p-trial-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 82px;
  /* background: radial-gradient(circle at 82% 22%, rgba(175, 46, 42, .13), transparent 30%), linear-gradient(135deg, #fff 0%, #fff6f6 52%, #f3f3f3 100%); */
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 58%,
    #ededed 100%
  );
}

  .p-trial-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 460px;
    height: 460px;
    border: 80px solid rgba(255,255,255,.35);
    border-radius: 50%;
  }

.p-trial-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 28px;
}


/* =========================================================
   HERO TEXT
========================================================= */

.p-trial-hero-title {
  margin: 0;
  color: #222;
}

.p-trial-hero-puzzle {
  display: block;
  margin: 0 0 13px;
  color: #222;
  font-size: clamp(21px,2.2vw,27px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.03em;
}

  .p-trial-hero-puzzle strong {
    font-size: 1.28em;
    font-weight: 900;
  }

.p-trial-hero-brand-logo {
  display: block;
  width: 370px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.p-trial-hero-offer {
  display: block;
  width: 370px;
  max-width: 100%;
  height: auto;
  margin: 11px 0 0;
}

.p-trial-hero-copy {
  margin: 24px 0 0;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   HERO QUICK FACTS
========================================================= */

.p-trial-quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 0;
}

  .p-trial-quickfacts span {
    padding: 9px 14px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--trial-line);
    border-radius: 999px;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 700;
  }

.p-trial-quickfact-note {
  align-self: center;
  margin-left: 4px;
  color: var(--trial-muted);
  font-size: 13px;
  font-weight: 700;
}

.p-trial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.p-trial-hero-actions .p-trial-button {
  min-width: 0;
}

.p-trial-notice {
  max-width: 560px;
  margin: 17px 0 0;
  color: var(--trial-muted);
  font-size: 13px;
  line-height: 1.6;
}

.p-trial-shipping-status {
  max-width: 560px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
}

  .p-trial-shipping-status.is-available {
    color: var(--trial-green);
  }

  .p-trial-shipping-status.is-delayed {
    color: var(--trial-muted);
  }


/* =========================================================
   HERO IMAGE
========================================================= */

.p-trial-product-image {
  position: relative;
  width: min(780px,112%);
  margin: 0 auto;
}

.p-trial-product-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 9px solid rgba(255,255,255,.72);
  border-radius: 21px;
  box-shadow: 0 28px 54px rgba(34,31,32,.18);
}

.p-trial-product-logo {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: 6%;
  display: block;
  width: 31%;
  height: auto;
}


/* =========================================================
   SECTION
========================================================= */

.p-trial-section {
  padding: 76px 0;
}

  .p-trial-section.is-soft {
    background: var(--trial-soft);
  }

.p-trial-section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.p-trial-section-kicker {
  margin: 0 0 10px;
  color: var(--trial-red);
  font-size: 14px;
  font-weight: 800;
}

.p-trial-section-head h2 {
  margin: 0;
  color: #222;
  font-size: clamp(28px,4vw,40px);
  letter-spacing: -.04em;
}

.p-trial-section-head p {
  margin: 16px 0 0;
  color: var(--trial-muted);
  line-height: 1.8;
}


/* =========================================================
   ZPRINTER SYSTEM PANEL
========================================================= */

.p-trial-system-panel {
  max-width: 1080px;
  margin: 0 auto;
}

.p-trial-system-head {
  margin-bottom: 38px;
  text-align: center;
}

  .p-trial-system-head span {
    display: block;
    margin-bottom: 14px;
    color: var(--trial-ink);
    font-size: clamp(26px,3vw,36px);
    font-weight: 900;
    letter-spacing: -.04em;
  }

  .p-trial-system-head h3 {
    margin: 0;
    color: #333;
    font-size: clamp(16px,1.8vw,20px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -.025em;
  }

.p-trial-system-products {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  max-width: 760px;
  margin: 0 auto 38px;
  column-gap: 28px;
}

.p-trial-system-product {
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.p-trial-system-product-image {
  display: flex;
  width: 150px;
  height: 110px;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
}

  .p-trial-system-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.p-trial-system-product figcaption {
  position: static;
  width: auto;
  height: auto;
  color: #282828;
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
}

  .p-trial-system-product figcaption strong,
  .p-trial-system-product figcaption span {
    display: block;
  }

.p-trial-system-plus {
  color: #222;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-15px);
}


/* =========================================================
   COMPARE TABLE
========================================================= */

.p-trial-compare-wrap {
  overflow-x: auto;
}

.p-trial-compare {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
}

  .p-trial-compare thead,
  .p-trial-compare tbody {
    background: transparent;
  }

  .p-trial-compare tr:nth-child(odd),
  .p-trial-compare tr:nth-child(even) {
    background: transparent;
  }

  .p-trial-compare th,
  .p-trial-compare td {
    padding: 15px 20px;
    border-bottom: 1px solid #aeb4b8;
    background: #fff;
    color: var(--trial-ink);
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -.02rem;
  }

  .p-trial-compare tbody tr:last-child th,
  .p-trial-compare tbody tr:last-child td {
    border-bottom: 1px solid #8e979d;
  }

  .p-trial-compare thead th {
    border-top: 2px solid #9ea5aa;
    border-bottom-color: #8e979d;
    font-weight: 700;
  }

  .p-trial-compare tbody th {
    width: 120px;
    background: #e6e7e8;
    text-align: center;
    font-weight: 400;
  }

  .p-trial-compare thead th:first-child {
    width: 120px;
    background: #e6e7e8;
  }

  .p-trial-compare th:nth-child(2),
  .p-trial-compare td:nth-child(2) {
    background: #fff;
  }

    .p-trial-compare th:last-child,
    .p-trial-compare td:last-child {
      background: #e4edf2;
      border-bottom-color: #aeb8be;
      font-weight: 700;
    }

  .p-trial-compare thead th:last-child {
    border-top-color: #9ea5aa;
    border-bottom-color: #8e979d;
  }

  .p-trial-compare td:last-child {
    color: var(--trial-ink);
  }

/* =========================================================
   BEFORE APPLY
========================================================= */

.p-trial-precheck {
  background: #f0f0f0;
}

.p-trial-flow-section {
  background: #fff;
}

.p-trial-precheck-inner {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 58px;
  align-items: center;
}

.p-trial-precheck-intro > span {
  color: var(--trial-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.p-trial-precheck-intro h2 {
  margin: 12px 0 16px;
  color: #222;
  font-size: clamp(32px,4vw,43px);
  line-height: 1.22;
  letter-spacing: -.05em;
}

.p-trial-precheck-intro p {
  margin: 0;
  color: var(--trial-muted);
  line-height: 1.75;
}

.p-trial-precheck-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}

.p-trial-precheck-card {
  padding: 25px 22px;
  border: 1px solid var(--trial-line);
  border-radius: 16px;
  background: #fff;
}

  .p-trial-precheck-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--trial-red-pale);
    color: var(--trial-red);
    font-weight: 900;
  }

  .p-trial-precheck-card h3 {
    margin: 15px 0 8px;
    font-size: 18px;
  }

  .p-trial-precheck-card p {
    margin: 0;
    color: var(--trial-muted);
    font-size: 14px;
    line-height: 1.65;
  }


/* =========================================================
   FLOW
========================================================= */

.p-trial-flow {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.p-trial-flow-item {
  position: relative;
  padding: 26px 17px;
  text-align: center;
}

  .p-trial-flow-item:not(:last-child)::after {
    content: "›";
    position: absolute;
    top: 35px;
    right: -14px;
    color: #c7c7c7;
    font-size: 33px;
  }

.p-trial-flow-num {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border: 2px solid var(--trial-red);
  border-radius: 50%;
  color: var(--trial-red);
  font-weight: 900;
}

.p-trial-flow-item h3 {
  margin: 0 0 9px;
  color: #222;
  font-size: 17px;
}

.p-trial-flow-item p {
  margin: 0;
  color: var(--trial-muted);
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.p-trial-form-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.p-trial-form-intro {
  margin-bottom: 22px;
  padding: 24px 28px;
  border-left: 4px solid var(--trial-red);
  background: #f3f3f3;
  color: #4a4a4a;
  line-height: 1.7;
}

.p-trial-question {
  margin-top: 14px;
  padding: 28px;
  border: 1px solid var(--trial-line);
  border-radius: 12px;
  background: #fff;
}

  .p-trial-question legend {
    width: 100%;
    margin-bottom: 18px;
    color: #222;
    font-weight: 800;
    line-height: 1.55;
  }

.p-trial-required {
  color: var(--trial-red);
  font-size: 12px;
  font-style: normal;
}

.p-trial-hint {
  color: #888;
  font-size: 12px;
  font-weight: 400;
}

.p-trial-question.is-expectation legend {
  margin-bottom: 7px;
}

.p-trial-example {
  margin: 0 0 3px;
  color: #777;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}


/* =========================================================
   FORM OPTIONS
========================================================= */

.p-trial-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

[data-required-group="printerUse"] .p-trial-options,
[data-required-group="painPoint"] .p-trial-options {
  grid-template-columns: 1fr;
}

.p-trial-choice {
  display: flex;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #555;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}

  .p-trial-choice:has(input:checked) {
    border-color: var(--trial-red);
    background: var(--trial-red-pale);
    color: #6f1e1b;
  }

  .p-trial-choice input {
    width: auto;
    height: auto;
    margin: 0;
    box-shadow: none;
    accent-color: var(--trial-red);
    appearance: auto;
    -webkit-appearance: auto;
  }


/* =========================================================
   INPUT / TEXTAREA
========================================================= */

.p-trial-input,
.p-trial-textarea {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 0;
  padding: 13px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  outline: none;
}

  .p-trial-input:focus,
  .p-trial-textarea:focus {
    border-color: var(--trial-red);
    box-shadow: 0 0 0 3px rgba(175,46,42,.09);
  }

.p-trial-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}

.p-trial-counter {
  display: block;
  margin-top: 6px;
  color: #888;
  font-size: 12px;
  text-align: right;
}


/* =========================================================
   AGREEMENT
========================================================= */

.p-trial-agreements {
  max-width: 900px;
  margin: 20px auto 0;
}

.p-trial-agreement {
  margin-bottom: 10px;
  padding: 20px 22px;
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  background: #fff;
}

  .p-trial-agreement label {
    display: flex;
    margin: 0;
    align-items: flex-start;
    gap: 10px;
    color: #444;
    font-weight: 700;
    cursor: pointer;
  }

  .p-trial-agreement input {
    width: auto;
    height: auto;
    margin: 4px 0 0;
    box-shadow: none;
    accent-color: var(--trial-red);
    appearance: auto;
    -webkit-appearance: auto;
  }

  .p-trial-agreement p {
    margin: 10px 0 0 26px;
    color: var(--trial-muted);
    font-size: 13px;
    line-height: 1.7;
  }


/* =========================================================
   SUBMIT
========================================================= */

.p-trial-submit {
  max-width: 900px;
  margin: 32px auto 0;
  text-align: center;
}

  .p-trial-submit .p-trial-button {
    width: min(480px,100%);
    min-height: 62px;
    font-size: 17px;
  }

.p-trial-submit-help {
  margin: 13px 0 0;
  color: #888;
  font-size: 13px;
}

.p-trial-submit-notice {
  margin: 24px 0 0;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.p-trial-faq {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}

  .p-trial-faq details {
    border-bottom: 1px solid #ddd;
  }

  .p-trial-faq summary {
    padding: 22px 8px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    color: #222;
  }

    .p-trial-faq summary::-webkit-details-marker {
      display: none;
    }

    .p-trial-faq summary::before {
      content: "Q";
      margin-right: 14px;
      color: var(--trial-red);
    }

  .p-trial-faq details p {
    margin: 0;
    padding: 0 8px 24px 34px;
    color: var(--trial-muted);
    line-height: 1.75;
  }


/* =========================================================
   APPLICATION MODALS
========================================================= */

.p-trial-success {
  padding: 44px 20px 34px;
  text-align: center;
}

.p-trial-form-section-title {
  margin: 30px 0 15px;
  padding-top: 26px;
  border-top: 1px solid var(--trial-line);
  font-size: 19px;
}

.p-trial-field {
  margin-bottom: 19px;
}

  .p-trial-field > label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 800;
  }

  .p-trial-field > .p-trial-input + .p-trial-input {
    margin-top: 8px;
  }

.p-trial-address-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

  .p-trial-address-row .p-trial-input {
    margin-top: 0;
  }

.p-trial-secondary-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--trial-red);
  border-radius: 5px;
  background: #fff;
  color: var(--trial-red-dark);
  font-weight: 800;
  cursor: pointer;
}

.p-trial-optional {
  color: var(--trial-muted);
  font-size: 13px;
  font-weight: 400;
}


/* =========================================================
   CTA
========================================================= */

.p-trial-cta {
  padding: 76px 0;
  background: linear-gradient(135deg, #eeeeee 0%, #d9d9d9 100%);
  color: var(--trial-ink);
  text-align: center;
}

  .p-trial-cta h2 {
    margin: 0 0 13px;
    color: var(--trial-ink);
    font-size: clamp(29px,4vw,40px);
    letter-spacing: -.045em;
  }

  .p-trial-cta p {
    margin: 0 0 26px;
    color: var(--trial-muted);
    line-height: 1.7;
  }

.p-trial-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

  .p-trial-cta-actions .p-trial-button {
    min-width: 235px;
  }

.p-trial-cta-secondary {
  border-color: var(--trial-red);
  background: transparent;
  color: var(--trial-red) !important;
}

  .p-trial-cta-secondary:hover {
    border-color: var(--trial-red-dark);
    background: rgba(175,46,42,.08);
    color: var(--trial-red-dark) !important;
  }

.p-trial-success-check {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #e9f3ed;
  color: var(--trial-green);
  font-size: 38px;
  font-weight: 900;
}

.p-trial-success h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.p-trial-success p {
  margin: 0 0 24px;
  color: var(--trial-muted);
  line-height: 1.7;
}

.p-trial-success .p-trial-success-order-note {
  margin-top: -12px;
  color: var(--trial-ink);
  font-size: 13px;
  font-weight: 700;
}

body.is-trial-modal-open {
  overflow: hidden;
}

.p-trial-modal {
  --trial-red: #af2e2a;
  --trial-red-dark: #8e2421;
  --trial-red-pale: #fff4f4;
  --trial-ink: #222;
  --trial-muted: #666;
  --trial-line: #e5e5e5;
  --trial-green: #337a4c;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: grid;
  width: 100%;
  max-width: none;
  height: 100%;
  /* 안드로이드 브라우저의 하단 고정 툴바(제스처바/검색바 등)가 실제로
     차지하는 높이를 100%(레이아웃 뷰포트 기준)는 반영하지 못해 팝업
     맨 아래 내용이 툴바 뒤에 가려질 수 있다. dvh는 그 툴바만큼 제외한
     실제 보이는 높이를 반영하므로, 지원 브라우저에서는 이 값으로 덮어쓴다. */
  height: 100dvh;
  margin: 0;
  padding: 32px;
  place-items: center;
  transform: none !important;
  color: var(--trial-ink);
}

  .p-trial-modal[hidden] {
    display: none !important;
  }

.p-trial-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.48);
  cursor: default;
}

.p-trial-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(720px,100%);
  margin: auto;
  max-height: calc(100vh - 64px);
  /* 모바일 브라우저의 100vh는 주소창 등을 포함한 값이라 실제 보이는
     화면보다 커질 수 있어, 팝업 하단이 화면 밖으로 잘려 스크롤로도
     닿지 않는 문제가 생긴다. dvh(동적 뷰포트)를 지원하는 브라우저에서는
     이 값으로 덮어써서 실제 보이는 영역 기준으로 높이를 제한한다. */
  max-height: calc(100dvh - 64px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.p-trial-modal-header {
  position: relative;
  display: block;
  flex: 0 0 auto;
  padding: 28px 68px 24px 30px;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

  .p-trial-modal-header h1,
  .p-trial-modal-header h2 {
    margin: 0;
    color: #222;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.035em;
  }

  .p-trial-modal-header p {
    margin: 8px 0 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
  }

.p-trial-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0 0 2px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #777;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

  .p-trial-modal-close:hover,
  .p-trial-modal-close:focus-visible {
    background: #f5f5f5;
    color: #222;
    outline: none;
  }

.p-trial-modal-body {
  padding: 26px 30px 32px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

  .p-trial-modal-body .p-trial-form-wrap {
    max-width: none;
  }

  .p-trial-modal-body .p-trial-question:first-of-type {
    margin-top: 0;
  }

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .p-trial-hero {
    padding: 65px 0;
  }

  .p-trial-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .p-trial-hero-brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .p-trial-hero-offer {
    margin-left: auto;
    margin-right: auto;
  }

  .p-trial-notice {
    margin-left: auto;
    margin-right: auto;
  }

  .p-trial-quickfacts {
    justify-content: center;
  }

  .p-trial-hero-actions {
    justify-content: center;
  }

  .p-trial-precheck-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .p-trial-flow {
    grid-template-columns: repeat(3,1fr);
  }

  .p-trial-flow-item::after {
    display: none;
  }
}


/* =========================================================
   COMPARE TABLE MOBILE
========================================================= */

@media (max-width: 760px) {

  .p-trial-system-panel {
    width: 100%;
  }

  .p-trial-system-head {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .p-trial-system-products {
    margin-bottom: 30px;
    column-gap: 12px;
  }

  .p-trial-system-product-image {
    width: 92px;
    height: 78px;
    margin-bottom: 10px;
  }

  .p-trial-system-product figcaption {
    font-size: 12px;
  }

  .p-trial-system-plus {
    font-size: 24px;
    transform: translateY(-14px);
  }

  .p-trial-compare-wrap {
    overflow: hidden;
  }

  .p-trial-compare {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

    .p-trial-compare th,
    .p-trial-compare td {
      padding: 14px 7px;
      font-size: 12px;
      line-height: 1.55;
      word-break: keep-all;
      overflow-wrap: break-word;
      vertical-align: middle;
    }

    .p-trial-compare thead th {
      padding: 15px 6px;
      font-size: 12px;
      line-height: 1.45;
    }

      .p-trial-compare thead th:first-child,
      .p-trial-compare tbody th {
        width: 24%;
      }

    .p-trial-compare td {
      width: 38%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

  .p-trial-hero-actions {
    flex-direction: column;
  }

  .p-trial-hero-actions .p-trial-button {
    width: 100%;
  }

  .p-trial-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .p-trial-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 10px;
  }

  .p-trial-modal-header {
    min-height: 0;
    padding: 22px 58px 19px 20px;
  }

    .p-trial-modal-header h1,
    .p-trial-modal-header h2 {
      font-size: 23px;
    }

    .p-trial-modal-header p {
      line-height: 1.45;
    }

  .p-trial-modal-close {
    top: 18px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .p-trial-modal-body {
    padding: 20px 16px 28px;
  }


  .p-trial-container {
    width: min(100% - 28px,1200px);
  }

  .p-trial-hero {
    padding: 54px 0 48px;
  }

  .p-trial-hero-puzzle {
    font-size: 20px;
  }

  .p-trial-hero-brand-logo {
    width: min(340px,90%);
    margin: 0 auto;
  }

  .p-trial-hero-offer {
    width: min(340px,90%);
    margin: 12px auto 0;
  }

  .p-trial-hero-copy {
    font-size: 15px;
  }

  .p-trial-product-image {
    width: min(430px,105%);
    max-width: 100%;
  }

  .p-trial-section {
    padding: 64px 0;
  }

  .p-trial-flow {
    grid-template-columns: 1fr;
  }

  .p-trial-precheck-grid {
    grid-template-columns: 1fr;
  }

  .p-trial-question {
    padding: 22px 18px;
  }

  .p-trial-options {
    grid-template-columns: 1fr;
  }

  .p-trial-choice {
    width: 100%;
  }

  .p-trial-address-row {
    grid-template-columns: 1fr;
  }

  .p-trial-cta {
    padding: 64px 0;
  }

    .p-trial-cta h2 {
      font-size: clamp(26px,8vw,30px);
      line-height: 1.35;
    }

    .p-trial-cta p {
      max-width: 330px;
      margin-right: auto;
      margin-left: auto;
      font-size: 14px;
      line-height: 1.75;
    }

  .p-trial-cta-actions {
    flex-direction: column;
  }

    .p-trial-cta-actions .p-trial-button {
      width: 100%;
    }

  .p-trial-mobile-break {
    display: block;
  }
}

/* =========================================================
   APPLICATION MODAL - CENTERED / SIMPLE OVERRIDE
   2026-09-07
========================================================= */

.p-trial-modal {
  padding: 32px;
  align-items: center;
  justify-content: center;
}

.p-trial-modal-backdrop {
  background: rgba(0, 0, 0, .48);
}

.p-trial-modal-dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.p-trial-modal-header {
  position: relative;
  display: block;
  min-height: 0;
  padding: 28px 68px 24px 30px;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

  .p-trial-modal-header h1,
  .p-trial-modal-header h2 {
    margin: 0;
    color: #222;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.035em;
  }

  .p-trial-modal-header p {
    margin: 8px 0 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
  }

.p-trial-modal-kicker,
.p-trial-form-intro {
  display: none;
}

.p-trial-modal-close {
  top: 22px;
  right: 24px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 26px;
}

  .p-trial-modal-close:hover,
  .p-trial-modal-close:focus-visible {
    border-color: transparent;
    background: #f5f5f5;
    color: #222;
  }

.p-trial-modal-body {
  padding: 26px 30px 32px;
}

  .p-trial-modal-body .p-trial-question,
  .p-trial-modal-body .p-trial-question:first-of-type {
    margin: 0 0 26px;
    padding: 0 0 26px;
    border: 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;
    background: #fff;
  }

    .p-trial-modal-body .p-trial-question legend {
      width: 100%;
      margin-bottom: 14px;
      color: #222;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.55;
    }

.p-trial-hint {
  margin-left: 5px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.p-trial-modal-body .p-trial-options {
  gap: 10px;
}

.p-trial-modal-body .p-trial-choice {
  min-height: 50px;
  padding: 12px 15px;
  gap: 9px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: .15s ease;
}

  .p-trial-modal-body .p-trial-choice:hover {
    border-color: #c8b1ad;
  }

  .p-trial-modal-body .p-trial-choice:has(input:checked) {
    border-color: var(--trial-red);
    background: #fff8f7;
    color: #6f1e1b;
  }

.p-trial-modal-body .p-trial-input,
.p-trial-modal-body .p-trial-textarea {
  margin: 8px 0 0;
  padding: 13px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

  .p-trial-modal-body .p-trial-input:focus,
  .p-trial-modal-body .p-trial-textarea:focus {
    border-color: var(--trial-red);
    box-shadow: 0 0 0 3px rgba(175, 46, 42, .07);
  }

.p-trial-modal-body .p-trial-textarea {
  min-height: 105px;
}

.p-trial-form-section-title {
  margin: 6px 0 7px;
  padding: 0;
  border: 0;
  color: #222;
  font-size: 18px;
  font-weight: 800;
}

.p-trial-field-guide {
  margin: 0 0 18px;
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

.p-trial-field {
  margin-bottom: 22px;
}

  .p-trial-field > label {
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
  }

.p-trial-optional {
  display: inline-flex;
  margin-right: 7px;
  padding: 3px 7px;
  align-items: center;
  border-radius: 4px;
  background: var(--trial-red-pale);
  color: var(--trial-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  vertical-align: 1px;
}

.p-trial-secondary-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #bbb;
  border-radius: 6px;
  background: #fff;
  color: #444;
  font-weight: 700;
}

  .p-trial-secondary-button:hover {
    border-color: var(--trial-red);
    color: var(--trial-red);
  }

.p-trial-agreement {
  border-color: #e5e5e5;
  border-radius: 7px;
}

.p-trial-submit-help {
  line-height: 1.55;
}

@media (max-width: 560px) {
  .p-trial-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .p-trial-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 10px;
  }

  .p-trial-modal-header {
    min-height: 0;
    padding: 22px 58px 19px 20px;
  }

    .p-trial-modal-header h1,
    .p-trial-modal-header h2 {
      font-size: 21px;
    }

  .p-trial-modal-close {
    top: 16px;
    right: 14px;
  }

  .p-trial-modal-body {
    padding: 20px;
    /* 안드로이드 하단 고정 툴바 등에 마지막 항목이 가려지지 않도록
       여유 공간을 더 두고, 제스처바가 있는 기기의 안전영역도 더한다. */
    padding-bottom: calc(20px + 32px + env(safe-area-inset-bottom, 0px));
  }

    .p-trial-modal-body .p-trial-options {
      grid-template-columns: 1fr;
    }

  .p-trial-address-row {
    grid-template-columns: 1fr;
  }
}
