@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

*{margin:0; padding:0; box-sizing:border-box;}
body{
  font-family: 'Noto Sans KR', sans-serif;
  background:#121212;
  color:#eee;
}
header{
  padding:20px;
  background:#000;
  position:sticky; top:0; z-index:100;
}
header h1{
  font-size:24px;
  font-weight:900;
}

.logo {
  width: 50px;
  background: linear-gradient(45deg, #00f5a0, #00d9f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(-20px);
  animation: logoFadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
}
@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-box{
  margin-top:12px;
}
.search-box input{
  width:100%; padding:14px;
  border:none; border-radius:10px;
  background:#1e1e1e;
  color:#fff;
  font-size:16px;
}
main{
padding:20px;
display:flex;
flex-direction:column;
gap:20px;
max-width:600px;
margin:0 auto;
}

.product {
  background: #ffffff;
  border-radius: 20px;
  color: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative; /* 오버레이 위치 기준 */
}

.product img {
  width: 100%;
  height: auto;
  display: block;
}
.product.sold img {
  opacity: 0.4;
}
.product a {
  display: block;
  position: relative; /* 오버레이 기준 */
}

.product .soldout {  z-index: 1; /* 이미지를 덮게 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    font-family: "Archivo Black", sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #000000;
  padding: 10px 40px;
  border-radius: 10px;
}

.product .info{
  padding:16px 18px;
}
.product .info h3{
  font-size:20px;
  font-weight:700;
  margin-bottom:6px;
}
.product .info p{
  font-size:14px;
  color:#636363;
}
.product .price{
  padding:0 18px 18px;
  font-weight:900;
  color:#c70028;
  font-size:18px;
}
nav{
  z-index: 12;
  position:fixed;
  bottom:0; left:0;
  width:100%;
  background:#000;
  display:flex;
  justify-content:space-around;
  padding:14px 0;
  border-top:1px solid #222;
}
nav button{
  background:none;
  border:none;
  color:#999;
  font-size:13px;
  font-weight:700;
  display:flex;
  flex-direction:column;
  align-items:center;
  cursor:pointer;
  transition:color 0.3s;
}
nav button.active{
  color:#ff2f57;
}
nav button:before{
  content:'';
  display:block;
  width:24px; height:24px;
  background:#333;
  border-radius:50%;
  margin-bottom:6px;
}