/**
 * Style for the main container
 */

:root {
  --csb-width: 100%;
}

@font-face {
  font-family: "Pretendard Std Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../font/PretendardStdVariable.woff2") format("woff2-variations");
}

/* HTML 페이지의 모든 텍스트 요소들에 드래그 방지 설정 */
body,
body * {
  -webkit-user-select: none; /* Safari 구형 지원 */
  -moz-user-select: none; /* Firefox 구형 지원 */
  -ms-user-select: none; /* Internet Explorer 지원 */
  user-select: none; /* 최신 브라우저 */
  font-family: "Pretendard Std Variable", sans-serif;
}

body {
  margin: 0 auto;
  max-width: 1200px;
}

html,
body {
  overflow-y: scroll;
}

a {
  text-decoration: none;
  color: #000;
}

p {
  margin: 0;
}

ul,
li,
dl,
dt,
dd,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hide {
  display: none !important;
}

/** * PC 전용 스타일 */
.header_pc_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  position: relative;
}

.header_pc_top_right_menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-direction: row;
}

/* 카카오 버튼 스타일 */
.header_pc_rightmenu_kakao a {
  display: flex;
  align-items: center;
  background-color: #fee500;
  border-radius: 3px;
  padding: 6px 12px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.2s;
  height: 30px;
}

.header_pc_rightmenu_kakao a:hover {
  background-color: #ffdd00;
}

.header_pc_rightmenu_kakao_icon_image {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background-image: url(https://t1.kakaocdn.net/kakaobusiness/public/img/ico_bizservice_231214.png);
  background-size: 500px 200px;
  background-repeat: no-repeat;
}

.header_pc_rightmenu_kakao-text {
  display: inline-block;
  vertical-align: middle;
}

/* 공통 버튼 스타일 */
.header_pc_rightmenu_button div {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 14px;
  color: #333;
  background-color: #f2f2f2;
  transition: all 0.2s;
  height: 20px;
  display: block;
}

.header_pc_rightmenu_button div:hover {
  background-color: #e0e0e0;
  color: #000;
}

.header_pc_search-bar {
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 3px;
  padding: 5px 10px;
  width: 100%;
  max-width: 300px;
  background-color: #fff;
  transition: border-color 0.2s;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
}

.header_pc_search-bar:focus-within {
  border-color: #007aff; /* 포커스 시 파란 테두리 */
}

.header_pc_search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 8px 10px;
  background: transparent;
}

.header_pc_search-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 6px;
  color: #555;
  display: flex;
  justify-content: center;
  transition: color 0.2s;
}

.header_pc_search-button:hover {
  color: #007aff;
}

/* pc_only 992px */
@media (min-width: 992px) {
  .pc_only {
    display: block !important;
  }
  .mobile_only {
    display: none !important;
  }
}

/* mobile_only */
@media (max-width: 991px) {
  .pc_only {
    display: none !important;
  }
  .mobile_only {
    display: block !important;
  }
  html,
  body {
    overflow-y: auto;
  }
  .mobile_header_fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
  }

  .mobile_header_fixed_margin {
    height: 160px; /* 헤더 높이와 동일하게 설정 */
  }

  .header_mobile_search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 3px;
    padding: 5px 10px;
    width: 100%;
    max-width: 180px;
    background-color: #fff;
    transition: border-color 0.2s;
    position: relative;
    right: 10px;
  }

  .header_mobile_search-bar:focus-within {
    border-color: #007aff; /* 포커스 시 파란 테두리 */
  }

  .header_mobile_search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 3px 5px;
    background: transparent;
    width: 100%;
  }

  .header_mobile_search-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 6px;
    color: #555;
    transition: color 0.2s;
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
  }

  .header_mobile_search-button:hover {
    color: #007aff;
  }

  .header_mobile_right_button {
    display: none;
  }
}

/* -- ✅ 모바일 헤더 스타일 시작 -- */

.header_mobile_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  background-color: #fff;
  flex-wrap: wrap;
}

.header_mobile_kakao_banner_wrap {
  overflow: hidden;
  position: relative;
  background-color: #fee500;
  height: 36px;
}

.header_mobile_kakao_banner_wrap > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
}

.header_mobile_top_banner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: headerKakaoBlink 2.5s ease-in-out infinite;
  font-size: 14px;
  color: #000;
  height: 100%;
}

