
/* 리스트 */
.list {
  width: 600px;
  margin: 30px auto;
}

/* 카드 */
.card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  transition: 0.2s;
}

/* hover */
.card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* 프로필 */
.profile {
  width: 70px;
  height: 70px;
  background: #eee;
  border-radius: 12px;
  margin-right: 15px;
}

/* 정보 */
.info {
  flex: 1;
}

/* 이름 */
.title {
  font-size: 16px;
  font-weight: bold;
}

.num {
  font-size: 12px;
  color: #999;
  margin-left: 5px;
}

/* 설명 */
.desc {
  font-size: 13px;
  color: #666;
  margin: 5px 0;
}

/* 가격 */
.price {
  font-size: 14px;
  font-weight: bold;
  color: #d19a00;
}

.price span {
  font-size: 12px;
  color: #999;
}

/* 태그 */
.tags {
  margin-top: 5px;
}

.tags span {
  font-size: 12px;
  color: #00a67e;
  margin-right: 5px;
}

/* 후기 */
.review {
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

/* 오른쪽 */
.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 하트 */
.heart {
  font-size: 18px;
  color: #ccc;
  cursor: pointer;
}

/* 버튼 */
.btn {
  background: #22c55e;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.btn:hover {
  background: #16a34a;
}

.btn2 {
  background: #004080;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.btn2:hover {
  background: #004080;
}


.btn3 {
  background: #ff7575;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.btn3:hover {
  background: #ff7575;
}


/* 전체 배경 */
body {
  font-family: "Noto Sans KR", sans-serif;
}

/* 그리드 */
.menu-grid {
  width: 360px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* 버튼 */
.menu-btn {
  background: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 12px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
}

/* 아이콘 */
.menu-btn .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

/* 텍스트 */
.menu-btn .text {
  font-size: 14px;
  color: #333;
}

/* hover 효과 */
.menu-btn:hover {
  background: #e9e9e9;
  transform: translateY(-2px);
}

/* 클릭 느낌 */
.menu-btn:active {
  transform: translateY(0);
  background: #ddd;
}
  .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
    color: #999;
  }

  .title {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
  }

  select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
  }

  .row {
    display: flex;
    gap: 8px;
  }

  .row select {
    flex: 1;
  }

  .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff8a00;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
  }

  .submit-btn:hover {
    background-color: #e67600;
  }


  input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: #ff8a00; /* 주황 포인트 */
  box-shadow: 0 0 0 2px rgba(255,138,0,0.15);
}

.modal {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

   z-index: 1000; /* overlay보다 높게 */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6); /* 부모창 어둡게 */
  
  display: none;
  z-index: 999;
  
  }



  /********운세결과****************/
.modal2 {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

   z-index: 1000; /* overlay보다 높게 */
}

.overlay2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6); /* 부모창 어둡게 */
  
  display: none;
  z-index: 999;
  
  }

    .close-btn2 {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
    color: #999;
  }

 /********운세결과****************/
