
.product-breadcrumb {
  padding: 1rem 0;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.product-breadcrumb a { color: var(--accent); }
.product-breadcrumb a:hover { text-decoration: underline; }
.product-breadcrumb span { margin: 0 0.375rem; }

.product-main {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--spacing-xl);

  align-items: start;
}

.gallery {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.gallery-main {
  position: relative;
  background: linear-gradient(180deg, #fafafa, #f0f0f0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
}

.gallery-arrow:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-thumbs {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.gallery-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb.active {
  border-color: var(--accent);
}

.gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info { 
  padding-top: 0.5rem; 
  max-width: 80%;
}

.product-series-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.product-pricing {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
}

.pricing-tier + .pricing-tier {
  border-top: 1px solid var(--border-light);
}

.pricing-tier-label {
  font-size: var(--fs-large);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.pricing-tier-prices {
  text-align: right;
}

.pricing-tier-prices .original {
  font-size: var(--fs-large);
  color:rgb(243, 116, 25);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.125rem;
}

.pricing-tier-prices .sale {
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--price-sale);
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin: bottom 40px;
}

.product-actions .btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
}

.product-key-specs {
  font-size: var(--fs-small);
  color:rgb(9, 37, 149);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.specs-section {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--border);
}

.specs-section h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table th {
  background: rgba(0,87,183,0.06);
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border);
}

.specs-table td {
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: rgba(0,87,183,0.02); }

.packing-section {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.packing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.packing-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.packing-box h3 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--accent);
}

.packing-box ul {
  list-style: none;
}

.packing-box li {
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.packing-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.shipping-banner {
  background: var(--gradient-series);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  margin: var(--spacing-l) 0;
}

.shipping-banner h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.shipping-banner p { opacity: 0.85; font-size: var(--fs-small); }

@media (max-width: 960px) {
  .product-main {display: grid;
    /* 确保已声明 grid 布局 */
    grid-template-columns: 1fr;
    justify-items: center;
    /* 让所有子元素在水平方向居中 */}
        .product-main>* {
          width: 100%;
          /* 强制子元素撑满宽度 */
          max-width: 600px;
          /* 或者设置一个你觉得舒服的最大宽度 */
          box-sizing: border-box;
        }
  .gallery { position: static; }
  .packing-grid { grid-template-columns: 1fr; }

}