.header_mobile_top_kakao_icon_image {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(https://t1.kakaocdn.net/kakaobusiness/public/img/ico_bizservice_231214.png);
  background-size: 500px 200px;
  background-position: -3px 0px;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.header_mobile_top_kakao_text {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
}

@keyframes headerKakaoBlink {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* -- ✅ 모바일 헤더 스타일 끝 -- */

/* -- ✅ 푸터 스타일 시작 -- */

.footer__container {
  background-color: #f9f9f9;
  color: #333333;
  padding: 10px;
  font-family: "Pretendard Std Variable", sans-serif;
  border-top: 1px solid #e0e0e0;
}

.footer__ciwrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1024px;
  margin: 0 auto;
}

.footer__customer,
.footer__cert,
.footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.footer__tel {
  font-size: 18px;
  font-weight: bold;
  color: #e74c3c;
}

.footer__info-text {
  font-size: 12px;
  color: #555555;
}

.footer__cert {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer__link__ictmarket img,
.footer__link__ibk img {
  width: 80px;
  height: auto;
  border-radius: 3px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.footer__link__ictmarket img:hover,
.footer__link__ibk img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.footer__info {
  padding-top: 10px;
  line-height: 1.3;
}

.footer__info p {
  margin: 2px 0;
  color: #414141;
  font-size: clamp(10px, 2.5vw, 12px);
}

.footer__info span {
  font-weight: bold;
  color: #999999;
  font-size: clamp(8px, 2vw, 10px);
}

@media (max-width: 768px) {
  .footer__ciwrap {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .footer__cert {
    flex-direction: row;
    justify-content: center;
    margin: 0;
  }
}

/** -- ✅ 푸터 스타일 종료 --  */

/** -- ✅nav PC 스타일 시작 -- */

.nav_pc_container {
  height: 50px;
  background-color: #fff;
  border-top: 1px solid #222;
  border-bottom: 1px solid #ccc;
  text-align: center;
  margin-bottom: 10px;
}

.nav_pc_container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 30px;
}

.nav_pc_container li {
  margin: 0 15px;
}

.nav_pc_container li div {
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  /* font-weight: 600; */
  color: #333;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}

.nav_pc_container li div:hover {
  background-color: #e5e9ef;
  color: #3a4a5a;
}

.nav_pc_container li div:active {
  transform: scale(0.97);
  background-color: #cbd4dc;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.nav_pc_container li div.active {
  background-color: #3a4a5a;
  color: #fff;
  box-shadow: 0 3px 8px rgba(58, 74, 90, 0.3);
}

/** -- ✅nav PC 스타일 종료 -- */

/** -- ✅nav mobile 스타일 시작 -- */

.nav_mobile_container {
  margin-bottom: 7px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 5px 15px;
  background-color: #f3f3f3;
}

.nav_mobile_container ul {
  display: flex;
  overflow-x: auto;
  background-color: #fff;
  white-space: nowrap;
  gap: 5px;
  background-color: #f3f3f3;
}

.nav_mobile_container li {
  padding: 0 5px;
  text-decoration: none;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav_mobile_container li div {
  padding: 5px 10px;
  /* font-weight: 600; */
  border-radius: 3px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav_mobile_container li div:hover {
  background-color: #e5e9ef;
  color: #3a4a5a;
}

.nav_mobile_container li div:active {
  background-color: #cbd4dc;
  transform: scale(0.97);
}

.nav_mobile_container li div.active {
  background-color: #3a4a5a;
  color: #fff;
  box-shadow: 0 3px 8px rgba(58, 74, 90, 0.3);
}

/** -- ✅nav mobile 스타일 종료 -- */

/** -- ✅ 배너 스타일 시작 -- */
.banner-area {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 10px 0; */
  box-sizing: border-box;
}

.banner-swiper .swiper-slide {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  transition: transform 0.3s ease;
}

.banner-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
  color: #494949;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translateY(-50%);
}

.banner-area .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  border: solid 1px #818181;
  background: #000;
  opacity: 0.2;
  margin-right: 10px;
}

.banner-area .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 30px;
  border: solid 1px #818181;
  background: #3d3d3d;
}

.banner-pagination-gap {
  clear: both;
  height: 30px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .banner-swiper .swiper-slide {
    border-radius: 0;
    box-shadow: none;
  }
}
/** -- ✅ 배너 스타일 종료 -- */

/** -- ✅ 공통 스타일 시작 -- */
.main_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/** -- ✅ 공통 스타일 종료 -- */

/** -- ✅ 컨텐츠 스타일 시작 -- */

.content_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content_title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.content_card_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
  align-self: center;
  max-width: 100%;
  padding: 10px;
}

.content_card_item {
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  list-style: none;
  position: relative;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content_card_item:hover {
  box-shadow: 0 4px 20px rgba(92, 92, 92, 0.5);
  border: 1px solid #333;
  cursor: pointer;
}

.content_card_company_logo_wrap {
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 25px;
}

.content_card_company_logo {
  top: 10px;
  left: 10px;
  z-index: 90;
  width: 100%;
}

.content_card_item_status {
  position: absolute;
  border-radius: 3px;
  background-color: #000;
  color: #ffd700;
  padding: 2px 5px;
  top: 10px;
  right: 10px;
  font-size: 12px;
  text-align: end;
  z-index: 90;
  display: none;
}

.content_card_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content_card_main_img_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content_card_main_img_wrap img {
  width: 80%;
  height: auto;
}

.content_card_color_wrap {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
  top: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
}

.content_card_color {
  width: clamp(8px, 2vw, 14px);
  height: clamp(8px, 2vw, 14px);
  display: inline-block;
  border-radius: 50%;
}

.content_card_Capacity_wrap {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

.content_card_Capacity {
  font-size: 13px;
  background-color: #333;
  color: white;
  border-radius: 3px;
  padding: 2px 5px;
  font-weight: 400;
}

.content_card_bottom_container {
  width: 100%;
  background-color: #f1f1f1;
}

.content_card_bottom_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 5px;
}

.content_card_model_name_wrap {
  border: 1px solid transparent;
  padding: 10px;
}

.content_card_model_title {
  color: #808080;
  font-size: 14px;
}

.content_card_modelname {
  text-align: start;
  font-size: 20px;
  color: #333;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-dotted-05 {
  height: 5px;
  border-bottom: 2px dotted #cccccc;
}

.height-05 {
  height: 5px;
}

.height-10 {
  height: 10px;
}

.content_card_price_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3px 12px;
  gap: 5px;
}

.card_bottom_title_wrap {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  font-size: 14px;
  width: 100%;
}

.card_bottom_title {
  color: #333;
  font-weight: 500;
  align-self: center;
}

.card_bottom_CommOC {
  color: #797979;
}

.card_description_wrap {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
  font-size: 13px;
  width: 100%;
}

.card_description {
  color: #333;
}

.card_description_second {
  color: #333;
}

.card_factory_price {
  width: 100%;
  color: #949494;
  font-size: 13px;
  text-decoration: line-through;
}

.card_price_info_wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  color: #000;
  width: 100%;
  gap: 2px;
}

.card_price_discount_info {
  margin-right: 3px;
  font-weight: 700;
  color: #d40022;
}

.card_price_discount_value {
  font-weight: 700;
}

.card_price_discount_unit {
  line-height: 1; /* ✅ 너무 크거나 작지 않게 */
  vertical-align: middle; /* 텍스트 정렬 */
  font-size: 12px;
}

.grayscale {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  filter: alpha(opacity=40);
  opacity: 0.4;
  -moz-opacity: 0.4;
}

.card_lest_container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 5px;
}

.card_event_info {
  font-size: 13px;
  line-height: 16px;
  color: #757575;
}

.card_delivery_info_wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: start;
  gap: 5px;
  font-size: 13px;
}

.card_delivery_info {
  font-weight: 500;
  color: #577df7;
  line-height: 16px;
}

