/* [pre2] 메인 — 샘플 레이아웃 + bnk 톤(#d7000f). px 기준(#122 vw→px). */
.pre2_wrap {
  background: #f6f6f8;
  min-height: 70vh;
}
.pre2_hero {
  position: relative;
  padding: 18px 20px 28px;
  background: linear-gradient(180deg, #fdeee8 0%, #faf3ef 55%, #f6f6f8 100%);
  overflow: hidden;
}
.pre2_hero .ph_back {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 4px 0 14px -4px;
  background: url("../img/prev_icon.svg") no-repeat center/18px;
}
.pre2_hero .ph_title {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.38;
  letter-spacing: -0.3px;
}
.pre2_hero .ph_sub {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 13.5px;
  color: #8a8a8a;
  line-height: 1.5;
}
.pre2_hero .ph_sub .ph_info {
  width: 16px;
  height: 16px;
  background: url("../img/more-info.svg") no-repeat center/16px;
  flex: 0 0 auto;
  opacity: 0.6;
}
.pre2_hero .ph_deco {
  position: absolute;
  top: 40px;
  right: 14px;
  width: 96px;
  opacity: 0.92;
  pointer-events: none;
}
.pre2_hero .ph_stock {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  font-size: 13px;
  color: #555;
}
.pre2_hero .ph_stock b {
  font-size: 15px;
  font-weight: 800;
  color: #d7000f;
}
.pre2_hero .ph_stock .ph_date {
  color: #aaa;
  font-size: 12px;
}

.pre2_body {
  padding: 22px 20px 40px;
}
.pre2_body .pb_q {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.pre2_brands {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.brand_row {
  display: flex;
  align-items: center;
  padding: 18px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.045);
  cursor: pointer;
}
.brand_row .br_logo {
  /* width: 26px; */
  height: 26px;
  object-fit: contain;
  margin-right: 12px;
  flex: 0 0 auto;
}
.brand_row .br_nm {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}
.brand_row .br_cnt {
  font-size: 15px;
  color: #999;
}
.brand_row .br_arrow {
  width: 16px;
  height: 16px;
  margin-left: 12px;
  background: url("../img/right_arrow_lightgrey.svg") no-repeat center/8px;
}
.pre2_empty {
  padding: 60px 24px;
  text-align: center;
  color: #888;
  line-height: 1.6;
}

/* 모델 선택 모달 (바텀시트) */
.pre2_modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.pre2_modal.on {
  display: block;
}
.pre2_modal .pm_dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.pre2_modal.animate .pm_dim {
  opacity: 1;
}
.pre2_modal .pm_sheet {
  position: absolute;
  left: calc(50% - 240px);
  max-width: 480px;
  right: 0;
  bottom: 0;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px 18px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.pre2_modal.animate .pm_sheet {
  transform: translateY(0);
}
.pre2_modal .pm_handle {
  width: 115.2px;
  height: 5.52px;
  background: #222;
  border-radius: 133.34px;
  display: block;
  margin: 20px auto 8px;
  flex-shrink: 0;
  cursor: pointer;
}
.pre2_modal .pm_head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 14px;
  position: relative;
  flex-shrink: 0;
}
.pre2_modal .pm_head .pm_back {
  position: absolute;
  top: -18px;
  right: 18px;
  height: 18.24px;
  width: 18.24px;
  background-image: url(../img/close_btn_black.svg);
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  background-position: center;
}
.pre2_modal .pm_head .pm_title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
}
.pre2_modal .pm_list {
  overflow-y: auto;
  flex: 1;
  padding: 4px 20px;
}
.pre2_modal .pm_opt {
  display: flex;
  align-items: center;
  padding: 16px 2px;
  cursor: pointer;
  border-bottom: 1px solid #f4f4f4;
}
.pre2_modal .pm_opt input {
  display: none;
}
.pre2_modal .pm_opt .pm_nm {
  flex: 1;
  font-size: 16px;
  color: #222;
}
.pre2_modal .pm_opt .pm_cnt {
  font-size: 14px;
  color: #aaa;
  margin-right: 12px;
}
.pre2_modal .pm_opt .pm_radio {
  width: 22px;
  height: 22px;
  border: 2px solid #dcdcdc;
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
}
.pre2_modal .pm_opt input:checked + .pm_nm {
  color: #1a1a1a;
  font-weight: 700;
}
.pre2_modal .pm_opt input:checked ~ .pm_radio {
  border-color: #d7000f;
}
.pre2_modal .pm_opt input:checked ~ .pm_radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #d7000f;
  border-radius: 50%;
}
.pre2_modal .pm_foot {
  padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.pre2_modal .pm_confirm {
  display: block;
  text-align: center;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  padding: 16px 0;
}
.pre2_modal .pm_confirm.disabled {
  background: #e6e6e6;
  color: #b0b0b0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .pre2_modal .pm_sheet {
    left: 0;
    width: 100%;
  }

  .pre2_modal .pm_handle {
    width: 24vw;
    height: 1.15vw;
    border-radius: 27.78vw;
    margin: 4.17vw auto 1.67vw;
  }

  .pre2_modal .pm_head .pm_back {
    top: -3.75vw;
    right: 3.75vw;
    height: 3.8vw;
    width: 3.8vw;
  }
}
