.goods-description {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  margin-top: 46px;
  align-items: start;
}

.goods-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  padding: 10px;
}

.goods-image-slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.goods-slides {
  height: 420px !important;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-elevated);
}

.goods-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.goods-image:hover .goods-img {
  transform: scale(1.03);
}

.goods-slide-nav {
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  padding: 9px;
}

.goods-thumbs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.goods-thumbs li a {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-elevated);
}

.goods-thumbs li.uk-active a {
  border-color: var(--primary-color);
}

.goods-thumbs img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.hq-downloads {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hq-download-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
}

.hq-download-btn:hover {
  background: #7f18e6;
}

.hq-download-note {
  font-size: 13px;
  color: var(--muted-text);
}

.goods-title {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--text-color);
}

.goods-header {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 24px;
}

.goods-collection,
.goods-collection2 {
  color: var(--muted-text);
}

.collection-name,
.factory-name {
  color: var(--accent-gold);
  text-decoration: none;
}

.collection-name:hover,
.factory-name:hover {
  text-decoration: underline;
}

.goods-info .goods-description {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
}

.spec {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--surface-elevated);
}

.spec-title {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-block .price {
  color: #d7263d;
}

.price-old {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--muted-text);
  font-size: 20px;
}

.price-old span:first-child {
  text-decoration: line-through;
}

.similar-products {
  margin-top: 70px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-color);
}

.similar-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.similar-card > a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.similar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.similar-image {
  width: 100%;
  height: 300px;
  background: var(--surface-elevated);
  overflow: hidden;
  position: relative;
}

.similar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.similar-card:hover img {
  transform: scale(1.03);
}

.similar-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.similar-features {
  display: flex;
  flex-wrap: wrap;
  color: var(--muted-text);
  gap: 6px;
}

.similar-features span {
  border: 1px solid var(--border-color);
  padding: 3px 7px;
  font-size: 12px;
  background: var(--surface-elevated);
  border-radius: 4px;
}

.similar-size {
  font-size: 14px;
  color: var(--muted-text);
}

.similar-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
}

.similar-price {
  margin-top: auto;
  font-size: 15px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.similar-price-old {
  color: var(--muted-text);
  text-decoration: line-through;
  font-size: 13px;
}

.similar-price-current {
  color: #d7263d;
  font-size: 15px;
  font-weight: 700;
}

.uk-slidenav {
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  padding: 10px;
}

.badge {
  position: absolute;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
}

.badge-sale {
  top: 10px;
  left: 10px;
  background: var(--primary-color);
  color: #fff;
}

.badge-new {
  top: 10px;
  right: 10px;
  background: #0f111a;
  color: #fff;
}

.badge-preorder {
  top: auto;
  right: 10px;
  bottom: 10px;
  left: auto;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #d7263d;
  color: #fff;
}

[data-theme="dark"] .badge-new {
  background: #050607;
}

[data-theme="dark"] .goods-title,
[data-theme="dark"] .goods-collection,
[data-theme="dark"] .goods-collection2,
[data-theme="dark"] .spec-title,
[data-theme="dark"] .spec-value,
[data-theme="dark"] .price,
[data-theme="dark"] .section-title,
[data-theme="dark"] .similar-title,
[data-theme="dark"] .similar-size,
[data-theme="dark"] .similar-price,
[data-theme="dark"] .similar-features {
  color: #fff;
}

[data-theme="dark"] .similar-features span {
  color: #fff;
  border-color: #4a4d63;
}

@media (max-width: 1100px) {
  .goods-description {
    grid-template-columns: 400px 1fr;
    gap: 28px;
  }

  .goods-image {
    height: auto;
  }

  .goods-info .goods-description {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .goods-description {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }

  .goods-image {
    height: auto;
  }

  .goods-slides {
    height: 340px !important;
  }

  .goods-header {
    grid-template-columns: 1fr;
  }

  .goods-info .goods-description {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .goods-image {
    height: auto;
  }

  .goods-slides {
    height: 280px !important;
  }

  .goods-thumbs img {
    height: 56px;
  }

  .goods-info .goods-description {
    grid-template-columns: 1fr;
  }
}