.card_delivery_info_time {
  font-weight: 500;
  line-height: 16px;
  color: #757575;
}

.content_title_name {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  justify-self: center;
}

/* 필터스타일 */

.content_filter_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter_container {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  align-items: center;
  justify-content: space-between;
}

.filter_wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter_wrap select {
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s ease;
}

select:disabled {
  background-color: #f0f0f0;
  color: #999;
}

.no-result {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 18px;
  color: #777;
  padding: 40px 20px;
  min-height: 108px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* card mobile_only */
@media (max-width: 700px) {
  .content_title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .content_container {
    padding: 10px;
    position: relative;
  }

  .content_card_bottom_wrap {
    padding: 5px;
    gap: 2px;
  }

  .card_delivery_info_wrap {
    font-size: 12px;
    display: none;
  }

  .height-05 {
    height: 3px;
  }

  .content_card_model_name_wrap {
    padding: 3px 5px 0 5px;
  }
  .content_card_color_wrap {
    right: 5px;
  }

  .content_card_container {
    gap: 5px;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .content_card_item {
    border-radius: 3px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  }

  .content_card_model_title {
    font-size: 13px;
    display: none;
  }

  .content_card_modelname {
    font-size: 16px;
    height: 35px;
    white-space: normal;
    align-content: center;
    line-height: 1;
  }

  .card_event_info {
    font-size: 11px;
  }

  .content_card_Capacity_wrap {
    flex-wrap: wrap;
  }

  .content_card_Capacity {
    font-size: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 3px;
    padding: 2px 4px;
    font-weight: 300;
  }

  .content_card_company_logo_wrap {
    width: 20px;
    top: 5px;
    left: 5px;
  }

  .card_bottom_title_wrap {
    flex-direction: column;
    justify-content: start;
    gap: 2px;
  }

  .card_bottom_title {
    align-self: start;
  }

  .card_bottom_CommOC {
    align-self: start;
    font-size: 12px;
  }

  .card_description_wrap {
    font-size: 12px;
  }
  .card_description_second {
    display: none;
  }

  .card_lest_container {
    gap: 2px;
  }

  .content_title_name {
    font-size: 18px;
  }

  .filter_wrap select {
    padding: 4px 6px;
    border-radius: 3px;
    font-size: 12px;
  }
}

/**
 * product detail 제품 상세 페이지 스타일
 */

.dashed_bottom {
  margin: 0 10px;
  height: 2px;
  border-bottom: 2px dashed #cbcbcb;
  width: 100%;
}

.dividing_line {
  margin: 0 10px;
  height: 1px;
  border-bottom: 1px dashed #cbcbcb;
}

.pd_main_container {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  align-items: start;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/** top content */

.pd_top_content {
  display: flex;
  flex-direction: column;
  flex: 0.3;
  min-width: 250px;
  gap: 10px;
}

.dividing_line.pd_top {
  margin: 0px;
  height: 2px;
  border-bottom: 1px dashed #cbcbcb;
}

.md_dividing_line {
  margin: 0px;
  height: 2px;
  border-bottom: 1px dashed #cbcbcb;
  width: 100%;
}

.pd_top_modelinfo_wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #ffffff;
  border: solid 1px #cbcbcb;
}

.pd_top_modelname_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 10px;
  gap: 0px;
  width: 100%;
}

.pd_top_modelcode {
  font-size: 16px;
  color: #8b8b8b;
}

.pd_top_modelname {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.pd_top_image_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}

.pd_product_image {
  width: 85%;
}

.pd_carrier_logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 50px;
  height: auto;
}

.pd_top_button_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
}

.pd_top_button_model_detail {
  background-color: #007aff;
  border: none;
  width: 100%;
  color: #ffffff;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-sizing: border-box;
}

.pd_top_button_model_detail:hover {
  background-color: #005bb5;
}

.pd_top_button_model_detail:active {
  background-color: #004a8f;
}

.pd_top_button_model_detail:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/** ✅ 납부정보 시작부분 */
.pd_top_sec_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: solid 1px #333;
  box-sizing: border-box;
}

.pd_top_price_info_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.pd_top_sec {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 7px;
  gap: 5px;
  background-color: #333;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
  height: 45px;
}

.pd_top_sec_label_wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}

.pd_top_sec_label_wrap_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  align-self: flex-start;
}

.pd_top_sec_label_wrap_top_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pd_top_sec_value {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background-color: #007aff;
  padding: 3px 6px;
  box-sizing: border-box;
}

.pd_top_sec_label {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 3px;
}

/** ✅ 가격 정보 상단 부분 */
.pd_top_sec_container_top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: solid 1px #333;
}

.pd_top_sec_group_top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}

.pd_top_sec_top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 7px;
  background-color: #333;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
}

.pd_top_sec_value_top {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background-color: #007aff;
  padding: 3px 6px;
  box-sizing: border-box;
}

.pd_top_sec_label_top {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
}

.pd_top_sec_price_top {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  align-self: flex-end;
}

.pd_top_sec_price {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
}

.pd_top_sec_details {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
  gap: 2px;
}

.pd_top_sec_detail_description {
  font-size: 14px;
  color: #333;
}

.pd_top_sec_detail_description_title {
  font-size: 14px;
  font-weight: 700;
}

.pd_top_sec_detail_description_red {
  font-size: 12px;
  color: #d84747;
}

.pd_top_sec_detail_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* align-items: center; */
}

