/* =========================
   vgHero 主圖
   ========================= */

/* 主圖整塊：縮小置中（像原版） */
.vgIntro .vgHero{
  width: min(760px, 100%);
  margin: 60px auto 60px;
  overflow: hidden;
}

/* ✅ 關鍵：不要再用 display:block 覆寫 pc/sp
   我們直接在 vgHero 範圍內「明確指定」桌機/手機該顯示哪張 */
.vgIntro .vgHero img.pc{ display: block; }
.vgIntro .vgHero img.sp{ display: none; }

@media screen and (max-width: 767px){
  .vgIntro .vgHero{
    width: min(560px, 100%);
    margin-bottom: 22px;
  }
  .vgIntro .vgHero img.pc{ display: none; }
  .vgIntro .vgHero img.sp{ display: block; }
}

/* 主圖本體尺寸：吃滿 vgHero 寬度即可 */
.vgIntro .vgHero > img{
  width: 100%;
  height: auto;
  /* margin: 0; */
  display: block;
}

/* 黑底條：緊貼主圖，跟主圖同寬，看起來就「綁一起」 */
.vgIntro .vgHero__cap{
  display: block;
  width: 100%;
  background: #1b1b1b;
  text-align: center;
  padding: 18px 16px 14px;
  margin: 0;
}

/* 只放產品 logo：限制大小，避免爆炸 */
.vgIntro .vgHero__product{
  display: block;
  width: auto; 
  height: 120px;      /* ← 調這個數字 */
  max-width: 320px;  /* 安全上限 */
  margin: 0 auto;
}

@media screen and (max-width: 767px){
  .vgIntro .vgHero__cap{
    padding: 14px 12px 12px;
  }
  .vgIntro .vgHero__product{
    max-width: 260px;
    height: 28px;
  }
}



/* =========================
   velogue 商品一覽（不吃 JS）
   ========================= */

.vgShopList {
  margin: 80px 0 110px; 
}

.vgShopList__inner {
  width: 1180px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;  
}
.vgShopList__gridWrap{
  width: fit-content;      /* 讓包住的寬度=三張卡片+間距 */
  margin: 0 auto;          /* 整包置中 */
}
.vgShopList__title {
  margin: 0 0 20px;
  font-size: 2.8rem;
  font-weight: bold;
  color: #333;
}

.vgShopList__grid {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  justify-content: center;
  column-gap: 30px;
  row-gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vgShopList__card {
  background: transparent;
}

.vgShopList__link {
  /* display: block; */
  color: #333;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: color 0.12s, opacity 0.12s;
}

.vgShopList__figure{
  margin: 0;
  padding: 0px;          /* 讓圖片縮進去 */
  background: #fff;
  border: 1px solid #e9ecee;
  overflow: hidden; 
  justify-content:center;
  align-items:center;
}

.vgShopList__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff;
  transition: transform 0.15s ease, opacity 0.12s;
}

.vgShopList__name {
  margin: 10px 0 0;
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.4;
  position: static;
  align-items: center;
  gap: 8px;
  padding-left: 0px;
  display: inline-flex;
  transition: color 0.12s;
}

.vgShopList__name::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #e6b333;
  border-bottom: 2px solid #e6b333;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.vgShopList__link:hover .vgShopList__name {
  color: #e6b333;
}

.vgShopList__link:hover .vgShopList__img {
  transform: scale(1.02);
  opacity: 0.88;
}

@media screen and (max-width: 767px) {

  .vgShopList {
    margin: 40px 0 70px;
  }

  .vgShopList__inner {
    width: auto;         /* ✅ 很關鍵：解除 1180px */
    padding: 0 16px;
  }

  .vgShopList__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;   /* 兩欄用滿 */
    /* column-gap: 14px; */
    /* row-gap: 18px; */
  }

  .vgShopList__title{
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 26px;
}

.vgShopList__name{
  font-size: 1.5rem; 
  font-weight: bold;
  line-height: 1.5;
}
}

/* =====================================
   vgIntro 統一排版控制
   ===================================== */

/* 所有 performance 區塊的 section */
.vgIntro article > section{
  /* max-width: 980px; */
  margin: 0 auto 80px;
  padding: 0 50px;
  box-sizing: border-box;
}

/* 內層 about-inner 不再自己撐寬 */
.vgIntro .about-inner{
  
  margin: 0 auto;
  text-align: center;
}

/* 大標題 */
.vgIntro .about-description h3{
  font-size: 46px;     
  font-weight: 700;      
  line-height: 1.35;     
  text-align: center;   
  margin: 90px 0 50px;   
}

/* 小標題 */
.vgIntro .about-inner h4{
  font-size: 35px;     /* 大小 */
  font-weight: 700;      /* 粗細：400=正常, 700=粗 */
  line-height: 1.35;     /* 行高 */
  text-align: center;    /* 置中 */
  margin: 20px 0 14px;   /* 上下距離 */
}

/* 介紹文字 */
.vgIntro .about-inner .txtArea,
.vgIntro .about-inner p{
  font-size: 20px;
  line-height: 1.9;
  text-align: left;
  margin: 0 auto 30px;
  max-width: 720px;
}

