section{
  margin: 28% 0 20%;
}
h2{
  border-bottom: 5px solid #E68A2A;
  padding: 1.5%;
  margin-bottom: 10%;
  color: #E68A2A;
  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;
}
.prod_box{
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s;
  height: 276px;
}
.prod_box:hover{
  transform: translateY(-3px);
  border-color: #E68A2A;
}
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;
  font-size: 15px;
  margin-bottom: 3%;
  text-align: left;
}
.prod_box:hover h3{
  color: #E68A2A;
}
.text div{
  display: flex;
  font-size: 14px;
}
.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: #E68A2A;
}
.btn_page.btn_active:hover{
  color: #fff;
}
.btn_page:hover{
  color: #E68A2A;
}
@media(min-width: 700px) and (max-width: 1200px) {
  section{
    margin: 17% 0 10%;
  }
  h2{
    margin-bottom: 5%;
  }
  .product{
    row-gap: 25px; /* 控制上下的間距 */
    column-gap: 20px; /* 控制左右的間距 */
  }
  .prod_box{
    height: 326px;
  }
  .page{
    margin-top: 10%;
  }
}
@media(min-width: 1200px) {
  section{
    margin: 7% 0 5%;
  }
  h2{
    margin-bottom: 4%;
  }
  .product{
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  .prod_box{
    height: auto;
  }
  .prod_box h3{
    font-size: 16.5px;
  }
  .text div{
    font-size: 15.5px;
  }
  .prod_box p{
    font-size: 15.5px;
  }
  .page{
    margin-top: 8%;
  }
}