.pd_top_sec_detail_wrap_se {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.pd_top_sec_detail_wrap.addServices {
  flex-direction: column;
}

.pd_top_sec_detail_wrap.installment {
  color: red;
  font-weight: 600;
}

.pd_top_sec_detail_label {
  font-size: 16px;
}

.pd_top_sec_detail_value {
  font-size: 18px;
}

.pd_top_sec_detail_value.installPayPlan {
  font-size: 20px;
}

.actual_purchase_price {
  padding: 3px 7px;
  border: solid 1px red;
  border-radius: 3px;
  margin: 5px 0;
  color: red;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/** middle content sub */

/* ✅ 화살표 안내 배경 박스 */
.pd_middle_content_sub {
  width: 20px;
  display: flex;
  align-items: stretch;
  position: relative;
}

/* 🔽 안내 바 전체 */
.scroll_guide_arrow_gray {
  width: 20px;
  height: 100%;
  background-image: url(https://bareunit.com/exn/img/logo/red_v.png);
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% 20px;
  animation: scrollArrowGrayMove 1.2s linear infinite;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
  border-radius: 3px;
  box-sizing: border-box;
  opacity: 15%;
}

/* 🔁 배경 아래로 흐르기 */
@keyframes scrollArrowGrayMove {
  0% {
    background-position: center 0;
  }
  100% {
    background-position: center 20px;
  }
}

/* 📝 안내 텍스트 */
.scroll_guide_text {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  border-radius: 3px;
  position: absolute;
  top: 35px;
  transform: translateX(-50%);
  left: 50%;
  background-color: white;
  animation: guideColorPulse 2s infinite ease-in-out;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

@keyframes guideColorPulse {
  0% {
    color: #333; /* 검정 */
  }
  50% {
    color: #ff0000; /* 빨강 */
  }
  100% {
    color: #333; /* 다시 검정 */
  }
}

/** middle content */

.pd_middle_content_container {
  flex: 0.4;
  display: flex;
}
.pd_middle_content {
  background-color: #fff;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
}

.pd_mid_radio_button_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0px 10px;
}

.pd_mid_radio_button_label {
  display: flex;
  align-self: start;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-family: "Pretendard Std Variable", sans-serif;
}

.pd_mid_radio_button_options_wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: start;
  width: 100%;
  font-size: 16px;
}

.pd_mid_radio_button_options {
  display: flex;
  align-items: center;
  /* gap: 5px; */
  padding: 5px 7px;
  justify-content: center;
  border: solid 1px #c5c5c5;
  color: #c5c5c5;
  border-radius: 3px;
  width: 60px;
  height: 24px;
  cursor: pointer;
}

.pd_mid_radio_button_options_contract_type {
  display: flex;
  align-items: center;
  padding: 5px 7px;
  justify-content: center;
  border: solid 1px #c5c5c5;
  color: #c5c5c5;
  border-radius: 3px;
  width: auto;
  flex: 1;
  text-align: center;
  font-size: 12px;
  flex-direction: column;
  height: 24px;
}

.pd_mid_radio_button_options_contract_type.selected {
  border: solid 1px #333;
  color: #fff;
  background-color: #333;
}

.pd_mid_radio_button_options_yak {
  display: flex;
  align-items: center;
  padding: 7px;
  justify-content: center;
  border: solid 1px #c5c5c5;
  color: #c5c5c5;
  border-radius: 3px;
  width: auto;
  flex: 1;
  text-align: center;
  font-size: 12px;
  flex-direction: column;
}

.pd_mid_radio_button_options_yak.selected {
  border: solid 1px #333;
  color: #fff;
  background-color: #333;
}

.pd_mid_radio_button_options_yak .first {
  font-size: 16px;
  font-weight: bold;
}

.pd_mid_radio_button_options_contract_type .first {
  font-size: 16px;
}

.pd_mid_radio_button_options_contract_type .insurance {
  font-size: 13px;
}

.pd_mid_radio_button_options.selected {
  border: solid 1px #333;
  color: #fff;
  background-color: #333;
}
/** 컬러선택 부분 설정*/
.color-picker-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.color-option-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-option {
  width: 100%;
  height: 100%;
  padding: 3px;
  border: 1px solid transparent;
  background-color: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
}

/* 내부 색상 사각형 */
.color-option::before {
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--color);
  border-radius: 5px;
  box-sizing: border-box;
}

/* 선택 시 강조 테두리 */
.color-option.selected {
  border-color: #ff0000;
}

.pd_mid_radio_button_selectedoption {
  font-size: 13px;
  color: #333;
  display: flex;
  align-self: start;
  gap: 5px;
}

.pd_mid_radio_button_selectedoption_left {
  background-color: #dddddd;
  color: #6b6b6b;
  padding: 2px 6px;
  border-radius: 3px;
  align-content: center;
  font-size: 13px;
  font-weight: bold;
}

.pd_mid_radio_button_selectedoption_right {
  align-content: center;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.pd_mid_radio_button_selectedoption.bold {
  font-weight: 500;
}

.pd_mid_select_info_wrap {
  font-size: 13px;
  color: #333;
  display: flex;
  align-self: start;
  gap: 5px;
}

.pd_mid_select_info_wrap_left {
  background-color: #dddddd;
  color: #6b6b6b;
  padding: 2px 6px;
  border-radius: 3px;
  align-content: center;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

.pd_mid_select_info_wrap_right {
  align-content: center;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.pd_mid_select_info_wrap.bold {
  font-weight: 500;
}

/** 요금제 스타일*/
.pd_mid_custom_select_box {
  position: relative;
  width: 100%;
  font-family: inherit;
}

/* 토글 버튼 */
.pd_mid_custom_select_toggle {
  width: 100%;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 3px;
  background: #fff;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  color: #333;
}

/* 열렸을 때 버튼 하단 둥근 테두리 제거 */
.pd_mid_custom_select_toggle.open {
  border-radius: 3px 3px 0 0;
  border-bottom: solid 1px #eee;
}

/* 셀렉트 박스 내부 드롭다운 리스트 */
.pd_mid_custom_select_wrap {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* ← 99% → 100% */
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #333;
  border-top: none;
  z-index: 100;
  border-radius: 0 0 3px 3px;
  box-sizing: border-box;
}

/* 아이템 */
.pd_mid_custom_select_item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #858585;
  cursor: pointer;
  transition: background 0.2s;
}

.pd_mid_custom_select_item:hover {
  background: #f2f7ff;
}

.pd_mid_custom_select_item:last-child {
  border-bottom: none;
}

.pd_mid_custom_price_wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.pd_mid_custom_select_item_label {
  font-weight: bold;
  font-size: 16px;
}

.pd_mid_custom_select_item_price {
  font-size: 14px;
  font-weight: 600;
}

.pd_mid_custom_select_item_description {
  font-size: 14px;
  font-weight: 600;
}

.pd_mid_custom_select_item_arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
}
.pd_mid_custom_select_item_arrow.active {
  transform: translateY(-50%) rotate(270deg);
}

/** bottom content */

.pd_bottom_content {
  flex: 0.3;
  display: flex;
  flex-direction: column;
  min-width: 300px;
}

.pd_bottom_text_inputbox {
  flex-grow: 1;
  border: 0px solid transparent;
  padding: 6px 0px 6px 11px;
  font-size: 16px;
}

.pd_bottom_description {
  padding-left: 10px;
  font-size: 12px;
  color: #898989;
  display: flex;
  align-self: start;
  gap: 5px;
}

.pb_checkbox_wrap {
  display: flex;
  justify-content: start;
  width: 100%;
}

.pb_checkbox {
  display: flex;
  padding: 2px 10px;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

.pb_checkbox_box {
  width: 16px;
  height: 16px;
  border: 2px solid #333;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pb_checkbox_box span {
  font-size: clamp(12px, 2.5vw, 16px);
  align-content: center;
  color: #333;
}

.pb_textbox_privacy {
  border: 1px solid #bbbbbb;
  width: var(--csb-width, 100%);
  padding: 12px 0px;
  padding-left: 9px;
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 12px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.1);
}

.submit_btn_wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0px;
  box-sizing: border-box;
  gap: 10px;
}

.submit_btn_wrap_mobile {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  gap: 10px;
}

.pd_bottom_submit_button {
  background-color: #007aff;
  border: none;
  color: #ffffff;
  padding: 12px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  flex: 1;
}

.pd_bottom_submit_button:hover {
  background-color: #005bb5;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.pd_bottom_submit_button_kakao {
  width: 100px;
  background-color: #fee500;
  color: #000;
  border: none;
  padding: 12px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.pd_bottom_submit_button_kakao:hover {
  background-color: #e5cc00;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 하단 컨텐츠 */

.pd_sub_info_container_1 {
  font-size: 16px;
  position: relative;
  width: 100%;
}

.product_info_html_title {
  border-left: 12px solid #353535;
  font-size: clamp(20px, 4vw, 22px);
  font-weight: 700;
  padding: 3px 0 10px 10px;
  margin: 25px 0px 5px 0px;
}

/** 구입절차안내 */
.PS__process-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.PS__step-box {
  background-color: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 2%;
  padding: 5px;
  width: clamp(35px, 20vw, 130px);
  height: clamp(80px, 28vw, 140px);
  text-align: center;
  position: relative;
  margin: 10px 0px;
  position: relative;
}

.PS__step-box .PS__step-number {
  background-color: #000;
  color: #fff;
  font-size: clamp(8px, 2.5vw, 15px);
  font-weight: bold;
  width: clamp(15px, 4vw, 23px);
  height: clamp(15px, 4vw, 23px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -2px;
  top: -2px;
  border-top-left-radius: 2%;
  border-bottom-right-radius: 2%;
  /* opacity: 50%; */
}

.PS__step-box h2 {
  font-size: clamp(7px, 3.5vw, 18px);
  font-weight: bold;
  margin: 15px 0px 5px 0px;
}

.PS__step-box p {
  font-size: clamp(7px, 3vw, 16px);
  line-height: 1.5;
  color: #666;
  text-align: left;
}

.PS__arrow {
  font-size: 24px;
  color: #e63946;
}

.PS__notice {
  color: 660000;
  font-weight: 600;
  text-align: start;
  font-size: clamp(11px, 2.5vw, 16px);
}

.PS__instructions {
  color: #333;
  font-size: 14px;
  text-align: center;
}

.PS__instructions li {
  margin: 3px 0;
  text-align: start;
}

.PS__notice__container {
  margin: 0px 10px;
}

.pd_sub_info_container_2 {
  width: 100%;
}

/* =================================  구매테이블 디자인 시작 */

/** 테이블 컨텐트 컨테이너 */
.product_info_html_content_container {
  display: flex;
  flex-direction: row;
}

/** 테이블 컨텐트 컨테이너 TOP [1]*/
.product_info_html_content_top_type_1 {
  background-color: #806000;
  color: white;
  font-size: clamp(12px, 2.5vw, 16px);
  padding: 5px 5px 5px 30px;
  margin-top: 15px;
}

/** 테이블 컨텐트 컨테이너 TOP [2]*/
.product_info_html_content_top_type_2 {
  background-color: #203764;
  color: white;
  font-size: clamp(12px, 2.5vw, 16px);
  padding: 5px 5px 5px 30px;
  margin-top: 15px;
}

/** 테이블 컨텐트 컨테이너 TOP [3]*/
.product_info_html_content_top_type_3 {
  background-color: #375623;
  color: white;
  font-size: clamp(12px, 2.5vw, 16px);
  padding: 5px 5px 5px 30px;
  margin-top: 15px;
}

/** 테이블 컨텐트 컨테이너 TOP [4]*/
.product_info_html_content_top_type_4 {
  background-color: #833c0c;
  color: white;
  font-size: clamp(12px, 2.5vw, 16px);
  padding: 5px 5px 5px 30px;
  margin-top: 15px;
}

.product_info_html_content {
  width: 100%;
}

/** 수직축 스타일링*/
.product_info_html_content_vertical_line_type1 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 2vw, 16px);
  padding: 30px 5px 10px 5px;
  /* border-radius: 5px; */
  background-color: #806000;
  color: white;
  margin-right: 5px;
}

.product_info_html_content_vertical_line_type2 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 2vw, 16px);
  padding: 30px 5px 10px 5px;
  /* border-radius: 5px; */
  background-color: #203764;
  color: white;
  margin-right: 5px;
}