/* 所有一般圖片置中 + 不超出容器 */
.vgIntro .about-inner > figure{
  margin: 30px auto;
  text-align: center;
}

.vgIntro .about-inner > figure img{
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.vgIntro .about-img{
  margin: 0 auto;
  text-align: center;
}

.vgIntro .about-img img{
  max-width: 1080px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* PERFORMANCE 標題圖片置中 */
.vgIntro .about-inner h3{
  text-align: center;
  margin: 100px auto 32px;
}
.vgIntro .about-inner h3 figure.h_performance{
  margin: 0;
}
.vgIntro .about-inner h3 figure.h_performance img{
  display: inline-block;
  /* max-width: 420px; */
  /* height: auto; */
}

.vgIntro .about-inner h5{ /*被膜組成*/
  font-size: 25px;     
  font-weight: 700;      
  line-height: 1.35;     
  text-align: center;   
  margin: 50px 0 20px;   
}

.vgIntro .about-inner figcaption{
  font-size: 16px;     
  font-weight: 400;      
  line-height: 1.35;     
  text-align: left;   
  margin: 20px auto 50px; 
  max-width: 720px;  
}

/* =====================================
   test-box 區塊
   ===================================== */

.vgIntro .test-box{
  background: #f2f2f2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 60px 0;
}

.vgIntro .test-box-inner{
  /* max-width: 760px; */
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.vgIntro .test-box-inner h4{
  font-size: 25px;     
  font-weight: 700;      
  line-height: 1.35;     
  text-align: center;   
  margin: 20px 0 20px;
}

.vgIntro .test-box-inner p{
  font-size: 20px;     
  font-weight: 400;      
  line-height: 1.35;     
  text-align: left;   
  margin: 0px auto 40px;
  max-width: 720px;
}

.vgIntro .test-box-inner .result{
  font-size: 21px;     
  font-weight: 800;      
  line-height: 1.35;     
  text-align: left;   
  margin: 20px auto 0px;
  max-width: 720px;
}

.vgIntro .test-box-inner h5{ /*氙孤燈*/
  font-size: 20px;     
  font-weight: 700;      
  line-height: 1.35;     
  text-align: center;   
  margin: 30px 0 30px;   
}

/* 讓 wrapper 成為參考點 */
.vgIntro .test-box-inner .mediaWrap{
  position: relative;
  width: 100%;
  max-width: 720px;   /* 跟你影片 max-width 一樣 */
  margin: 0 auto;  /* 置中 */
}

/* test-box 內影片 */
.vgIntro .test-box video{
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* test-box 內圖片 */
.vgIntro .test-box img{
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.vgIntro .test-box .mediaWrap_two_child{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px; /* 兩張圖中間距離 */
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 40px;
}
.vgIntro .test-box .mediaWrap_two_child img{
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/*「本公司測試」小字樣 */
.vgIntro .test-box .test-box-inner .test{
  position: static;
  display: block;
  text-align: right;
  margin-top: 6px;
  font-size: 14px;
  color: #333333;
  font-weight: 200; 
}

/*performance 4 專用 */
.vgIntro .performance4 .test-box-inner{
  display: flex;
  justify-content: center;   /* 整體置中 */
  align-items: flex-start;   /* ⭐ 上方對齊 */
  gap: 150px;                 /* 兩張中間距離 */
}
.vgIntro .performance4 .test-box-inner > figure{
  flex: 1;
  max-width: 500px;   /* 控制最大寬度 */
}
.vgIntro .performance4 .test-box-inner .mediaWrap .p4{
  max-width: 500px;   /* 控制最大寬度 */
}
.vgIntro .performance4 .about-inner .symbols{
  font-size: 20px;     
  font-weight: 700;      
  line-height: 1.35;      
  margin: 20px 0 0px;
}
/* 讓 wrapper 成為參考點 */
.vgIntro .performance4 .test-box-inner .mediaWrap{
  position: relative;
  margin: 0 auto;  /* 置中 */
}
.vgIntro .performance4 .test-box-inner .test{
  position: static;
  display: block;
  text-align: right;
  font-size: 14px;
  color: #333333;
  font-weight: 200; 
  margin-top: 6px;
}
.vgIntro .performance4 .test-box-inner .test-box-right{
    margin-top: 69px;
}
.vgIntro .performance4 .about-inner .textWrap{
    position: relative;
}
.vgIntro .performance4 .about-inner .txtArea .notes{
    position: static;
    display: block;
    text-align: right;
    font-size: 14px;
    color: #333333;
    font-weight: 200; 
    /* margin-top: 3px; */
    margin-right: 285px;
}

/* Speed coat 區 */
.vgIntro #speed .about-description .symbols{
  font-size: 20px;     
  font-weight: 700;      
  line-height: 1.35;       
  margin: 20px 0 0px;
}
.vgIntro #speed .about-description .textWrap{
  position: relative;
  margin: 0 auto;  /* 置中 */
}
.vgIntro #speed .about-description .notes{
  position: static;
  display: block;
  text-align: right;
  font-size: 14px;
  color: #333333;
  font-weight: 200; 
  margin-right: 275px;
}

/* 手機版 */
@media screen and (max-width: 767px){

  .vgIntro article > section{
    padding: 0 16px;
    margin-bottom: 60px;
  }

  .vgIntro .about-inner{
    max-width: 100%;
  }

  .vgIntro .h_performance img{
    max-width: 260px;
  }

  .vgIntro .test-box-inner{
    padding: 0 16px;
  }
}
#tough,
#speed{
  scroll-margin-top: 100px;
}

@media screen and (max-width: 767px){

  /* 整體容器不要超出螢幕 */
  .vgIntro,
  .vgIntro *{
    box-sizing: border-box;
  }

  /* 所有圖片、影片都跟著螢幕縮 */
  .vgIntro img,
  .vgIntro video{
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
  }

  /* about 圖片不要再吃桌機大寬度 */
  .vgIntro .about-img{
    width: 100%;
    margin: 0 auto;
  }

  .vgIntro .about-img img{
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* figure 裡的圖也全部縮進手機寬度 */
  .vgIntro .about-inner > figure,
  .vgIntro .about-inner figure{
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
  }

  .vgIntro .about-inner > figure img,
  .vgIntro .about-inner figure img{
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* test-box 裡影片、圖片全部縮小 */
  .vgIntro .test-box{
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 0;
  }

  .vgIntro .test-box-inner{
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  .vgIntro .test-box-inner .mediaWrap{
    width: 100%;
    max-width: 100%;
  }

  .vgIntro .test-box video,
  .vgIntro .test-box img{
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* 兩張圖或兩欄內容，手機一律改上下排列 */
  .vgIntro .performance4 .test-box-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .vgIntro .performance4 .test-box-inner > figure,
  .vgIntro .performance4 .test-box-inner .mediaWrap,
  .vgIntro .performance4 .test-box-inner .p4{
    width: 100%;
    max-width: 100%;
  }

  .vgIntro .performance4 .test-box-inner .test-box-right{
    margin-top: 0;
  }

  /* 備註文字不要卡死右邊距 */
  .vgIntro .performance4 .about-inner .txtArea .notes,
  .vgIntro #speed .about-description .notes{
    margin-right: 0;
    text-align: right;
  }

  /* 手機字級順手一起縮一下，不然視覺很擠 */
  .vgIntro .about-description h3{
    font-size: 30px;
    margin: 50px 0 30px;
  }

  .vgIntro .about-inner h4{
    font-size: 24px;
  }

  .vgIntro .about-inner .txtArea,
  .vgIntro .about-inner p,
  .vgIntro .test-box-inner p{
    font-size: 16px;
    line-height: 1.8;
  }

  .vgIntro .test-box-inner h4{
    font-size: 22px;
  }

  .vgIntro .test-box-inner h5,
  .vgIntro .performance4 .about-inner .symbols,
  .vgIntro #speed .about-description .symbols{
    font-size: 18px;
  }
}

.description .climax_logo img{
    display: block;
    margin: 0 auto;
    width: 420px;
    height: auto;
    margin-bottom: 52px;
}
.vgIntro .velogue-link {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 60px auto;
    list-style: none;
    width: fit-content;
}

.vgIntro .velogue-link_tough {
    width: 760px;
    margin: 0 auto;
}

.vgIntro .velogue-link_tough a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 22px 32px;
    background-color: #111727b7;
    box-sizing: border-box;
    text-decoration: none;
}

.vgIntro .velogue-link_tough img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
}

.vgIntro .velogue-link_tough a .tabArrow {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border-right: 0.3rem solid #fff;
    border-bottom: 0.3rem solid #fff;
}

/* youtube影片 */
.youtube-media {
  background-color: #111727;
  padding: 80px 20px;
}
.youtube-media__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.youtube-media__title {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 40px;
}
.youtube-media__video {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.youtube-media__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px; /* optional 圓角 */
}
@media screen and (max-width: 768px) {
    .description .climax_logo img {
        width: 100%;
        max-width: 240px;
        margin-bottom: 32px;
    }

    .vgIntro .velogue-link {
        width: 100%;
        margin: 36px auto;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .vgIntro .velogue-link_tough {
        width: 100%;
    }

    .vgIntro .velogue-link_tough a {
        padding: 18px 20px 18px 44px;
        height: auto;
        max-height: 60px;
    }

    .vgIntro .velogue-link_tough img {
        width: 100%;
        max-width: 148px;
    }

    .vgIntro .velogue-link_tough a .tabArrow {
        left: 16px;
        width: 0.9rem;
        height: 0.9rem;
        border-right: 0.22rem solid #fff;
        border-bottom: 0.22rem solid #fff;
    }
}

@media screen and (max-width: 768px){
  .vgIntro .test-box .mediaWrap_two_child{
    flex-direction: column;
    gap: 16px;
  }

  .vgIntro .test-box .mediaWrap_two_child img{
    max-width: 100%;
  }
  .vgIntro .test-box-inner .result{
    font-size: 18px;
  }
}