/* req_form_modal */
.req_form {
  position: absolute;
  /* display:none; */
  width: 100%;
  height: 100%;
  top: 60px;
  z-index: 400;
}
.modal_bg {
  /* width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    backdrop-filter: saturate(180%) blur(5px); */
}
.req_form .req_form_modal_wrap {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 440px;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
  transition: all 0.4s;
}

#req_modal .req_close_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  left: 100%;
  top: 15px;
  width: 30px;
  height: 30px;
  margin-top: 15px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}
#req_modal .req_close_btn i {
  font-size: 1em;
  color: var(--primary-color);
}
.req_form .tit {
  font-size: 1.5em;
  text-align: center;
  font-weight: 700;
  margin: 0 0 20px 0;
}
.req_form .pd_info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  font-weight: 600;
  margin-bottom: 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.req_form .pd_info li {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.req_form .pd_info .info {
  display: flex;
  justify-content: space-between;
}
.req_form .pd_info li .agree {
  display: flex;
  font-size: 0.8em;
  cursor: pointer;
  margin: 10px 0;
}
.req_form .pd_info li .agree input {
  margin: 0 5px 0 0;
}

.req_form .pd_info .info select {
  width: 190px;
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background-position: top 1px right 10px;
  color: var(--primary-color);
  font-size: 0.8em;
  font-weight: 700;
  margin: 10px 0 0;
}
.req_form .pd_info .info select:focus {
  border-color: var(--primary-color);
}
.req_form .pd_info li:last-child {
  margin: 20px 0 0 0;
}
.req_form .pd_info .info span {
  align-self: center;
}
.req_form .pd_info .prd_tit_wrap {
  margin-bottom: 40px;
}
.req_form .pd_info .prd_tit_wrap .prd_tit {
  font-size: 1.2em;
  margin-bottom: 5px;
}
.req_form .pd_info .prd_tit_wrap .model_tit {
  font-size: 1em;
  color: #afafaf;
}

.req_form .pd_info li .brand_logo {
  width: 70px;
  margin: 0 auto 0;
}
.req_form .price {
  font-size: 1.5em;
  color: var(--primary-color);
}

.req_form input[type='date'] {
  border: 0;
}
.req_form input[type='text'],
.req_form input[type='date'] {
  width: 190px;
  padding: 5px 20px;
  border-bottom: solid 1px #ddd;
  color: var(--primary-color);
  box-sizing: border-box;
}
.req_form input[type='text']:focus,
.req_form input[type='date']:focus {
  border-color: var(--primary-color);
}
.req_form .privacy_agree {
  position: relative;
}
.req_form .privacy_agree .pv_box {
  display: none;
  position: absolute;
  width: calc(100% - 30px);
  height: min-content;
  padding: 15px;
  overflow-y: scroll;
  font-size: 0.7em;
  resize: none;
  background: #f0f0f0;
  border-radius: 10px;
  bottom: 100%;
  line-height: 1.4em;
  word-break: keep-all;
  text-align: left;
  border: 1px solid #ddd;
}

.agree .pv_box_view {
  text-decoration: underline;
  vertical-align: inherit;
}
.agree .pv_box_view:hover {
  color: var(--primary-color);
}

/* 라디오버튼2 */
.req_form input[type='radio'] {
  position: absolute;
  visibility: hidden;
  display: none;
}

.req_form .radio-group {
  display: inline-block;
  margin: 10px 0 0;
}
.req_form .radio-group label {
  color: var(--primary-color);
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 30px;
  border: solid 1px #ddd;
  font-size: 0.8em;
}

.req_form input[type='radio']:checked + label {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.req_form .req_btn_wrap {
  display: flex;
  justify-content: center;
}

@media all and (max-width: 1023px) {
  .req_form .req_form_modal_wrap {
    top: 30%;
    width: 50%;
    min-width: 270px;
  }
}
@media all and (max-width: 650px) {
  .req_form .pd_info li {
    margin-bottom: 5px;
  }
}

@media all and (max-height: 450px) {
  .req_form .req_form_modal_wrap {
    /* height: 90%; */
    top: 25%;
    padding: 20px;
    overflow: scroll;
  }
}

/*req.css*/
#product_modal_form {
  position: sticky;
  top: 60px;
  z-index: 400;
  display: none;
}
/* req_modal */
#req_modal {
  position: absolute;
  width: 100%;
  height: 1000px;
  z-index: 200;
}
.modal_bg {
  position: absolute;
  top: -60px;
  width: 100%;
  height: 1000px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(5px);
  -webkit-backdrop-filter: saturate(180%) blur(5px);
}
#req_modal .req_modal_wrap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 440px;
  padding: 0 40px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#req_modal .thumb_box {
  width: 350px;
  height: 350px;
  margin: 0 auto;
}
#req_modal .thumb_box img {
  display: block;
  width: 130%;
  margin: -15%;
}

#req_modal .pd_info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  font-weight: 600;
  margin-bottom: 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#req_modal .pd_info li {
  width: 100%;
  margin-bottom: 20px;
}
#req_modal .pd_info .info {
  display: flex;
  justify-content: space-between;
}
#req_modal .pd_info .info select {
  width: 200px;
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
}
#req_modal .pd_info li:last-child {
  margin-bottom: 0;
}
#req_modal .pd_info .info span {
  align-self: center;
}
#req_modal .pd_info .prd_tit_wrap {
  margin-bottom: 40px;
}
#req_modal .pd_info .prd_tit_wrap .prd_tit {
  font-size: 1.2em;
  margin-bottom: 5px;
}
#req_modal .pd_info .prd_tit_wrap .model_tit {
  font-size: 1em;
  color: #afafaf;
  font-weight: 400;
}

#req_modal .pd_info li .brand_logo {
  width: 70px;
  margin: 0 auto 0;
}
#req_modal .price {
  font-size: 1.5em;
  color: var(--primary-color);
}

/* 라디오버튼2 */
#req_modal input[type='radio'] {
  position: absolute;
  visibility: hidden;
  display: none;
}

#req_modal label {
  color: var(--primary-color);
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  border: solid 1px var(--primary-color);
}

#req_modal input[type='radio']:checked + label {
  color: #fff;
  background: var(--primary-color);
}
#req_modal .radio-group {
  display: inline-block;
}

#req_modal .req_btn_wrap {
  display: flex;
  justify-content: center;
}
.req_btn {
  padding: 10px 20px;
  margin: 0 5px;
  text-align: center;
  font-size: 1em;
  color: #fff;
  background: #424242;
  border-radius: 20px;
  transition: all 0.3s;
  box-sizing: border-box;
}

.req_btn.add_cart:hover {
  color: #fff;
  background: var(--secondary-color);
}
.req_btn.consult_submit:hover,
.req_btn.consult_submit_open:hover {
  color: #fff;
  background: var(--primary-color);
}
@media all and (max-width: 1023px) {
  #req_modal .req_modal_wrap {
    width: 50%;
    min-width: 300px;
    padding: 20px;
  }
  #req_modal .thumb_box {
    width: 100%;
    height: auto;
  }
}
@media all and (max-height: 900px) {
  #req_modal .req_modal_wrap {
    height: 600px;
    overflow-y: scroll;
  }
}
@media all and (max-height: 690px) {
  #req_modal .req_modal_wrap {
    height: 400px;
  }
}
