.merchDetailPage {
  background: #181818;
}

.merchDetailCore {
  padding-top: 2.07rem;
  background: #181818 url('../images/merch-detail-bg.jpg') center top / cover no-repeat;
  padding-bottom: 1.32rem;
}

.merchDetailMain {
  position: relative;
}



.merchProductPanel,
.merchProductDescription {
  width: 16rem;
  border-radius: .16rem;
  background: rgba(0, 0, 0, .78);
}

.merchProductPanel {
  display: grid;
  grid-template-columns: 8.41rem 1fr;
  min-height: 7.48rem;
  margin-top: .77rem;
  padding: .25rem .48rem .2rem .3rem;
}

.merchProductGallery {
  display: grid;
  grid-template-columns: 1rem 6.7rem;
  column-gap: .2rem;
  align-items: center;
  min-width: 0;
}

.merchProductThumbs {
  width: 1rem;
  height: 6.7rem;
  overflow: hidden;
}

.merchProductThumbs .swiper-wrapper {
  height: auto;
}

.merchProductThumb {
  display: grid;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  padding: .04rem;
  place-items: center;
  overflow: hidden;
  border: .02rem solid transparent;
  border-radius: .08rem;
  background: #404040;
}

.merchProductThumb.swiper-slide-thumb-active,
.merchProductThumb.active {
  border-color: var(--yellow);
}

.merchProductThumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.merchProductImageBox {
  position: relative;
  display: grid;
  width: 6.7rem;
  height: 6.7rem;
  place-items: center;
  overflow: hidden;
  border-radius: .1rem;
  background: #404040;
}

.merchProductImageSlide {
  display: grid;
  place-items: center;
}

.merchProductImageSlide img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.merchGalleryArrow,
.merchRecommendArrow {
  position: absolute;
  z-index: 3;
  display: grid;
  width: .34rem;
  height: .34rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
}

.merchGalleryArrow::before,
.merchRecommendArrow::before {
  width: .1rem;
  height: .1rem;
  border-top: .02rem solid #111;
  border-left: .02rem solid #111;
  content: '';
}

.merchGalleryArrow:hover,
.merchRecommendArrow:hover {
  background: var(--yellow);
}

.merchGalleryPrev {
  top: 50%;
  left: .15rem;
  transform: translateY(-50%);
}

.merchGalleryPrev::before,
.merchRecommendPrev::before {
  transform: translateX(.02rem) rotate(-45deg);
}

.merchGalleryNext {
  top: 50%;
  right: .15rem;
  transform: translateY(-50%);
}

.merchGalleryNext::before,
.merchRecommendNext::before {
  transform: translateX(-.02rem) rotate(135deg);
}

.merchProductInfo {
  min-width: 0;
  padding: .04rem 0 0 .1rem;
  color: #fff;
}

.merchProductInfo h1 {
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  font-size: clamp(18px, .3rem, 30px);
}

.merchProductCode {
  margin-top: .08rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.3;
  text-transform: uppercase;
  font-size: clamp(14px, .18rem, 18px);
}

.merchProductPrice {
  margin-top: .32rem;
  color: var(--red);
  font-weight: 700;
  line-height: 1.333;
  font-size: clamp(18px, .24rem, 24px);
}

.merchInfoDivider {
  height: .01rem;
  margin: .38rem 0 .34rem;
  background: rgba(255, 255, 255, .25);
}

.merchSpecs {
  border: 0;
}

.merchSpecs legend,
.merchQuantity > span {
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(16px, .2rem, 20px);
}

.merchSpecOptions {
  display: flex;
  gap: .18rem;
  margin-top: .11rem;
}

.merchSpecOptions button {
  display: grid;
  min-width: .43rem;
  height: .43rem;
  padding: 0 .2rem;
  place-items: center;
  border: .01rem solid #555;
  border-radius: .02rem;
  color: #848484;
  font-size: clamp(14px, .18rem, 18px);
}

.merchSpecOptions button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111;
}

.merchQuantity {
  display: flex;
  width: 6.05rem;
  margin-top: .52rem;
  flex-direction: column;
}

.merchQuantityControl {
  display: grid;
  grid-template-columns: .4rem 1fr .4rem;
  align-items: center;
  width: 1.48rem;
  height: .4rem;
  border: .01rem solid #e5e7eb;
  border-radius: .25rem;
  background: rgba(0, 0, 0, .45);
  margin-top: 0.19rem;
  overflow: hidden;
}

