section{
  margin: 28% 0 20%;
  min-height: 68vh;
}
section h2{
  border-bottom: 5px solid #F1C40F;
  padding: 1.5%;
  margin-bottom: 10%;
  color: #F1C40F;
  display: inline-block;
}
.product{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  row-gap: 20px; /* 控制上下的間距 */
  column-gap: 15px; /* 控制左右的間距 */
}
.img_box{
  overflow: hidden;
  width: 100%;
  height: 150px;
}
.img_box img {
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}
.prod_box{
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s;
  height: 300px;
}
.prod_box:hover{
  transform: translateY(-3px);
  border-color: #F1C40F;
}
article:hover {
  box-shadow: 0 4px 6px rgba(168, 168, 168, 0.3);
}

section.other_product article:hover img {
  transform: scale(1.05);
}
article h3 {
  font-size: 18px;
  transition: color 0.3s;
  margin-bottom: 2%;
  color: #C9A07A;
  transition: color 0.3s;
}
article:hover h3 {
  color: #E9A319;
}
a, a:hover{
  color: #5C5C5C;
}
.prod_box .text{
  padding: 4%;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.prod_box h3{
  transition: color 0.3s;
  margin-bottom: 3%;
  text-align: left;
}
.prod_box:hover h3{
  color: #E9A319;
}
p{
  margin-bottom: 0;
}
.text div{
  display: flex;
  align-items: center;
  font-size: 15px;
}
.text div:nth-child(3){
  margin: 1% 0;
}
.prod_box p{
  color: #f24;
  font-size: 14px;
}
small{
  font-size: 14px;
}
.page{
  margin-top: 18%;
}
.btn_page{
  color: #5C5C5C;
  margin: 0 2% 0 0;
}
.btn_page.btn_active{
  color: #fff;
  font-weight: bold;
  background: #F1C40F;
}
.btn_page.btn_active:hover{
  color: #fff;
}
.btn_page:hover{
  color: #F1C40F;
}
@media(min-width: 700px) and (max-width: 1200px) {
  section{
    margin: 17% 0 10%;
  }
  section h2{
    margin-bottom: 5%;
  }
  article h3 {
    font-size: 20px;
  }
  .product{
    row-gap: 25px; /* 控制上下的間距 */
    column-gap: 25px; /* 控制左右的間距 */
  }
  .prod_box{
    height: 290px;
  }
  .page{
    margin-top: 10%;
  }
}
@media(min-width: 1200px) {
  section{
    margin: 10% 0 5%;
  }
  section h2{
    margin-bottom: 4%;
  }
  .product{
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  .prod_box{
    height: auto;
  }
  .img_box {
    height: 200px;
  }
  article h3{
    font-size: 20px;
  }
  .prod_box p{
    font-size: 15.5px;
  }
  .page{
    margin-top: 8%;
  }
}