
@font-face {
    font-family: 'S-CoreDream-9Black';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2204@1.0/HallymGothic-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SDSwagger';
    src: url('./SDSwaggerTTF.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'yg-jalnan';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-Black';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

body {
  font-size: 13px;
  font-family: 'S-CoreDream-9Black';
  line-height:150%;
}
a {
  text-decoration: none;
}

.highlight {
  font-weight: bold;
  background-color: yellow;
}

header {
  text-align: center;
  display: block;
  margin: 0 auto;
  }
  .top_image {
  width: 650px;
  height: 150px;
  }
.searchHeader {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  display: block;
  margin: 0 auto;
}
.search { 
  font-size: 16px;
  width: 100px; 
  padding: 5px 5px;
  margin: 5px;
  border: solid 1px #969696;
  border-radius: 5px;
}
.search::placeholder {
  color: #BBBFCA;
}
.marketing {
  height: 40px;
  margin: 15px;
  text-align: right;
  line-height: 20px;
}
.enter {
  display: none;
}

.phone_table {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.phone_slide {
  float: left;
  width: 350px;
  margin: 2px;
  padding: 5px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.phone_slide:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.phone_img {
  float: left;
  width: 150px;
  height: 150px;
  margin: 1px auto;
}
.phone_img2 {
  width: 100%;
  height: 100%;
}
.phone_name {
  /* height: 45px; */
  text-align: left;
  font-weight: bold;
  color: black;
}
.specification {
  /* height: 100px; */
  text-align: left;
  color: black;
}
.ProductTitleArea {
  float: left;
  text-align: left;
  height: 160px;
  width: 195px;
  word-break: break-all;
  overflow: hidden;
  line-height: 1.46;
  margin: 0px 0px 0px 5px;
}

.recommScore {
  font-family: 'Pretendard-Black';
  color: #ff0000; /* 텍스트 색상: 녹색 (저렴함을 강조) */
  background-color: #e8f5e9; /* 배경 색상: 연한 녹색 */
  padding: 1px 5px; /* 내부 여백 */
  border-radius: 5px; /* 모서리 둥글게 */
  display: inline-block; /* 인라인 블록 요소 */
  text-align: center; /* 텍스트 중앙 정렬 */
  transition: transform 0.3s ease-in-out;
  font-size: 15px;
  font-weight: bold;
}
.recommScore::before {
  content: "\1F4B8"; /* 돈주머니 아이콘 (유니코드) */
  margin-right: 8px; /* 아이콘과 텍스트 사이 간격 */
}
.recommScore:hover {
  transform: scale(1.1); /* 마우스를 올렸을 때 확대 효과 */
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* 툴팁 텍스트 스타일 */
.tooltiptext {
    font-family: 'S-CoreDream-9Black';
    font-weight: normal;
    font-size: 11px;
    visibility: hidden;
    /* width: 170px; */
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 5px;
    padding: 5px;
    letter-spacing: -0.5px;
    
    /* 위치 설정 */
    position: absolute;
    z-index: 1;
    bottom: -50px; /* 요소 툴팁을 표시 */
    left: 42%;
    margin-left: -60px;
    
    /* 투명도 및 애니메이션 설정 */
    opacity: 0;
    transition: opacity 0.3s;
}

/* 마우스를 올렸을 때 툴팁 표시 */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.lowestPrice {
  text-align: right;
  color: #000000;
}

.returnProduct{
  text-align: right;
  color: #000000;
}

.price_text{
  width: 350px;
}
.sale,
.price,
.price_text,
.refer,
.coupon {
  text-align: right;
}
.sale_price {
  font-weight: bold;
  font-size: 15px;
}
.sale {
  background-color: #e74c3c;
  color: white;
  padding: 2px 5px;
  border-radius: 5px;
  font-weight: bold;
}
.price {
  color: black;
  text-decoration: line-through;
}
.sale_price {
  color: #ff0000;
}
.refer {
  color: #AE3A8B;
}
.coupon {
  color: black;
}

.specs-button {
  background-color: #007bff; /* Button background color */
  color: white; /* Text color */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  padding: 2px 5px; /* Padding for button size */
  font-size: 1em; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth background color transition */
}

.specs-button:hover {
  background-color: #0056b3; /* Darker background on hover */
}

.specs-button:active {
  background-color: #004494; /* Even darker background on click */
}

/* 추가 스타일링: 텍스트가 없는 버튼에 기본 스타일을 제거 */
.specs-button:empty {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: default; /* Default cursor for empty button */
  transition: none; /* Remove transition effect */
}

.specs-container {
  margin-top: 5px;
  text-align: right;
}

.searchText {
  visibility: hidden;
}

@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}


/* 전체 메뉴 스타일 */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* 1단계 메뉴 스타일 */
.menu-container {
  display: flex;
  justify-content: center;
  background-color: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu {
  display: flex;
  font-size: 16px;
  color: #ffffff;
}

ul a{
  color: white;
}

.menu > li {
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
  
  white-space: nowrap;
}

.menu > li:hover {
  background-color: #555;
}

/* 2단계 메뉴 스타일 */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #666;
  color: white;
  padding: 0;
  white-space: nowrap;
}

.submenu > li {
  padding: 10px;
  cursor: pointer;
}

.submenu > li:hover {
  background-color: #888;
}

/* 1단계 메뉴에 마우스를 올리면 2단계 메뉴가 나타남 */
.menu > li:hover .submenu {
  display: block;
}

@media screen and (max-width:1024px) {
  /* 타블렛, 모바일 가로 */
  .marketing {
    padding-right: 10%;
  }
  .phone_slide {
    margin: 0;
  }
  .phone_slide:nth-child(2n) {
    border-left: none;
  }
  .phone_slide:nth-child(n+3) {
    border-top: none;
  }
}

@media screen and (max-width:780px) {
  /* 모바일 */

  .top_image {
    width: 100%;
    height: auto;

}
}