.merchQuantityControl button {
  height: 100%;
  color: #fff;
  line-height: 2;
  font-size: clamp(16px, .2rem, 20px);
}

.merchQuantityControl output {
  color: #fff;
  line-height: 2;
  text-align: center;
  border-left: .01rem solid #e5e7eb;
  border-right: .01rem solid #e5e7eb;
  font-size: clamp(16px, .2rem, 20px);
}

.merchProductActions {
  display: flex;
  flex-direction: column;
  gap: .21rem;
  width: 5.6rem;
  margin-top: .49rem;
}

.merchProductActions button {
  min-width: 0;
  height: .6rem;
  border-radius: .4rem;
  font-weight: 700;
  letter-spacing: .02rem;
  font-size: clamp(14px, .2rem, 20px);
}

.merchAddCart {
  border: .01rem solid #fff;
  background: #000;
  color: #fff;
}

.merchBuyNow {
  background: var(--yellow);
  color: #111;
}

.merchProductActions button:hover {
  background: #fff;
  color: #111;
}

.merchBuyNow:hover {
  background: #fff;
}

.merchActionMessage {
  display: none;
  margin-top: .1rem;
  color: var(--yellow);
  font-size: .14rem;
}

.merchProductDescription {
  position: relative;
  height: auto;
  margin-top: .4rem;
  padding: .4rem .48rem;
  overflow: hidden;
}

.merchSectionHeading {
  display: inline-block;
  position: relative;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(18px, .3rem, 30px);
}

.merchSectionHeading::after {
  position: absolute;
  bottom: -.08rem;
  left: 0;
  width: .6rem;
  height: .07rem;
  background: url(/images/recommendLine.svg) center center no-repeat;
  background-size: contain;
  content: '';
}

.merchDescriptionCopy {
  position: relative;
  z-index: 1;
  margin-top: .5rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
  font-size: clamp(14px, .16rem, 16px);
}

.merchDescriptionCopy p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.merchDescriptionCopy p + p {
  margin-top: .2rem;
}

.merchDescriptionImage {
  width: 6.7rem;
  height: 6.7rem;
  place-items: center;
  border-radius: .08rem;
  background: #404040;
  margin: 0 auto;
  overflow: hidden;
}

.merchDescriptionImage img {
  width: 95%;
  height: 95%;
  object-fit: contain;
}

.merchRecommendations {
  position: relative;
  height: 8.74rem;
  overflow: hidden;
  background: #fff100 url('../images/merch-detail-recommend-bg.jpg') center / cover no-repeat;
}
.merchRecommendations .main{
    position: relative;
}
.merchRecommendHeading {
  position: absolute;
  top: .71rem;
  left: 50%;
  width: 11.13rem;
  text-align: center;
  transform: translateX(-50%);
}

.merchRecommendHeading h2 {
  color: #000;
  font-weight: 700;
  line-height: .7rem;
  font-size: clamp(24px, .58rem, 58px);
}

.merchRecommendHeading p {
  margin-top: .03rem;
  color: rgba(0, 0, 0, .75);
  line-height: 1.5;
  font-size: clamp(14px, .18rem, 18px);
}

.merchRecommendGrid {
  display: grid;
  position: absolute;
  top: 2.66rem;
  left: 50%;
  grid-template-columns: repeat(4, 3.7rem);
  gap: .4rem;
  width: 16rem;
  overflow: hidden;
  transform: translateX(-50%);
}

.merchRecommendGrid .swiper-wrapper {
  display: flex;
}
.productFavorite {
  position: absolute;
  top: 0.17rem;
  right: 0.42rem;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  cursor: pointer;
  background: url('../images/icon-card-wishlist1.svg') center center no-repeat;
  background-size: contain;
}


.productFavorite.is-favorite {
  background: url('../images/icon-card-wishlist.png') center center no-repeat;
  background-size: contain;
}













.merchRecommendSlide {
  height: 5.08rem;
}

.merchRecommendCard {
  display: block;
  width: 100%;
  height: 5.08rem;
  padding: .11rem .12rem 0;
  border: .01rem solid rgba(0, 0, 0, .14);
  border-radius: .08rem;
  background: #000;
  transition: transform .25s ease, border-color .25s ease;
}

.merchRecommendCard:hover {
  border-color: var(--yellow);
  transform: translateY(-.06rem);
}

