@charset "utf-8";

.product_detailbg {
  background-color: #fbf0da;
  min-height: 96rem;
  color: #24609B;
  overflow: hidden;
  padding: 5rem 0 6rem 0;
}

.prophotos {
  width: 47%;
  max-width: 905px;
  min-height: 96rem;
  height: 100%;
  overflow: hidden;
  float: left;
  /* background-image: url(../images/pro_left_bot.png), url(../images/pro_right_top.png);
  background-position: top right, 7rem bottom; */
  background-image: url(../images/pro_left_bot.png);
  background-position: top right;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  overflow: hidden;
  position: relative;
  /* 添加这一行来定位箭头按钮 */
}



.prodesc {
  width: 48%;
  max-width: 925px;
  min-height: 920px;
  float: right;
  background: url(../images/imgbg.png) no-repeat;
  background-position: right calc(100% - 8rem);
  background-size: 80% 80%;
}

/* 居中容器，最大宽高按比例响应式缩放 */
.prodescbg-box {
  width: 95%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 三段背景 */
.prodescbg-top {
  background: url("../images/pro_bg_01.png") no-repeat center top;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 821 / 30;
  /* 根据你的上图高度比例调整 */
  flex-shrink: 0;
}

.prodescbg-middle {
  margin-top: -1px;
  background: url("../images/pro_bg_02.png") repeat-y center top;
  background-size: 100% auto;
  width: 100%;
  flex: 1;
  min-height: 400px;
  /* 内容较少时保持基本高度 */
  padding: 2rem 4rem 1rem 4rem;
}

.prodescbg-bottom {
  background: url("../images/pro_bg_03.png") no-repeat center bottom;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 821 / 46;
  /* 根据下图比例调整 */
  flex-shrink: 0;
  margin-top: -1px;
}

.prodesc-content {
  width: 85%;
  max-width: 800px;
  margin: 3.5rem auto 0rem auto;
}

.prodesc-content h2 {
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.prodesc-content p.khand {
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 5rem;
  margin-bottom: 2.5rem;
}

.prodesc-content p.luxtitle {
  font-size: 7rem;
}

.qty_intro {
  margin-top: 3rem;
}

/* ----- Color & Size Options ----- */
.cosiz {
  margin-top: 2.5rem;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-item {
  border: 1px solid #1e4886;
  border-radius: 5px;
  padding: 5px 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #1e4886;
  transition: all 0.2s ease;
  user-select: none;
}

.option-item:hover {
  border-color: #1e4886;
  color: #1e4886;
}

.option-item.active {
  background: #1e4886;
  color: #fff;
  border-color: #1e4886;
}

/* colors sizes */


/* quantity start  */
.qty_box {
  width: 165px;
  height: 40px;
  margin-top: 2.4rem;
  border: 1px solid #1e4886;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

/* 按钮样式 */
.qty_box .qty_btn {
  width: 50px;
  height: 100%;
  color: #1e4886;
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;

}

/* 输入框样式 */
.qty_box .qty_input {
  flex: 1;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 2rem;
  color: #1e4886;
  outline: none;
  width: 65px;
}

/* quantity end */

.finalprice {
  margin-bottom: 2.4rem;
  margin-top: 4.5rem;
}

.pro_price {
  font-size: 5rem;
}

.pro_price del {
  color: #c4c2b4;
  font-size: 1.6rem;
}

/* add to cart  */
.btn-addcart {
  width: 100%;
  height: 66px;
  background-color: #f4de95;
  margin: 4rem auto;
  color: #211f20;
  font-size: 2.4rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  padding: 0.6rem 1.5rem;
  box-sizing: border-box;
  transition: background-color 0.25s ease, transform 0.1s ease;
}

.btn-addcart:hover {
  background-color: #f9dd8a;
  color: #211f20;
  transform: translateY(-1px);
}

.btn-addcart:active {
  transform: translateY(0);
}

.btn-addcart:focus {
  box-shadow: 0 0 0 0.2rem rgba(244, 222, 149, 0.5);
  outline: none;
}

/* add to cart  */
.cartico {
  position: absolute;
  right: 50px;
  top: 50%;
}

/* description part  */
.descriptionbg {
  background: url("../images/artist_bg.jpg") repeat;
  margin-top: -1px;
  background-color: #97C1E4;
  /* min-height: 100vh; */
  /* border: #97C1E4 2.4rem solid; */
  position: relative;
  padding-top: 16rem;
  padding-bottom: 16rem;
}

/* 居中容器，最大宽高按比例响应式缩放 */
.descriptionbg .prodescbg-box {
  width: 95%;
  margin: auto;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: rotate(-2deg);
}

.descriptionbg .prodescbg-top {
  background: url("../images/prodetail_bg_01.png") no-repeat center top;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 1446 / 51;
  /* 根据你的上图高度比例调整 */
  flex-shrink: 0;
}

.descriptionbg .prodescbg-middle {
  margin-top: -1px;
  background: url("../images/prodetail_bg_02.png") repeat-y center top;
  background-size: 100% auto;
  width: 100%;
  flex: 1;
  min-height: 400px;
  /* 内容较少时保持基本高度 */
  padding: 2rem 4rem 5rem 4rem;
}

.descriptionbg .prodescbg-bottom {
  background: url("../images/prodetail_bg_03.png") no-repeat center bottom;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 1446 / 69;
  /* 根据下图比例调整 */
  flex-shrink: 0;
  margin-top: -1px;
}

.descriptionbg .prodesc-content {
  width: 94%;
  max-width: 1400px;
  margin: 3.5rem auto 0rem auto;
}

.descriptionbg .prodesc-content p {
  margin: 2rem;
}

/* description part  */
.pro_detail_scoll {
  padding-top: 6rem;
}

.pro_detail_scoll h2 {
  color: #fff;
  text-align: center;
  margin: 3rem auto;
  padding-bottom: 5rem;
}

@media screen and (min-width:1700px) {
  .prophotos {
    margin-left: 3%;
  }
}

@media (min-width:992px) and (max-width:1500px) {
  .prophotos {
    min-height: 75rem;
  }

  .prodesc {
    min-height: 75rem;
  }

  .prodesc-content h1 {
    font-size: 6rem;
  }

  .prodesc-content p.luxtitle {
    font-size: 6rem;
  }

  .prodesc-content p.khand,
  h2.khand {
    font-size: 2rem;
  }
}

@media (min-width:768px) and (max-width:992px) {
  .prodesc-content h1.luxtitle {
    font-size: 7rem;
  }
}

@media screen and (min-width:992px) {}

@media screen and (max-width: 992px) {
  .product_detailbg {
    padding: 0rem 0 3rem 0;
  }

  .prophotos {
    width: 100%;
    float: none;
    margin-bottom: 4rem;
  }

  .prodesc {
    width: 100%;
    float: none;
    background: url(../images/imgbg_mc.png) no-repeat;
    background-position: right calc(100% - 8rem);
    background-size: contain;
  }

  .prodescbg-box {
    margin: auto;
  }

  /* 滚动出视图后固定到底部（仅移动端/平板用） */
  .fixed-bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    border-radius: 0;
    z-index: 998;
    box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
  }

  /* 可选：当固定时稍微改变背景色（保持原样也可） */
  .btn-addcart.fixed-bottom-btn:hover {
    background-color: #f9dd8a;
  }

  /* 占位元素类（隐藏时不占空间） */
  .btn-addcart-placeholder {
    display: block;
    width: 100%;
    height: 66px;
    /* 与按钮高度保持一致，若你按钮高度变化请同步更新 */
  }

  .descriptionbg {
    padding-top: 8rem;
    padding-bottom: 8rem;

  }
}

@media screen and (max-width:768px) {
  .product_detailbg {
    padding: 0rem 0 8rem 0;
  }

  .prophotos {
    min-height: 60rem;
    /* background-image: url(../images/pro_left_bot.png), url(../images/pro_right_top.png);
    background-position: top right, 0rem bottom; */
    background-image: url(../images/pro_left_bot.png);
    background-position: top right;
    background-size: 60%, 60%;
  }

  .prodimg .swiper-slide {
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    margin: auto;
    /* 垂直居中 */
    padding: 3rem 0;
    /* 上下留白 */
    text-align: center;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 2.5rem;
  }


  .prodesc {
    min-height: 60rem;
    background-position: 30rem calc(100% - 1rem);
    background-size: 60%, 60%;
  }

  .prodesc-content {
    width: 95%;
    margin: 1.5rem auto 0rem auto;
  }

  .prodesc-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }

  .prodesc-content p.khand {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  .prodesc-content p.luxtitle {
    font-size: 4rem;
  }

  .qty_box {
    margin-top: 1rem;
  }

  .finalprice {
    margin: 2rem auto;
  }

  /* add to cart  */
  .btn-addcart {
    height: 50px;
    margin: 4rem auto;
    font-size: 2rem;
    border-radius: 5px;
    font-weight: 400;
    padding: 0.5rem 1rem;

  }

  .pro_detail_scoll {
    padding-top: 3rem;
  }

  .pro_detail_scoll h2 {
    color: #fff;
    margin: 3rem auto;
    font-size: 5rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 500px) {
  .prophotos {
    min-height: 50rem;
    background-size: 60%, 60%;

  }


  .prodesc {
    min-height: 50rem;
    background-size: 60%;
    background-position: 20rem calc(100% - 0rem);
  }

  .descriptionbg .prodescbg-box {
    transform: rotate(-1deg);
  }

}


/* ========== product image (left only) ========== */
.prodimg {
  width: 100%;
  max-width: 750px;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
}

.prodimg .swiper-container {
  height: 100%;
}

.prodimg .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  /* 主图上下留白 */
  text-align: center;
}

.prodimg img {
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
}

/* pagination */
.prodimg .swiper-pagination-bullet-active {
  background-color: #1e4886;
}

/* arrows */
.prodimg .swiper-button-next::after,
.prodimg .swiper-button-prev::after {
  color: #97C1E4;
  transition: opacity .3s ease;
}

.prodimg .swiper-button-disabled::after {
  opacity: .5;
  cursor: not-allowed;
}

/* ========== overlay controls (play / zoom) ========== */
.prodimg-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  gap: 16px;
}

.ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 72, 136, .8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.ctrl-btn i {
  font-size: 1.8rem;
}

.ctrl-btn:hover {
  background: rgba(30, 72, 136, .9);
  transform: scale(1.05);
}

/* ========== zoom overlay ========== */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 2000;
  display: none;
}

.zoom-overlay.active {
  display: block;
}

/* 关键：真正的垂直居中 */
.zoom-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  position: relative;
}

.zoom-wrapper .swiper {
  width: 100%;
  height: 100%;
}

.zoom-wrapper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* zoom image */
.zoom-wrapper img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: grab;
  transform-origin: center center;
  transition: transform .15s ease;
}

.zoom-wrapper img.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* close button */
.zoom-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 72, 136, .8);
  color: #fff;
  font-size: 2.4rem;
}