/* 상품 상세페이지 제목 크기 조정 (h2 태그 유지, h3 수준으로 축소) */
.detail-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .detail-title {
    font-size: 1.1rem;
  }
}

div[id^="item-"] > h3 > a {
  font-size: 1.02rem;
  line-height: 1.25;
}

div[id^="item-"] .final-price-value {
  font-size: 1.24rem;
}

.coupon-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-top: 12px;
}

.coupon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
}

.coupon-1 {
  background: linear-gradient(180deg, #2c7be5, #1a5edb);
  color: #fff;
}

.coupon-2 {
  background: linear-gradient(180deg, #28a745, #1e7e34);
  color: #fff;
}

.coupon-3 {
  background: linear-gradient(180deg, #ff7a00, #e85c00);
  color: #fff;
}

.coupon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.coupon-btn:active {
  transform: scale(0.96);
}

.coupon-icon {
  display: flex;
  align-items: center;
}

.copied {
  animation: pulse 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.detail-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 0.8rem;
}

.admin-point-editor {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100;
  width: min(300px, calc(100% - 24px));
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  padding: 0.8rem;
}

.admin-point-editor h4 {
  margin: 0 0 .55rem;
  font-size: .92rem;
}

.admin-point-editor input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: .45rem .55rem;
  margin-top: .35rem;
  margin-bottom: .55rem;
}

.admin-point-actions {
  display: flex;
  justify-content: flex-end;
  gap: .35rem;
}

.admin-point-actions button {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: .35rem .58rem;
  font-size: .78rem;
  cursor: pointer;
}

.admin-point-actions .danger {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}
