.container h2{
  margin-top: 100px;
}

.brand-visual {
  background-image: url('../img/title_bg/title_bg_brand.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  
}

.brand-visual-text h1 {
  font-size: 48px;
  font-weight: 600;
}


.brand-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.page-location {
  max-width: 1400px;
  font-size: 16px;
  color: #666;
  margin-left: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  margin: 0 auto;
}

.page-location span {
  color: #ccc;
}


.brand-intro {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto; /* 필요 시 조정 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 180px;
  text-align: center;
 
}

.minifire-bg{
  background-image: url('../img/brand/bg_minifire.png');
}
.carmax-bg {
  background-image: url('../img/brand/bg_carmax.png');
}
.hommax-bg {
  background-image: url('../img/brand/bg_hommax.png');
}
.gschem-bg {
  background-image: url('../img/brand/bg_gschem.png');
}


.brand-intro p {
  line-height: 0.9;
  margin-top: 30px;
  white-space: pre-line;
  font-size: 20px;
}

.brand-intro .container{
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}



.product-list-section {
  padding: 60px 0 200px;
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.sort-label {
  font-weight: 500;
}

.sort-select {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.select-container {
  position: relative;
  display: inline-block;
}

.select-container select {
  padding-right: 30px; /* 아이콘 공간 확보 */
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(312px, 1fr));
  gap: 50px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-item {
  text-align: center;
  width: 312px;
}

.product-item .item_img{
  border: 1px solid #d9d9d9;
  width: 312px;
  height: 312px;
  text-align: center;
}

.product-item img {
  height: 100%;
}

.product-item p {
  margin: 16px 0;
  text-align: left;
  font-size: 18px;
}

.product-item a{
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
    border: 1px solid #D71521;
    color: #D71521;
    border-radius: 50px;
    background-color: #fff;
    font-weight: 600;
    display: block;
    text-decoration: none;
}

.pagination {
  text-align: center;
  margin-top: 80px;
}

.pagination a {
  margin: 0 5px;
  color: #333;
  text-decoration: none;
}

.pagination a.active {
  font-weight: bold;
  color: #d00;
}


@media (max-width: 1660px) {
  .sub-page{
    padding-top: 90px;
  }
  .brand-intro{
    padding: 56px 16px;
  }
  .product-list-section{
    padding: 60px 16px 200px;
  }
  .product-item{
    width: 100%;

  }
  .product-item .item_img{
    width: 100%;
  }
  .page-location{
    margin-left: 0px;
    padding: 0 16px;
  }
  .brand-intro p{
    line-height: 1.4;
  }
  
}