.detailPage {
  padding-top: 1rem;
  background: #fff;
}

.detailLayout {
  padding-top: .8rem;
  padding-bottom: 1.2rem;
  display: grid;
  grid-template-columns: 3.2rem 12.4rem;
  gap: .4rem;
  align-items: start;
}

.detailSidebar {
  margin: 0;
}

.detailCanvas {
  padding: .4rem;
  border: .01rem solid #e6e6e6;
  border-radius: .05rem;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(85, 85, 85, 0.25);
}

.detailOverview {
  display: flex;
  gap: .5rem;
}

.detailGallery {
  width: 4.8rem;
  height: 5.6rem;
  flex: 0 0 4.8rem;
}

.detailImage {
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f4f4;
}

.detailImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detailImage .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

.detailThumbs {
  height: .6rem;
  margin-top: .2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thumbList {
  width: 4.1rem;
  overflow: hidden;
}

.detailThumb {
  width: .6rem;
  height: .6rem;
  border: .01rem solid #ddd;
  background: #f4f4f4;
  cursor: pointer;
}

.detailThumb.active {
  border-color: var(--blue);
}

.detailThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbArrow {
  position: relative;
  width: .28rem;
  height: .28rem;
  flex: 0 0 .28rem;
}

.thumbArrow::after {
  content: '';
  position: absolute;
  top: .07rem;
  width: .12rem;
  height: .12rem;
  border-top: .01rem solid #aaa;
  border-right: .01rem solid #aaa;
}

.thumbPrev::after {
  left: .1rem;
  transform: rotate(-135deg);
}

.thumbNext::after {
  right: .1rem;
  transform: rotate(45deg);
}

.thumbArrow:hover::after {
  border-color: var(--blue);
}

.detailSummary {
  width: 6.3rem;
  margin-top: .91rem;
}

.detailSummary h1 {
  color: var(--text);
  font-size: clamp(20px, .30rem, 30px);
  font-weight: 700;
  line-height: .28rem;
}

.summaryLine {
  height: .01rem;
  margin-top: .35rem;
  background: var(--blue);
}

.detailSpecs {
  margin-top: .35rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.detailSpecs div {
  height: .3rem;
  display: flex;
  align-items: center;
  color: #666;
  font-size: clamp(12px, .14rem, 14px);
}

.detailSpecs dt {
  width: 1.85rem;
  color: var(--text);
}

.detailSpecs dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.summaryActions {
  margin-top: .8rem;
  display: flex;
  gap: .3rem;
}

.filledAction,
.outlineAction {
  height: .5rem;
  padding: 0 .24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  border-radius: .25rem;
  font-size: clamp(14px, .18rem, 18px);
  font-weight: 500;
  transition: .2s;
}

.filledAction {
  background: var(--yellow);
  color: var(--text);
}

.outlineAction {
  border: .01rem solid var(--yellow);
  color: var(--text);
}

.filledAction:hover,
.outlineAction:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.filledAction img,
.outlineAction img {
  width: .2rem;
  height: .2rem;
  flex: 0 0 .2rem;
  object-fit: contain;
  transition: .2s;
}

.filledAction:hover img,
.outlineAction:hover img {
  filter: brightness(0) invert(1);
}

.detailSection h2 {
  width: fit-content;
  height: .4rem;
  padding: .06rem .15rem 0;
  background: var(--blue);
  color: #fff;
  font-size: clamp(14px, .16rem, 16px);
  font-weight: 500;
  line-height: .28rem;
  text-transform: uppercase;
  border-radius: .05rem .05rem 0 0;
}

.sectionLine {
  height: .01rem;
  background: #ddd;
}

.detailDescription {
  margin-top: .8rem;
}

.referenceTable {
  margin-top: .29rem;
}

.referenceTable table {
  width: 4.4rem;
  border-collapse: collapse;
}

.referenceTable th {
  height: .4rem;
  padding: .05rem .2rem;
  border: .01rem solid #ddd;
  background: var(--blue);
  color: #fff;
  font-size: clamp(12px, .14rem, 14px);
  font-weight: 400;
  text-align: left;
}

.referenceTable td {
  min-height: .4rem;
  padding: .05rem .2rem;
  border: .01rem solid #ddd;
  color: #666;
  font-size: clamp(12px, .14rem, 14px);
  line-height: .3rem;
}

.referenceNotes{
  margin-top: .2rem;
}
.referenceNotes * {
  color: #000;
  font-size: clamp(12px, .14rem, 14px);
  line-height: .3rem;
}

.quoteSection {
  margin-top: .5rem;
}

.quoteNote {
  margin-top: .3rem;
  color: #000;
  font-size: clamp(12px, .14rem, 14px);
  line-height: .3rem;
}

.quoteForm {
  margin-top: .2rem;
}

.quoteFields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .2rem;
}

.quoteForm label {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  color: #333;
  font-size: clamp(14px, .16rem, 16px);
  line-height: .19rem;
}

.quoteForm em {
  color: #f00;
  font-style: normal;
}

.quoteForm input,
.quoteForm textarea {
  width: 100%;
  border: .01rem solid #dedede;
  border-radius: .03rem;
  background: #f6f6f6;
  color: #333;
  font-size: clamp(12px, .14rem, 14px);
}

.quoteForm input {
  height: .4rem;
  padding: 0 .15rem;
}

.quoteForm textarea {
  height: 2.4rem;
  padding: .11rem .15rem;
}

.quoteForm input::placeholder,
.quoteForm textarea::placeholder {
  color: #a6a6a6;
}

.messageField {
  margin-top: .2rem;
}

.quoteSubmit {
  width: 1.89rem;
  height: .5rem;
  margin-top: .1rem;
  border-radius: .25rem;
  background: var(--yellow);
  color: var(--text);
  font-size: clamp(14px, .18rem, 18px);
  text-transform: uppercase;
  transition: .2s;
}

.quoteSubmit:hover {
  background: var(--blue);
  color: #fff;
}

.relatedSection {
  margin-top: .5rem;
}

.relatedGrid {
  margin-top: .29rem;
  display: grid;
  grid-template-columns: repeat(4, 2.75rem);
  gap: .2rem;
}

.relatedCard {
  height: auto;
  min-height: 4.7rem;
  padding: .15rem;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  border: .01rem solid #ddd;
  border-radius: .05rem;
  color: var(--text);
}

.relatedImage {
  height: 2.45rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f4fbff, #ededed);
}

.relatedImage img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.relatedCard h3 {
  color: var(--text);
  font-size: clamp(14px, .18rem, 18px);
  font-weight: 600;
  line-height: .2rem;
}

.relatedCard p {
  display: flex;
  justify-content: space-between;
  padding-bottom: .07rem;
  border-bottom: .01rem solid #ebebeb;
  color: #666;
  font-size: clamp(12px, .13rem, 13px);
  line-height: .17rem;
  gap: .08rem;
  overflow-wrap: anywhere;
}

.relatedCard p > span,
.relatedCard b {
  min-width: 0;
}

.relatedCard b {
  font-weight: 400;
  text-align: right;
}

.relatedButton {
  height: .27rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .04rem;
  background: var(--blue);
  color: #fff;
  font-size: clamp(12px, .13rem, 13px);
  transition: all .3s;
}

.relatedCard.first .relatedButton {
  transform: translateX(-.1rem);
}

.relatedCard:hover .relatedButton {
  background: var(--yellow);
  color: var(--text);
}

@media (max-width: 1024px) {
  .detailLayout {
    padding-top: .55rem;
    padding-bottom: .8rem;
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .detailCanvas {
    padding: .24rem;
  }

  .detailOverview {
    flex-direction: column;
    gap: .3rem;
  }

  .detailGallery,
  .detailImage {
    width: 100%;
  }

  .detailGallery {
    height: auto;
    flex: none;
  }

  .detailImage {
    height: 5rem;
  }

  .thumbList {
    width: calc(100% - .72rem);
  }

  .detailSummary {
    width: 100%;
    margin-top: 0;
  }

  .detailSummary h1 {
    line-height: 1.25;
  }

  .detailSpecs div {
    height: auto;
    min-height: .42rem;
  }

  .detailSpecs dt {
    width: 2.55rem;
  }

  .summaryActions {
    margin-top: .45rem;
    flex-wrap: wrap;
  }

  .filledAction,
  .outlineAction {
    height: .62rem;
    border-radius: .32rem;
  }

  .quoteFields {
    grid-template-columns: 1fr;
  }

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

  .relatedCard {
    height: auto;
    min-height: 4.8rem;
  }

  .referenceTable {
    overflow-x: auto;
  }
}
