.detail-container {
  padding: 2rem 5% 4rem;
  max-width: 1200px;
  margin: 5rem auto 0;
  animation: fadeIn 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
.detail-content {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
  border: 1px solid rgba(44, 36, 32, 0.04);
}
.detail-image-box {
  flex: 1;
  min-width: 300px;
}
.detail-image-box img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.detail-info-box {
  flex: 1.2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-info-box h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
  color: var(--espresso);
}
.selection-group {
  margin-bottom: 1.5rem;
}
.selection-group h4 {
  margin-bottom: 0.5rem;
  color: var(--espresso-muted);
  font-weight: 500;
  font-size: 0.85rem;
}
.color-options,
.size-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.color-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.color-btn.active {
  border-color: var(--accent);
  transform: scale(1.15);
}
.size-btn {
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(44, 36, 32, 0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.8rem;
  background: var(--white);
  color: var(--espresso);
  transition: var(--transition-fast);
}
.size-btn:hover {
  border-color: rgba(44, 36, 32, 0.2);
}
.size-btn.active {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--white);
}
.detail-info-box .price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}