.product_info_html_content_vertical_line_type3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 2vw, 16px);
  padding: 30px 5px 10px 5px;
  /* border-radius: 5px; */
  background-color: #375623;
  color: white;
  margin-right: 5px;
}

.product_info_html_content_vertical_line_type4 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 2vw, 16px);
  padding: 30px 5px 10px 5px;
  /* border-radius: 5px; */
  background-color: #833c0c;
  color: white;
  margin-right: 5px;
}

/** 테이블 가격정보 스타일 */
.product_info_html_content_price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 5px 0px 5px 0px;
}

.product_info_html_content_price > div:nth-child(1) {
  margin: 0px 5px 0px 5px;
  font-weight: 600;
  align-content: center;
}

.product_info_html_content_price > div:nth-child(2) {
  margin: 0px 5px 0px 5px;
  align-content: center;
  color: red;
}

/** 테이블 우측 */
.tableRight {
  border-right: solid 1px #a8a8a8;
}

/** 테이블 좌측 */
.tableLeft {
  border-left: 1px solid #a8a8a8;
}

/** 테이블 상단 */
.tableTop {
  border-top: 1px solid #a8a8a8;
}

/** 테이블 하단 */
.tableBottom {
  border-bottom: 1px solid #a8a8a8;
}

/** 테이블 전체 */
.tableAll {
  border: 1px solid #a8a8a8;
  padding: 2px;
}

