@charset "utf-8";

/* ============================================================
   goods.css — 产品列表 + 产品详情（参考雅迪车型页）
   ============================================================ */

.page-goods .site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.goods-page .site-wrap {
  width: var(--site-width-pct);
  max-width: var(--site-max-width);
}

/* ---------- 主内容 ---------- */
.goods-page {
  padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px);
  background: #fff;
}

.goods-section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.goods-section + .goods-section {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(8px, 1vw, 16px);
}

.goods-page__head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.goods-page__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  letter-spacing: .02em;
}

/* ---------- 下级分类 Tab ---------- */
.goods-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin-top: clamp(16px, 2vw, 24px);
}

.goods-subtabs__btn {
  appearance: none;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.goods-subtabs__btn:hover {
  color: var(--c-accent, #c8102e);
  border-color: rgba(200, 16, 46, .35);
}

.goods-subtabs__btn.is-active {
  color: #fff;
  background: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
}

.goods-card[hidden] {
  display: none !important;
}

/* ---------- 产品网格 ---------- */
.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.goods-card {
  min-width: 0;
  background: #f5f5f7;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.goods-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.goods-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.goods-card__pic {
  margin: 0;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px) clamp(12px, 1.5vw, 20px);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goods-card__pic img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .45s var(--ease);
}

.goods-card:hover .goods-card__pic img {
  transform: scale(1.04);
}

.goods-card__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 clamp(20px, 2.5vw, 28px) clamp(22px, 2.5vw, 28px);
  margin-top: auto;
}

.goods-card__name {
  margin: 0;
  width: 100%;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color .25s var(--ease);
}

.goods-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 4px;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.goods-card__cta .icon {
  font-size: 12px;
  transition: transform .25s var(--ease);
}

