body {
  max-width: 1200px;
  margin: 0 auto; 
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #fff;
  box-sizing: border-box;
}
 
a {
    text-decoration: none;
    color: inherit;
}

.container {
  max-width: 1200px;
  margin: 60px 0 0 0 ;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.image-slider {
  text-align: center;
  margin-bottom: 10px;
}

.image-slider img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid #eee;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnails img:hover {
  transform: scale(1.05);
  border-color: #999;
}

.goods-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.goods-price-location {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #333;
}

.status-view-likes {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #666;
}

.seller-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.seller-profile {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
}

.seller-details {
  flex-grow: 1;
}

.like-button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.action-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
}

.action-buttons button:hover {
  background: #ddd;
}

.goods-description {
  margin-top: 20px;
  line-height: 1.6;
}

.edit-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.edit-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
}

.section-title {
  margin-top: 40px;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.related-products {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}

.related-products .card {
  flex: 0 0 auto;
  width: 140px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
  padding: 10px;
}

.related-products .card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.related-products .card-title {
  font-size: 0.9em;
  color: #333;
}

.related-products .card-price {
  font-size: 0.9em;
  color: #555;
}

/* 신고 팝업 스타일 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.modal-content textarea {
  width: 100%;
  height: 80px;
  resize: none;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95em;
  box-sizing: border-box;
}

.modal-actions {
  margin-top: 10px;
  text-align: right;
}

.modal-actions button {
  margin-left: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.goods-section{
    padding: 1px !important;
}

#submitReport {
  background-color: #ff4d4d;
  color: white;
}

#cancelReport {
  background-color: #ccc;
}