/* BASIC css start */
body { margin: 0; padding: 0; overflow-x: hidden;}

.brand-search{
    width:100%;
    max-width:400px;
}

.brand-search input{
    width:100%;
    padding:6px 10px;
    border:1px solid #ddd;
    border-radius:4px;
    font-size:13px;

}

.brand-result{
  margin-top:6px;
  font-size:12px;
  color:#666;
  padding-left: 15px;
}



.brand-index{
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9999;
  background:#fff;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;

  padding:10px 12px;
  border-bottom:1px solid #eee;
}


.brand-index::-webkit-scrollbar{
  display:none;
}


.brand-index a{
    flex:0 0 auto;      /* ¹öÆ° Å©±â À¯Áö */
    white-space:nowrap; /* ÅØ½ºÆ® ÁÙ¹Ù²Þ ¹æÁö */
    display:flex;
    align-items:center;
    justify-content:center;

    padding:6px 12px;
    border:1px solid #ddd;
    font-size:13px;
    line-height:1;

    text-decoration:none;
    color:#333;
    border-radius:4px;
}

.brand-index a:hover{
    background:#000;
    color:#fff;
}

/* ÀüÃ¼ ÄÁÅ×ÀÌ³Ê */
.brand-item-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  padding: 15px;
  max-width: 1150px;
  margin: 80px auto 10px; /* »ó´Ü °£°Ý Ãß°¡ */
  box-sizing: border-box;
}

/* °³º° ºê·£µå ¾ÆÀÌÅÛ */
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-item a{
display:block;
text-align:center;
text-decoration:none;
color:inherit;
}

/* ½æ³×ÀÏ ½ºÅ¸ÀÏ */
.brand-item img{
  width:100%;
  height:36px;
  padding:3px 20px;
  object-fit:contain;
  border-radius:10px;
  border:1px solid #ddd;
  background:#fff;
  transition:filter 0.3s ease, transform 0.3s ease;
}

/* ¸¶¿ì½º ¿À¹ö ½Ã È¿°ú */
.brand-item img:hover {
  filter: grayscale(100%);
  transform: scale(1.05);
}

/* ÅØ½ºÆ® ½ºÅ¸ÀÏ */
.brand-item .text-wrap p {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
  text-align: center;
}

/* ÅØ½ºÆ® hover È¿°ú */
.brand-item:hover .text-wrap p {
  color: #666;
}




.brand-group{
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 600;
  color: #656565;
  padding: 5px 5px;
  margin-top: 20px;
  border-bottom: 1px solid #eee;

  scroll-margin-top: 250px; /* »ó´Ü °íÁ¤ ¸Þ´º ³ôÀÌ¸¸Å­ */
}

.brand-tabs{
    display:flex;
    gap:10px;

    width:100%;

    overflow-x:auto;
    overflow-y:hidden;

    justify-content:flex-start;   /* ±âº» ¿ÞÂÊ */

    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
}

.brand-tabs::-webkit-scrollbar{
    display:none;
}

.brand-tabs a{
    flex:0 0 auto;   /* ÀÌ°Ô Áß¿ä */
    white-space:nowrap;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:6px 12px;
    border:1px solid #ddd;
    border-radius:4px;

    font-size:13px;
    text-decoration:none;
    color:#333;
}

.brand-tabs a:hover{
    background:#000;
    color:#fff;
}
.brand-tabs a.active{
    background:#000;
    color:#fff;
    border-color:#000;
}

@media (min-width: 992px){

  .brand-index{
    top:135px;
  }

  .brand-tabs{
    justify-content:center;   /* µ¥½ºÅ©Å¾ Áß¾Ó */
  }

}

/* ÅÂºí¸´ */
@media (max-width: 991px){

  .brand-index{
    top:121px;
  }

  .brand-tabs{
      justify-content:flex-start;   /* ¿ÞÂÊ Á¤·Ä */

      overflow-x:auto;              /* ½º¿ÍÀÌÇÁ */
      overflow-y:hidden;

      flex-wrap:nowrap;

  user-select: none;
  -webkit-user-select: none;
      padding-left:10px;
  }

}
  
.brand-item-container {
  padding: 20px;
}

  
  

}

@media (max-width:768px){

  .brand-index{
    top: 80px; /* ¸ð¹ÙÀÏ Çì´õ ³ôÀÌ */
  }

  .brand-group{
    scroll-margin-top: 140px;
  }

}
/* BASIC css end */