.goods-card:hover .goods-card__name,
.goods-card:hover .goods-card__cta {
  color: var(--c-accent, #c8102e);
}

.goods-card:hover .goods-card__cta .icon {
  transform: translateX(3px);
}

/* ---------- 分页 / 空状态 ---------- */
.goods-pager {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

.goods-pager a,
.goods-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 0 4px;
  padding: 0 10px;
  font-size: 14px;
  color: #666;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.goods-pager a:hover {
  color: var(--c-primary);
  border-color: rgba(0, 102, 204, 0.35);
}

.goods-pager .pagecurrent,
.goods-pager span.pagecurrent,
.goods-pager a.pagecurrent {
  color: #fff;
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.goods-empty {
  margin: 0;
  padding: 80px 0;
  text-align: center;
  font-size: 15px;
  color: var(--c-text-muted);
}

.goods-empty--section {
  padding: 32px 0 16px;
  text-align: left;
}

@media (max-width: 1024px) {
  .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .goods-page__title {
    font-size: 24px;
  }

  .goods-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .goods-card {
    border-radius: 12px;
  }

  .goods-card__pic {
    padding: 24px 20px 8px;
    aspect-ratio: 16 / 10;
  }

  .goods-card__foot {
    padding: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .goods-card,
  .goods-card__pic img,
  .goods-card__cta,
  .goods-card__cta .icon {
    transition: none;
  }

  .goods-card:hover {
    transform: none;
  }
}

/* ============================================================
   产品详情页 goods-read
   ============================================================ */

.page-goods-read .site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.goods-read {
  padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 8vw, 96px);
  background: #fff;
}

.goods-read .site-wrap {
  width: var(--site-width-pct);
  max-width: var(--site-max-width);
}

/* ---------- 面包屑 ---------- */
.goods-read__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: 13px;
  color: var(--c-text-muted);
}

.goods-read__crumb a {
  color: var(--c-text-sub);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.goods-read__crumb a:hover {
  color: var(--c-accent, #c8102e);
}

.goods-read__crumb-sep {
  color: #ccc;
}

.goods-read__crumb-current {
  color: #1a1a1a;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 概览：图库 + 信息 ---------- */
.goods-read__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.goods-gallery__stage {
  position: relative;
  background: #f5f5f7;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.goods-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 4vw, 48px);
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.goods-gallery__main img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .45s var(--ease), opacity .2s var(--ease);
}

.goods-gallery__main img.is-switching {
  opacity: .35;
}

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

.goods-gallery__main:hover img.is-switching {
  transform: none;
}

.goods-gallery__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.goods-gallery__zoom:hover {
  background: var(--c-accent, #c8102e);
  color: #fff;
}

.goods-gallery__zoom-icon {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.goods-gallery__zoom-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}

.goods-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.goods-gallery__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f5f5f7;
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.goods-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.goods-gallery__thumb:hover,
.goods-gallery__thumb.is-active {
  border-color: var(--c-accent, #c8102e);
  box-shadow: 0 0 0 1px rgba(200, 16, 46, .12);
}

.goods-gallery__thumbs:has(.goods-gallery__thumb:only-child) {
  display: none;
}

.goods-read__series {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent, #c8102e);
}

.goods-read__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  letter-spacing: .02em;
}

.goods-read__summary {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-sub);
}

.goods-read__summary--muted {
  color: #888;
}

.goods-read__summary p {
  margin: 0 0 .6em;
}

.goods-read__summary p:last-child {
  margin-bottom: 0;
}

.goods-read__meta {
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.goods-read__meta-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
}

.goods-read__meta-row dt {
  margin: 0;
  color: var(--c-text-muted);
}

.goods-read__meta-row dd {
  margin: 0;
  color: #1a1a1a;
  font-weight: 500;
}

.goods-read__meta-row dd a {
  color: inherit;
  text-decoration: none;
}

.goods-read__meta-row dd a:hover {
  color: var(--c-accent, #c8102e);
}

.goods-read__price {
  color: var(--c-accent, #c8102e) !important;
  font-size: 18px;
  font-weight: 700 !important;
}

.goods-read__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.goods-read__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.goods-read__btn--primary {
  color: #fff;
  background: var(--c-accent, #c8102e);
  border: 1px solid var(--c-accent, #c8102e);
}

.goods-read__btn--primary:hover {
  background: #a80d26;
  border-color: #a80d26;
  transform: translateY(-1px);
}

.goods-read__btn--ghost {
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
}

.goods-read__btn--ghost:hover {
  color: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
}

.goods-read__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.goods-read__points li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--c-text-sub);
}

.goods-read__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent, #c8102e);
}

/* ---------- 吸顶 Tab ---------- */
.goods-read__tabs {
  position: sticky;
  top: var(--header-h, 60px);
  z-index: 40;
  margin-bottom: clamp(32px, 4vw, 48px);
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.goods-read__tabs-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.goods-read__tab {
  position: relative;
  flex: 0 0 auto;
  padding: 16px 8px;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}

.goods-read__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background .2s var(--ease);
}

.goods-read__tab:hover,
.goods-read__tab.is-active {
  color: var(--c-accent, #c8102e);
}

.goods-read__tab.is-active::after {
  background: var(--c-accent, #c8102e);
}

/* ---------- 详情 / 相关 ---------- */
.goods-read__detail,
.goods-read__related {
  scroll-margin-top: calc(var(--header-h, 60px) + 64px);
}

.goods-read__section-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.goods-read__section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: #1a1a1a;
}

.goods-read__section-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-muted);
}

.goods-read__body {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
}

.goods-read__body p {
  margin: 0 0 1em;
}

.goods-read__body strong,
.goods-read__body b {
  color: #1a1a1a;
  font-weight: 700;
}

.goods-read__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.2em auto;
  border-radius: 12px;
}

.goods-read__body h2,
.goods-read__body h3,
.goods-read__body h4 {
  margin: 1.6em 0 .6em;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.goods-read__body h2 { font-size: 1.45em; }
.goods-read__body h3 { font-size: 1.25em; }

.goods-read__body table {
  width: 100%;
  margin: 1.2em 0;
  border-collapse: collapse;
  font-size: 14px;
}

.goods-read__body th,
.goods-read__body td {
  padding: 12px 16px;
  border: 1px solid #eee;
  text-align: left;
}

.goods-read__body th {
  background: #f8f8f8;
  font-weight: 600;
  color: #1a1a1a;
}

.goods-read__body video,
.goods-read__body iframe {
  display: block;
  max-width: 100%;
  margin: 1.2em auto;
  border: 0;
  border-radius: 12px;
}

.goods-read__empty {
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
  background: #f5f5f7;
  border-radius: 16px;
}

.goods-read__empty p {
  margin: 0 0 20px;
  color: var(--c-text-sub);
}

.goods-read__related {
  margin-top: clamp(56px, 7vw, 88px);
}

.goods-read__section-head--related {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.goods-related__nav {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.goods-related__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}

.goods-related__btn:hover:not(:disabled) {
  color: #fff;
  border-color: var(--c-accent, #c8102e);
  background: var(--c-accent, #c8102e);
}

.goods-related__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.goods-related {
  position: relative;
}

.goods-related__viewport {
  overflow: hidden;
}

.goods-related__track {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  transition: transform .45s var(--ease);
  will-change: transform;
}

.goods-related__slide {
  flex: 0 0 calc((100% - 1 * clamp(16px, 2vw, 24px)) / 2);
  min-width: 0;
}

.goods-related__slide .goods-card__link {
  height: 100%;
}

/* ---------- 产品留言 ---------- */
.goods-read__message {
  margin-top: clamp(56px, 7vw, 88px);
  scroll-margin-top: calc(var(--header-h, 60px) + 64px);
}

.goods-read__message-box {
  padding: clamp(24px, 3vw, 40px);
  background: #f5f5f7;
  border-radius: 20px;
}

.goods-msg__product {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.goods-msg__product-label {
  font-size: 13px;
  color: var(--c-text-muted);
}

.goods-msg__product-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.goods-msg__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.goods-msg__field {
  min-width: 0;
}

.goods-msg__field--full {
  grid-column: 1 / -1;
}

.goods-msg__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.goods-msg__input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.goods-msg__input:focus {
  border-color: rgba(200, 16, 46, .45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .08);
}

.goods-msg__textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.7;
}

.goods-msg__code {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goods-msg__code .goods-msg__input {
  flex: 1;
}

.goods-msg__code img {
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
}

.goods-msg__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .goods-msg__grid {
    grid-template-columns: 1fr;
  }

  .goods-read__message-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .goods-msg__actions {
    flex-direction: column;
  }

  .goods-msg__actions .goods-read__btn {
    width: 100%;
  }
}

.goods-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.goods-related:not(:has(.goods-related__slide)),
.goods-read__related:has(.goods-related__track:not(:has(.goods-related__slide))) {
  display: none;
}

.goods-read__related:has(.goods-related__track:not(:has(.goods-related__slide))) {
  display: none;
}

/* ---------- 底栏上下篇 ---------- */
.goods-read__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}

.goods-read__pager {
  flex: 1 1 280px;
}

.goods-read__pager-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.goods-read__pager-item:last-child {
  margin-bottom: 0;
}

.goods-read__pager-label {
  color: var(--c-text-muted);
  flex: 0 0 auto;
}

.goods-read__pager-item a {
  color: #1a1a1a;
  text-decoration: none;
}

.goods-read__pager-item a:hover {
  color: var(--c-accent, #c8102e);
}

.goods-read__pager-empty {
  color: #bbb;
}

.goods-read__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.goods-read__back:hover {
  color: var(--c-accent, #c8102e);
  border-color: var(--c-accent, #c8102e);
}

/* ---------- 灯箱 ---------- */
.goods-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}

.goods-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.goods-lightbox[hidden] {
  display: none !important;
}

.goods-lightbox.is-open[hidden] {
  display: flex !important;
}

.goods-lightbox__img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}

.goods-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.goods-lightbox__close:hover {
  background: rgba(255, 255, 255, .22);
}

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

  .goods-related__slide {
    flex-basis: calc((100% - clamp(16px, 2vw, 24px)) / 2);
  }

  .goods-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .goods-gallery__stage {
    border-radius: 14px;
    aspect-ratio: 1 / 1;
  }

  .goods-gallery__thumb {
    width: 60px;
    height: 60px;
  }

  .goods-read__title {
    font-size: 26px;
  }

  .goods-read__actions {
    flex-direction: column;
  }

  .goods-read__btn {
    width: 100%;
  }

  .goods-read__meta-row {
    grid-template-columns: 76px 1fr;
  }

  .goods-related__slide {
    flex-basis: 100%;
  }

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

  .goods-read__section-head--related {
    align-items: center;
  }

  .goods-related__btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .goods-read__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .goods-read__back {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .goods-gallery__main img,
  .goods-read__btn {
    transition: none;
  }

  .goods-gallery__main:hover img,
  .goods-read__btn--primary:hover {
    transform: none;
  }
}
