@charset "utf-8";

/*물품 컬럼*/
.item__gridse{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.item__gridse .item-info__wrap{
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.71;
    color: var(--color--D-gray);
}
.item__gridse .item-info__wrap>.bar{
    width: 1px;
    height: 12px;
    background-color: #9F9F9F;
}
.item__gridse .item-info__wrap .item-info.time{
    padding-left: 28px;
    background: url(../images/common/icon_time.svg) no-repeat 3px center/16px;
}
.item__gridse .item-info__wrap .item-info .count{
    margin-right: 2px;
}
@media screen and (max-width:1200px){
    .item__gridse{
        gap: 16px 8px;
    }
    .item__gridse .item-info__wrap{
        font-size: 12px;
    }
    
}
@media screen and (max-width: 1023px){
    .item__gridse{
        max-width: 720px;
        grid-template-columns: repeat(2, 1fr);
        margin: 0 auto;
        gap: 40px;
    }
    .item__gridse .item-info__wrap{
        font-size: 11px;
        line-height: 19px;
        margin-top: 8px;
    }
    .item__gridse .item-info__wrap .item-info.time{
        background-size: 13px;
        background-position: 0% center;
        padding-left: 18px;
    }
}
@media screen and (max-width: 767px){
    .item__gridse{
        gap: 16px 8px;
    }
    .item__gridse .item-info__wrap{
        column-gap: 4px;
    }
}



/*중고 메인*/
/* best item 
.main__sub-text{
    position: relative;
    margin-top: 4px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color--gray);
    text-align: center;
}
.view-more__link{
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 23px;
    font-size: 16px;
    line-height: 2;
    color: var(--color--D-gray);
    background: url(../images/common/icon_more.svg) no-repeat calc(100% - 5px) center/14px;
}*/

/* 하위 카테고리 pc버전 */
.mcategory-filter-wrapper {
  display:none!important;
  overflow: hidden; 
  white-space: nowrap;
  position: relative;
  padding: 10px 0;
}

.sch{   
  padding: 0px 0px !important;
}
.section__innersch{
    width: calc(100% - 48px);
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.section__innersch .category-text{
	text-align: center;
	margin-right: 25px;
}

.section__innersch .category-text div:nth-child(1){
	font-size:28px;
    font-weight: 500;
}
.category__listsch {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category__listsch > li {
	flex: 1;
}

.category__item>a {
    display: flex;
    align-items: center;
    flex-direction: column;
}


  @media screen and (max-width: 1200px) {
    .category__listsch>li {
        width: calc(100% / 9 - 10px);
    }
    .category__listsch {
        justify-content: space-around;
        flex-wrap: wrap;
        row-gap: 33px;
        max-width: 890px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px){
    .mcategory-filter-wrapper {
      display:inline-block !important;
      width:100%;
      overflow: auto; 
      white-space: nowrap;
      position: relative;
      padding: 0px;
    }

	.mcategory-filter-wrapper::-webkit-scrollbar {
	    width: 6px; /* 세로 스크롤바 너비 */
	    height: 6px; /* 가로 스크롤바 높이 */
	}
	
	.mcategory-filter-wrapper::-webkit-scrollbar-thumb {
	    background: #eeeeee; /* 스크롤바 색상 */
	    border-radius: 3px; /* 스크롤바 모서리 둥글게 */
	}
	
	
  .mcategory-filter button a {
    font-size: 14px;
    padding: 9px 20px;
  } 

}

/* 하위 카테고리 모바일버전*/
.category-filter-wrapper {
  display:none;
  overflow: hidden; /* 스크롤바를 숨김 */
  white-space: nowrap; /* 버튼을 한 줄에 배치 */
  position: relative;
  padding: 10px 0;
}
.category-filter {
  display: flex;
  gap: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease; 
}
.category-filter button{
  flex: none;
  padding: 8px 16px;
  border-radius:12px;
  color:#1d1d1d;
  background: #fff;
  border: 1px solid #e9e9e9;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap; 
  /*transition: background 0.1s, color 0.3s;*/
}
.category-filter button.active {
  background: #1d1d1d!important;
  color: #fff!important;    
}
.subcategory__list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.subcategory__item>a{
    display: block;
    padding: 0 20px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color--text);
    text-align: center;
}
.subcategory__item>a>span{
}
.subcategory__item.on .category__img,
.subcategory__item:hover .category__img{
    background-color: #fff;
    border-color: var(--color--primary);
}
.subcategory__item.on>a>span,
.subcategory__item:hover>a>span{
}
.subcategory__item.current>button>a{
}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 1023px){
    .subcategory__section{
        padding: 64px 0;
    }
    .sch{
        padding: 0px !important; 
    }
    .subcategory__item>a>span{
        font-size: 14px;
        line-height: 22px;
        margin-top: 4px;
    }
    .subcategory__listsch{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .subcategory__listsch>li{

    }
    .subcategory__item>a{
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }   
}
@media screen and (max-width: 767px){
    .category__section{}    
    .mcategory-filter-wrapper {
    -webkit-overflow-scrolling: touch;    
    }
    
.category-filter-wrapper {
    display: inline-block;
    visibility: visible;
  overflow: hidden; /* 스크롤바를 숨김 */
  white-space: nowrap; /* 버튼을 한 줄에 배치 */
  position: relative;
  padding: 10px 0;
}
    .sch{
        display:none;
    }
.category-filter {
  display: flex;
  gap: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease; 
}
.category-filter button a{
  flex: none;
  padding: 8px 16px;
  border-radius:12px;
  color:#1d1d1d;
  background: #fff;
  border: 1px solid #e9e9e9;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap; 
  /*transition: background 0.1s, color 0.3s;*/
}
.category-filter button.active {
  background: #1d1d1d!important;
  color: #fff!important;
  font-weight: 600;
}
.subcategory__list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.subcategory__item{
    display: block;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color--text);
    text-align: center;
}

    .subcategory__list{

    }
    .subcategory__list>li{


    }
    .subcategory__item>a{

    }   
    
}


/* 아이템 박스 전체 스타일 개선 */
.product-slider .item__box {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: none;
  text-decoration: none;
}

/* 아이템 박스 내부 링크 스타일 */
.product-slider .item__box a {
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: block;
}

/* 텍스트 영역 스타일 개선 */
.product-slider .item-text__wrap {
  padding: 12px 8px;
  background: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* 텍스트 영역 내부 요소 스타일 */
.product-slider .item-text__wrap .item__title,
.product-slider .item-text__wrap .item__price {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

/* 포커스 상태에서도 아웃라인 제거 */
.product-slider .item__box:focus,
.product-slider .item__box a:focus,
.product-slider .item-text__wrap:focus,
.product-slider .item-text__wrap *:focus {
  outline: none;
  box-shadow: none;
}

/* 클릭/터치 효과 개선 */
.product-slider .item__box:active {
  opacity: 0.9;
  transform: scale(0.995);
  transition: all 0.1s ease;
}

/* 모바일 환경 최적화 */
@media (max-width: 768px) {
  .product-slider .item-text__wrap {
    padding: 8px 4px;
  }
}

/* 텍스트 선택 방지 */
.product-slider .item-text__wrap * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 정보 영역 스타일 개선 */
.product-slider .item-info__wrap {
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}



/*앨범형목록*/
.item__box::focus {
    outline: none;
}
/* 슬라이드 터치 영역 최적화 */
.mobseitem .item__box {
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

/* 슬라이더 성능 최적화 */
.mobseitem .slick-list {
  will-change: transform;
  -webkit-overflow-scrolling: touch;
}

/* mobseitem 클래스에 추가될 스타일 */
.mobseitem .item-text__wrap {
  padding: 12px 8px;
  word-break: keep-all;
  overflow: hidden;
}

.mobseitem .item-text__wrap .item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  height: 2.8em;
  margin-bottom: 8px;
}

.mobseitem .item-text__wrap .item__price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* 터치 최적화를 위한 추가 스타일 */
.mobseitem .slick-track {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.mobseitem .slick-slide {
  height: auto;
  margin: 0 8px;
  touch-action: pan-y pinch-zoom;
}

.seitem__grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

 .semain__title{
     margin-top:70px;
    font-size: 26px;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
}

.item-info__wrap div {
  display: inline-block;  /* 텍스트와 아이콘을 한 줄로 표시 */
  margin-right: 0px;      /* 텍스트와 아이콘 간의 간격을 조정 */
}

.item-info__wrap img {
  vertical-align: middle; /* 아이콘과 텍스트가 수평으로 정렬되게 함 */
}

.slick-list>.slick-track>.item__box>div{
    display: inline-flex;
}
@media screen and (max-width:1200px){
    .main__title {
        font-size: clamp(24px,3.33vw,40px);
        line-height: 1.33;
    }
    .semain__title {
        font-size: clamp(20px,3.00vw,28px);
        line-height: 1.33;
    }
}

.seitem__grid .item-info__wrap{
    display: flex;
    align-items: center;
    column-gap: 4px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.71;
    color: var(--color--D-gray);
}
.seitem__grid .item-info__wrap>.bar{
    width: 1px;
    height: 12px;
    background-color: #9F9F9F;
}
.seitem__grid .item-info__wrap .item-info.time{
    padding-left: 28px;
    background: url(../images/common/icon_time.svg) no-repeat 3px center/16px;
}
.seitem__grid .item-info__wrap .item-info .count{
    margin-right: 2px;
}


@media screen and (max-width: 1023px){
   .seitem__grid{
        max-width: 720px;
        grid-template-columns: repeat(2, 1fr);
        margin: 0 auto;
        gap: 40px;
	}
    .seitem__grid .item-info__wrap{
        font-size: 11px;
        line-height: 19px;
        margin-top: 8px;
	}
    .seitem__grid .item-info__wrap .item-info.time{
        background-size: 13px;
        background-position: 0% center;
        padding-left: 18px;
    }
    
}
@media screen and (max-width:1375px){
	.seitem__grid{
		width: calc(100% - 150px);
		margin: 0 auto;
    }
}
@media screen and (max-width:1200px){
    .seitem__grid{
		gap: 16px 8px;
    }
    .seitem__grid .item-info__wrap{
          font-size: 12px;
    }
     .semain__title{
          margin-top:50px;
          text-align: center;
         
    }
}
@media screen and (max-width: 767px){
	.seitem__grid{
		width: 100%;
	}
    .semain__title{
      text-align: left; 
    } 
    .mobseitem{
          flex: 0 0 33.33%;  /* 각 아이템이 33.33% 너비를 차지하여 2.5개가 보이게 설정 */
        scroll-snap-align: center;  /* 스크롤 시 아이템이 가운데로 정렬되도록 설정 */
    }
    
    .mobseitem .slick-slide {
    margin: 0 4px;
  }
  
  .mobseitem .item-text__wrap {
    padding: 8px 4px;
  }
}    






/*공지버튼*/
.notice-swiper__button{
    display: none;
}

@media screen and (max-width: 1023px){

    
    .notice-swiper__button{
        display: flex;
        column-gap: 8px;
        width: fit-content;
        margin-left: 20px;

        position: absolute;
        right: 16px;
        top: 28px;
    }
     .notice__box{
        position: relative;
        flex-direction: column;
        height: 132px;
        padding: 24px 16px;
    }

    .notice-swiper{   
        
        position: static;
        width: 100%;
        margin-left: 0;
    }
    .notice-swiper .swiper-slide{
        flex-direction: column;
        row-gap: 16px;
    }
    .notice-swiper .swiper-slide>div{
        flex: none;
        justify-content: left;
        width: 100%;
        max-width: initial;
    }
    .notice-swiper .swiper-slide>div:nth-child(2){
        display:none;
    }
    .notice-swiper .swiper-slide>div:nth-child(3){
        display:none;
    }
    
    .notice-swiper .swiper-slide>div::after{
        display: none;
    }    
}