/** ipName */
.ipName {
  font-size: clamp(10px, 2.2vw, 16px);
}

.ipName_G {
  font-size: clamp(10px, 2.2vw, 16px);
}

.ipName_S {
  font-size: clamp(10px, 2.2vw, 16px);
}
/** 테이블 제목 */
.tableTitle {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 5px 0px 5px 0px;
  padding: 5px;
  font-size: clamp(12px, 2.5vw, 16px);
}

/** 테이블 테그 스타일 */
.tableStyle {
  font-size: clamp(10px, 2.2vw, 16px);
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: auto;
  /* margin-bottom: 10px; */
}

/** 테이블설명 */
.price_ment_style {
  font-size: clamp(8px, 2vw, 12px);
  color: #ff3c3c;
}

.price_ment_style_container {
  display: flex;
  justify-content: start;
  margin: 2px;
  font-size: clamp(10px, 2vw, 14px);
}

.price_ment_style_title {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  background: #ffe9e9;
  border: 1px solid #ffd3d3;
  border-radius: 2px;
  color: #ff3c3c;
  box-sizing: border-box;
  line-height: 1;
  font-weight: 700;
  margin: 3px;
  flex-shrink: 0;
}

.price_ment_style_content {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #ff3c3c;
  box-sizing: border-box;
  line-height: 1;
  font-weight: 400;
  margin: 3px;
}

/** TD테그 스타일 */
.tdStyle {
  font-size: clamp(8px, 2.5vw, 14px);
}

/** TH테그 스펜 스타일 */
th > span {
  font-size: clamp(7px, 2vw, 12px);
}

/** 첫번째 TD테그 스타일 */
.tdFirstStyle {
  font-size: clamp(8px, 2vw, 14px);
  font-weight: bold;
}

.redBox {
  color: #fff;
  background: #c65911;
}

.redListBox {
  background: #fce4d6;
}

.redLineTop {
  border: 3px solid #c65911;
}

.redLineCenter {
  border-left: 3px solid #c65911;
  border-right: 3px solid #c65911;
}

/* 마지막 tr의 모든 td에 하단 경계선 추가 */

.redLineBottom tr:last-child > td:nth-child(4) {
  border-bottom: 3px solid #c65911;
}

.blueLineTop {
  border: 3px solid #305496;
}

.blueLineCenter {
  border-left: 3px solid #305496;
  border-right: 3px solid #305496;
}

.blueBox {
  color: #fff;
  background: #305496;
}

.blueListBox {
  background: #d9e1f2;
}

.blueLineBottom tr:last-child > td:nth-child(4) {
  border-bottom: 3px solid #305496;
}

.PICP_container {
  margin-left: 10px;
}

.PICP_card {
  border: 1px solid lightgray;
  border-radius: 5px;
  margin: 5px 0px;
  padding: 5px;
}

.PICP_card_info_1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.PICP_card_info_1_planName {
  font-size: clamp(14px, 2.5vw, 20px);
}

.PICP_card_info_1_planInfo {
  text-align: right;
  gap: 5px;
  display: flex;
  flex-direction: column;
}

/* PICP_card_info_1_planInfo 의 첫번째 span 테그선택 */
.PICP_card_info_1_planInfo span:first-child {
  color: red;
  font-size: clamp(14px, 2.5vw, 18px);
}

/* PICP_card_info_1_planInfo 의 두번째 span 테그선택 */
.PICP_card_info_1_planInfo span:nth-child(2) {
  color: rgb(70, 70, 70);
  font-size: clamp(10px, 2vw, 16px);
}

.PICP_card_info_1_planDetail {
  font-size: clamp(8px, 2.5vw, 12px);
  color: rgb(70, 70, 70);
  margin-top: 7px;
}

.PICP_tag {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  font-size: clamp(7px, 2vw, 11px);
  background: #ebe9ff;
  border: 1px solid #d7d3ff;
  border-radius: 2px;
  color: #4e3cff;
  box-sizing: border-box;
  line-height: 1;
}

.PICP_tag_red {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  font-size: clamp(7px, 2vw, 11px);
  background: #ebe9ff;
  border: 1px solid #d7d3ff;
  border-radius: 2px;
  color: #d72922;
  box-sizing: border-box;
  line-height: 1;
}
/* =================================  구매테이블 디자인 종료 */

