.detail-page {
  max-width: 1210px;
  margin: 32px auto;
  padding: 0 24px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}
.breadcrumb a {
  text-decoration: underline;
}
.breadcrumb a:hover {
  color: #2a2a2a;
}

.detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.main-image {
  width: 100%;
  height: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-strip {
  display: flex;
  gap: 12px;
}
.thumb {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: .2s ease;
}
.thumb:hover,
.thumb.active {
  border-color: #2a2a2a;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
}
.product-badge {
  display: inline-block;
  background: #2a2a2a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.stars {
  color: #ffa500;
  font-size: 20px;
}
.rating-text {
  font-size: 15px;
  color: #666;
}
.review-link {
  color: #2a2a2a;
  text-decoration: underline;
  cursor: pointer;
}

.price-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.current-price {
  font-size: 36px;
  font-weight: 800;
  color: #2a2a2a;
}
.original-price {
  font-size: 24px;
  color: #999;
  text-decoration: line-through;
}
.discount-badge {
  background: #ff4444;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.price-note {
  font-size: 14px;
  color: #666;
}

.options-section {
  margin-bottom: 32px;
}
.option-group {
  margin-bottom: 24px;
}
.option-label {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  display: block;
}
.option-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.option-btn {
  padding: 12px 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: .2s ease;
}
.option-btn:hover {
  border-color: #2a2a2a;
}
.option-btn.selected {
  border-color: #2a2a2a;
  background: #2a2a2a;
  color: #fff;
}

.quantity-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.qty-label {
  font-weight: 700;
  font-size: 16px;
}
.qty-controls {
  display: flex;
  border: 2px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  transition: .15s ease;
}
.qty-btn:hover {
  background: var(--pill);
}
.qty-input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border-left: 2px solid var(--line);
  border-right: 2px solid var(--line);
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.action-buttons .btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 16px;
}

.product-meta-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.meta-row:last-child {
  border-bottom: none;
}
.meta-label {
  font-weight: 600;
  color: #666;
}
.meta-value {
  font-weight: 700;
}

.description-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 48px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
  background: #fafafa;
}
.tab:hover {
  background: #f0f0f0;
}
.tab.active {
  background: #fff;
  border-bottom: 3px solid #2a2a2a;
}
.tab-content {
  padding: 32px;
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-content h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}
.tab-content p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: #555;
}
.tab-content ul {
  margin: 16px 0;
  padding-left: 24px;
}
.tab-content li {
  margin: 8px 0;
  line-height: 1.7;
  color: #555;
}

.review-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.review-item:last-child {
  border-bottom: none;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.reviewer-name {
  font-weight: 700;
  font-size: 16px;
}
.review-date {
  font-size: 14px;
  color: #888;
}
.review-stars {
  color: #ffa500;
  margin-bottom: 8px;
}
.review-text {
  color: #555;
  line-height: 1.7;
}