.merchRecommendImage {
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  overflow: hidden;
  border-radius: .08rem;
  background: #404040;
}

.merchRecommendImage img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.merchRecommendCard strong,
.merchRecommendCard small,
.merchRecommendCard b {
  display: block;
  padding-left: .13rem;
}

.merchRecommendCard strong {
  margin-top: .26rem;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(14px, .2rem, 20px);
}

.merchRecommendCard small {
  margin-top: .1rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.5;
  text-transform: uppercase;
  font-size: clamp(14px, .18rem, 18px);
}

.merchRecommendCard b {
  margin-top: .1rem;
  color: var(--red);
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(16px, .2rem, 20px);
}

.merchRecommendArrow {
  z-index: 2;
  top: 5.03rem;
}

.merchRecommendPrev {
  left: -.72rem;
}

.merchRecommendNext {
  right: -.72rem;
}

@media (max-width: 1200px) {
  .merchProductPanel,
  .merchProductDescription {
    width: 94%;
  }

  .merchProductPanel {
    grid-template-columns: 50% 1fr;
  }

  .merchProductGallery {
    grid-template-columns: .65rem minmax(0, 1fr);
    column-gap: .12rem;
  }

  .merchProductImageBox,
  .merchDescriptionImage {
    width: min(6.7rem, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .merchProductThumb {
    width: .65rem;
    height: .65rem;
  }

  .merchQuantity,
  .merchProductActions {
    width: 100%;
  }

  .merchSpecOptions {
    flex-wrap: wrap;
  }

  .merchRecommendGrid {
    grid-template-columns: repeat(4, minmax(0, 3.7rem));
    width: 94%;
    gap: .2rem;
  }

  .merchRecommendCard {
    width: 100%;
  }

  .merchRecommendImage {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .merchDetailCore {
    min-height: 0;
    padding-top: 1.69rem;
    padding-bottom: .5rem;
  }

  .merchDetailBreadcrumb .productBreadcrumb {
    overflow: hidden;
    white-space: nowrap;
  }

  .merchProductPanel {
    display: block;
    min-height: 0;
    margin-top: .35rem;
    padding: .18rem;
  }

  .merchProductGallery {
    display: flex;
    flex-direction: column;
  }

  .merchProductThumbs {
    width: 100%;
    height: auto;
    margin-bottom: 0.3rem;
  }

  .merchProductThumb {
    width: .52rem;
    height: auto;
    border-radius: .04rem;
    aspect-ratio: 1 / 1;
  }

  .merchProductImageBox {
    width: 100%;
  }

  .merchProductInfo {
    padding: .3rem 0 0;
  }

  .merchProductInfo h1 {
    white-space: normal;
  }

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

  .merchInfoDivider {
    margin: .25rem 0 .25rem;
  }

  .merchQuantity {
    margin-top: .3rem;
  }

  .merchProductDescription {
    height: 12rem;
    margin-top: .25rem;
    padding: .25rem .2rem;
  }

  .merchDescriptionImage {
    bottom: .3rem;
    width: 4.2rem;
    height: 4.2rem;
  }

  .merchRecommendations {
    height: auto;
    min-height: auto;
    padding: .5rem 0;
  }

  .merchRecommendHeading {
    position: relative;
    top: auto;
    width: 94%;
  }
  .merchRecommendGrid {
  position: initial;
  transform: none;
  margin-top: 0.4rem;
  }
  .merchQuantityControl{
    width: 120px;
    height: 34px;
    grid-template-columns: 30px 1fr 30px;
  }

  .merchRecommendSlide {
    height: auto;
  }

  .merchRecommendCard {
    width: 100%;
    height: auto;
    padding: .08rem .08rem 0.2rem;
  }

  .merchRecommendImage {
    height: auto;
    aspect-ratio: 7 / 6;
  }

  .merchRecommendCard strong {
    margin-top: .16rem;
  }
  .merchRecommendArrow {
    top: 58%;
  }

  .merchRecommendPrev {
    left: .1rem;
  }

  .merchRecommendNext {
    right: .1rem;
  }
}

@media (max-width: 480px) {
  .merchProductPanel,
  .merchProductDescription {
    width: 100%;
    height: auto;
  }

  .merchProductActions button {
    height: auto;
    padding: 4px 0;
  }

  .merchDescriptionImage {
    width: 3.6rem;
    height: 3.6rem;
  }
}