/* mobile_only */
@media (max-width: 991px) {
  .pd_main_container {
    width: 100%;
    flex-direction: column;
    /* max-width: 500px; */
  }

  .pd_top_content {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0 30px;
  }

  .pd_middle_content_container {
    flex: none;
    width: 100%;
  }

  .pd_bottom_content {
    flex: none;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .bottom_mobile_fix_height {
    display: flex;
  }

  .submit_btn_mobile_container {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(100%);
    background-color: #ffffff;
    z-index: 100;
    flex-direction: column;
    border-top: solid 1px #333;
  }

  .submit_info_wrap_mobile {
    padding: 5px 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
    font-size: 16px;
    color: #555;
  }

  .submit_info_wrap_mobile_dc {
    display: inline-block;
    width: 120px;
    font-size: 13px;
  }

  .submit_info_wrap_mobile_value {
    display: inline-block;
    width: 120px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: end;
  }

  .submit_info_wrap_mobile_label {
    display: inline-block;
    width: 80px;
    font-size: 14px;
    color: #555;
  }
}

/** 로딩 스타일 시작 */

/* ✅ 로딩 화면을 메인(main) 영역만 덮도록 */
main {
  position: relative; /* 로딩 스크린을 main 내부에 위치시키기 위해 */
}

main .loading-screen {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100; /* main 내부 기준이면 높지 않아도 됨 */
  opacity: 0;
  transition: opacity 0.6s ease;
}

main .loading-screen.show {
  display: flex;
  opacity: 1;
}

.loading-screen {
  position: fixed;
  inset: 0;
  background-color: #f4f6f8;
  display: none;
  /* 처음에는 안 보이게 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.loading-screen.show {
  display: flex;
  opacity: 1;
}

.spinner {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.spinner::before {
  content: "";
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  border: 4px solid #3498db;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 14px;
  color: #555;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/** 로딩 스타일 끝 */

.order_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 25px 0;
}

.order_input_wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.order_info_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex: 1;
}

.order_top_image_wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order_image_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
}

.order_top_modelname_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  padding-right: 20px;
}

.order_start_info_container {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: white;
  font-weight: 500;
}

.order_start_info_container_1 {
  border-radius: 7px;
  padding: 3px 7px;
  background-color: #0c1e5a;
  align-content: center;
}

.order_start_info_container_2 {
  border-radius: 7px;
  padding: 3px 7px;
  background-color: #3b0847;
  align-content: center;
}

.order_carrier_logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: auto;
}

.order_top_price_info_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.order_top_sec_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: solid 1px #333;
  box-sizing: border-box;
}

.A_B_order_top_sec_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.A_B_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  box-sizing: border-box;
  border: solid 1px #333;
}

.order_top_sec_A_B_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.A_B_order_top_sec_top {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  padding: 0 7px 5px 7px;
  background-color: #fff;
  width: 100%;
  color: #333;
  box-sizing: border-box;
  gap: 20px;
}

.order_top_sec_label_wrap_top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  gap: 5px;
}

.order_top_sec_label_wrap_top_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.order_top_sec_label_top {
  font-size: 20px;
  color: #333;
  font-weight: 500;
  letter-spacing: -1px;
}

.order_top_sec_group_top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}

.order_top_sec_value_top {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background-color: #007aff;
  padding: 3px 6px;
  box-sizing: border-box;
}

.order_top_sec_price_top {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
}

.order_top_sec_detail_label {
  font-size: 13px;
}

.order_top_sec_detail_value {
  font-size: 15px;
}

#order_installPayPlan {
  font-size: 18px;
}

.order_product_image {
  width: 70%;
}

.order_top_sec {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 7px;
  gap: 5px;
  background-color: #333;
  width: 100%;
  color: #fff;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.order_top_modelinfo_wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background-color: #ffffff;
}

.order_top_modelcode {
  font-size: 14px;
  color: #8b8b8b;
}

