.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.detail-overlay.active { display: flex; }

.detail-panel {
  width: min(860px, 95vw);
  height: 88vh;
  background: #fcfaf7;
  display: flex;
  overflow: hidden;
}

.detail-img {
  flex: 1;
  background: #f5f3ee;
}
.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  width: 340px;
  padding: 40px 32px;
  overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
}

.close {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none; border: none;
  font-size: 24px; color: #3a3a3a;
  cursor: pointer;
  transition: opacity 0.2s;
}
.close:hover { opacity: 0.5; }

.badge-row {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.badge-row span {
  font-size: 11px; letter-spacing: 0.5px;
  padding: 4px 12px;
  background: transparent; color: #7a2e3b;
  border: 1px solid #7a2e3b;
}

.price-lg {
  font-size: 24px; font-weight: 500;
  margin: 20px 0 12px;
  color: #1a1a1a;
}

.desc {
  font-size: 13px; color: #6b6864;
  line-height: 1.7; margin-bottom: 8px;
}

.btn-kakao {
  display: block; width: 100%;
  margin-top: 28px; padding: 14px;
  background: #1a1a1a; color: #fff;
  border: none; font-size: 13px; letter-spacing: 0.5px;
  text-align: center; cursor: pointer;
  transition: background 0.25s;
}
.btn-kakao:hover { background: #3a3a3a; }

/* mobile */
@media (max-width: 768px) {
  .detail-panel { flex-direction: column; height: 95vh; }
  .detail-img { height: 260px; }
  .detail-info { width: 100%; padding: 28px 20px; }
}