.order_top_modelname {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.order_top_content {
  flex: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  gap: 10px;
}

.order_actual_purchase_price {
  padding: 3px 7px;
  border: solid 1px red;
  border-radius: 3px;
  margin: 5px 0;
  color: red;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.order_top_modelname_container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.order_title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  padding: 0px 10px;
}

.order_title .line {
  margin-top: 3px;
  border: solid 1px #333;
}

.order_top_sec_price {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
}

.order_top_sec_label {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.order_top_sec_detail_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 991px) {
  .order_info_wrap {
    max-width: 100%;
  }

  .order_input_wrap {
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .order_container {
    flex-direction: column-reverse;
  }

  .A_B_container {
    border: none;
    border-bottom: solid 1px #333;
  }
  .order_top_sec_container {
    border: none;
  }

  .order_actual_purchase_price {
    flex-direction: column;
  }

  .pd_top_sec_detail_wrap_se {
    flex-direction: column;
    align-items: center;
  }

  .order_top_sec {
    gap: 0px;
  }

  .order_top_sec_price {
    margin-left: auto;
    padding: 0;
  }

  #order_installment_interest_ds {
    justify-content: center;
  }

  .A_B_order_top_sec_top {
    justify-content: space-between;
  }
}

/** ✅ 주문 정보 텍스트박스 스타일 */
.order_textinput_section {
  font-family: "Pretendard", sans-serif;
  max-width: 600px;
  margin: auto;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.order_textinput_title {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 2px solid #111;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.order_textinput_group {
  margin-bottom: 40px;
}

.order_textinput_label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.order_textinput_field {
  margin-bottom: 28px;
}

.order_textinput_field_address {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.order_textinput_inputwrap_group {
  display: flex;
  gap: 10px;
}

.order_textinput_inputwrap {
  position: relative;
}

.order_textinput_input,
.order_textinput_textarea {
  width: 100%;
  font-size: 16px;
  padding: 22px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.order_textinput_input:focus,
.order_textinput_textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}

.order_textinput_floating_label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  pointer-events: none;
  transition: 0.2s ease all;
  background: white;
  padding: 0 4px;
}

.order_textinput_input:focus + .order_textinput_floating_label,
.order_textinput_input:not(:placeholder-shown) + .order_textinput_floating_label,
.order_textinput_textarea:focus + .order_textinput_floating_label,
.order_textinput_textarea:not(:placeholder-shown) + .order_textinput_floating_label {
  top: 6px;
  font-size: 12px;
  color: #007bff;
  transform: none;
  background-color: transparent;
}

.order_textinput_textarea {
  resize: none;
  min-height: 60px;
}

.order_textinput_help {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  margin-left: 4px;
}

.order_textinput_error {
  font-size: 13px;
  color: #e63946;
  margin-top: 4px;
  margin-left: 4px;
  display: none;
}

.contract_toggle_card {
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  margin-bottom: 8px;
}

.contract_toggle_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
}

.contract_title {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.contract_index {
  font-weight: bold;
  margin-right: 4px;
}

.contract_main {
  font-weight: bold;
  color: #111;
  font-size: 15px;
}
.contract_toggle_btn {
  align-self: flex-start;
  font-size: 12px;
  padding: 2px 8px;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 10px;
  cursor: pointer;
  color: #999;
}

.contract_toggle_btn:hover {
  background-color: #f0f0f0;
}

.contract_toggle_body {
  background-color: #f9f9f9;
  padding: 0 12px; /* 패딩을 접힐 때 없애야 자연스러움 */
  margin-top: -4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.contract_toggle_body.open {
  max-height: 1000px; /* 충분히 큰 값 */
  padding: 12px;
  opacity: 1;
}

.contract_checkbox_wrap {
  display: flex;
  align-items: center;
  padding-left: 8px;
  white-space: nowrap;
}

/* 기본 체크박스 숨김 */
.contract_checkbox {
  display: none;
}

/* 체크박스 이미지 영역 */
.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../assets/chkimg/chk_off.png") no-repeat center center / contain;
  margin-right: 6px;
  vertical-align: middle;
}

/* 체크되었을 때 이미지 변경 */
.contract_checkbox:checked + .checkmark {
  background: url("../assets/chkimg/chk_on.png") no-repeat center center / contain;
}

.custom_checkbox {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.contract_content {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.contract_content p,
.contract_content ul {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 10px;
}

.contract_content ul {
  padding-left: 18px;
}

.contract_toggle_body iframe {
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 12px;
}

.same-checkbox {
  font-size: 14px;
  margin: -20px 0 20px 0;
}

.order_hide {
  display: none;
}

/* 주소창 오버레이 스타일 */
.address_overlay {
  display: none; /* 초기에는 숨김 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 검정색 배경 */
  z-index: 99; /* 레이어보다 낮은 z-index */
}

#order_address_layer {
  display: none;
  position: fixed;
  width: 85%;
  max-width: 500px;
  height: 80%;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ccc;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 101;
  overflow: hidden;
}

#order_address_layer .header {
  background-color: #001a36;
  color: white;
  padding: 10px;
  position: relative;
  font-size: 18px;
}

#order_address_layer .close-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background: none;
  color: white;
  border: none;
  font-size: 20px;
  line-height: 1;
}

.address-button-wrap {
  position: relative;
}
.address-search-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

/* emphasis 클래스가 추가될 경우 깜박이는 애니메이션 적용 */
@keyframes blinkBorder {
  0% {
    border-color: #ddd;
    border: solid 1px #ddd;
    box-shadow: 0 0 10px #ddd;
  }

  50% {
    border-color: red;
    box-shadow: 0 0 10px red;
  }

  100% {
    border-color: #ddd;
    box-shadow: 0 0 10px #ddd;
  }
}

/* emphasis 클래스 정의 */
.emphasis {
  animation: blinkBorder 1s infinite;
  /* 1초 간격으로 반복 */
  border-color: red;
  /* color: red; */
  /* box-shadow: 0 0 10px red; */
}

/* emphasis_color 클래스가 추가될 경우 font 깜빡임 애니매이션 적용 */

@keyframes blinkColor {
  0% {
    color: #333;
  }

  50% {
    color: red;
  }

  100% {
    color: #333;
  }
}
.emphasis_color {
  animation: blinkColor 1s infinite;
  /* 1초 간격으로 반복 */
  color: red;
}

@media (max-width: 991px) {
  .contract_title {
    flex-direction: column;
    align-items: start;
  }
}
/** 주문정보 텍스트 박스 끝 */

/** order_complete 스타일 시작 */
/* 컨테이너 */

.order_complete_main_container {
  margin: 30px 0;
  padding: 0;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order_complete_container {
  width: 100%;
  max-width: 600px;
  padding: 40px;
  background-color: #fff;
  /* 흰색 배경 */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* 은은한 그림자 */
  text-align: center;
  box-sizing: border-box;
  /* 패딩을 포함한 너비 계산 */
}

/* 헤더 섹션 */
.order_complete_header {
  margin-bottom: 30px;
}

.order_complete_icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.order_complete_title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  /* 진한 그레이 */
  margin: 10px;
}

.order_complete_customer_name {
  font-size: 20px;
  font-weight: bold;
  color: #444;
}

/* 안내 메시지 섹션 */
.order_complete_message_box {
  background-color: #f0f0f0;
  /* 연한 그레이 배경 */
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
  font-size: 16px;
}

.order_complete_message_box strong {
  color: #df2e2e;
  font-size: 18px;
  /* 강조 텍스트 */
}

/* 버튼 섹션 */
.order_complete_button_wrapper {
  margin-bottom: 30px;
}

.order_complete_telecom_button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #333;
  /* 어두운 그레이 */
  color: #fff;
  /* 흰색 텍스트 */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order_complete_telecom_button:hover {
  background-color: #000;
  /* 호버 시 블랙 */
}

/* 추가 정보 섹션 */
.order_complete_info_text {
  font-size: 15px;
  color: #777;
  /* 중간 그레이 */
  line-height: 1.5;
}

/* 푸터 (선택 사항) */
.order_complete_footer {
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
  /* 연한 그레이 */
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .order_complete_container {
    padding: 30px 20px;
  }

  .order_complete_title {
    font-size: 24px;
  }

  .order_complete_customer_name {
    font-size: 18px;
  }

  .order_complete_message_box {
    font-size: 15px;
  }

  .order_complete_message_box > p {
    margin-bottom: 10px;
  }

  .order_complete_telecom_button {
    padding: 12px 25px;
    font-size: 16px;
  }
}
/* order_complete 스타일 끝 */

/* ===== 약관 전용 스타일 시작 ===== */
.sub_info_section_title {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 0px;
  font-weight: 700;
  color: #111;
  padding: 12px 0 6px;
}

.sub_info_list {
  margin: 8px 0 0 20px;
  padding-left: 0;
  list-style: none;
}

.sub_info_list li {
  position: relative;
  margin: 6px 0;
  padding-left: 14px;
  color: #333;
  line-height: 1.7;
}

.sub_info_list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #999;
}

.sub_info_note {
  margin: 8px 0 0 20px;
  color: #333;
  line-height: 1.7;
}

.sub_info_note strong {
  font-weight: 700;
  color: #111;
}
/* ===== 약관 전용 스타일 끝 ===== */
