.main-container {
  width: 100%;
}

.main-inner-container {
  width: 100%;
  max-width: 1440px;
  background-color: #1a1b1f;
  margin: 0 auto;
}
.main-inner-bg {
  width: 100%;
  background-color: #fafafa;
}

/* carousel */
.carouselarea-wrap {
  position: relative;
}
.carousel-prev {
  display: none;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 39px;
  height: 39px;
  background: url(../image/banner-prev.png) no-repeat center/100%;
  cursor: pointer;
}
.carousel-next {
  display: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 39px;
  height: 39px;
  background: url(../image/banner-next.png) no-repeat center/100%;
  cursor: pointer;
}

/* 메인 배너 */
.main-banner-wrap {
  position: relative;
  width: calc(100vw - (100vw - 100%));
  overflow: hidden;
}
.main-banner-wrap:hover .carousel-prev,
.main-banner-wrap:hover .carousel-next {
  display: block;
}
.banner-list {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.banner-list .banner-item {
  position: relative;
  min-width: 33.3333%;
  max-width: 33.3333%;
  aspect-ratio: 1/1;
  overflow: hidden;
  /* cursor: pointer; */
}
.banner-list .banner-item img {
  max-width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
/* 배너 텍스트 영역 */
.banner-list .banner-item .banner-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  word-break: keep-all;
}
.banner-list .banner-item .banner-txt .banner-tit {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: #fff;
}
.banner-list .banner-item .banner-txt .banner-cont {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
  margin-top: 12px;
  overflow-x: hidden;
}

/* 카테고리 영역 */
.category-wrap {
  padding: 16px 16px 16px 24px;
}
.category-wrap .category-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.category-wrap .category-list .category-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: fit-content;
  width: fit-content;
  background-color: #fff;
  padding: 6px 12px 6px 8px;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
}
.category-wrap .category-list .category-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.category-list .category-item .cate-icon {
  width: 26px;
  height: 26px;
  overflow: hidden;
}
.category-list .category-item .cate-icon img {
  width: 26px;
  height: 26px;
  object-fit: cover;
}
.category-list .category-item .cate-name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  margin-left: 8px;
  margin-top: 1px;
}
.list-top-tit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 16px;
  overflow: hidden;
}
.list-top-tit .list-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #000;
}
.list-top-tit .list-more-btn {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: #666;
  background-color: transparent;
  padding: 8px 4px;
  margin-left: 40px;
  text-decoration-line: underline;
}

/* 상품 영역 */
.products-wrap {
  width: 100%;
}
.products-wrap .product-scroll {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* 부드러운 스크롤 대신 즉각 반응 */

  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 16px 24px 16px;
}
.products-wrap .product-scroll::-webkit-scrollbar {
  display: none;
}
.products-wrap .product-list {
  min-width: 2600px;
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  padding-right: 16px;
}
.product-list .product-item {
  position: relative;
  width: 260px;
  cursor: pointer;
}
/* 오른쪽 영역 체크 */
.product-list .product-item:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 16px;
  height: 100%;
  background-color: transparent;
}
.product-list .product-item .pd-image {
  position: relative;
  width: 100%;
  height: 312px;
  overflow: hidden;
}
.product-list .product-item .pd-image .pd-like-btn {
  width: 20px;
  height: 20px;
  background: url(../image/likebtn-off.png) no-repeat center/100%;
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 20;
}
.product-list .product-item .pd-image .pd-like-btn input[type="checkbox"] {
  display: none;
}
.product-list
  .product-item
  .pd-image
  .pd-like-btn:has(input[type="checkbox"]:checked) {
  background-image: url(../image/likebtn-on.png);
}
.product-list .product-item .pd-image img {
  width: 100%;
  object-fit: cover;
}
.product-list .product-item .pd-text-area {
  min-height: 90px;
  padding: 8px 12px;
  background-color: #fff;
}
.product-list .product-item .pd-text-area .pd-brand {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #000;
  /* 한 줄 말줄임 */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.product-list .product-item .pd-text-area .pd-tit {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: #000;
  min-height: 36px;
  /* 여러 줄 말줄임 */
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-list .product-item .pd-text-area .pd-price {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #000;
}
.product-list .product-item .pd-text-area .pd-price .discount-per {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #f31110;
  margin-right: 2px;
}

/* 최신 콘텐츠 영역 */
.content-wrap {
  width: 100%;
}
.content-wrap .content-scroll {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* 부드러운 스크롤 대신 즉각 반응 */

  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 16px 24px 16px;
}
content-wrap .content-scroll::-webkit-scrollbar {
  display: none;
}
.content-list {
  display: flex;
  align-items: flex-start;
}
.content-list .content-item {
  position: relative;
  width: 468px;
  height: 516px;
  background-color: #fff;
}
/* 오른쪽 영역 체크 */
.content-list .content-item:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 16px;
  height: 100%;
  background-color: transparent;
}
.content-list .content-item .cont-item-inner {
  cursor: pointer;
}
.content-list .content-item .con-image {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: 312px;
  overflow: hidden;
}
.content-list .content-item .con-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-list .content-item .con-text-area {
  padding: 12px 12px 8px;
  background-color: #fff;
}
.content-list .content-item .con-text-area .con-cate {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #000;
}
.content-list .content-item .con-text-area .con-tit {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #000;
  padding-top: 4px;
  word-break: keep-all;
}
.content-list .content-item .con-text-area .con-con {
  font-size: 11px;
  line-height: 14px;
  font-weight: 400;
  color: #666;
  padding: 4px 0 8px;
  /* 한 줄 말줄임 */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.con-image-list {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #fff;
  padding: 8px 12px 12px;
}
.con-image-list .con-image-item {
  position: relative;
  width: 72px;
  height: 86px;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
}
.con-image-list .con-image-item:nth-of-type(4):before {
  content: "";
  position: absolute;
  inset: 0px;
  background-color: rgb(0, 0, 0);
  opacity: 0.4;
  z-index: 10;
}
.con-image-list .con-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.con-image-list .con-image-item span {
  display: inline-block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.cont-status-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.cont-status-wrap .cont-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cont-status-wrap .cont-status .cont-status-time {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #666;
}
.cont-status-wrap .cont-status .cont-status-view {
  display: flex;
  align-items: center;
  gap: 2px;
}
.cont-status-view .view-icon {
  width: 12px;
  height: 12px;
  background: url(../image/view-icon.png) no-repeat center/100%;
  margin-top: 1px;
}
.cont-status-view .view-num {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #666;
}
.con-brand-wrap {
  display: flex;
  align-items: center;
}
.con-brand-wrap::before {
  content: "";
  display: inline-block;
  margin: 0px 8px;
  width: 1px;
  height: 9px;
  background-color: #ebebeb;
}
.con-brand-wrap .brand-txt,
.con-brand-wrap .brand-txt-etc {
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: #666;
}

/* 라이브 편성표 */
.schedule-wrap {
  width: 100%;
}
.schedule-wrap .schedule-scroll {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* 부드러운 스크롤 대신 즉각 반응 */

  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 16px 24px 16px;
}
.schedule-wrap .schedule-scroll::-webkit-scrollbar {
  display: none;
}
.schedule-list {
  width: 100%;
  display: flex;
  position: relative;
}
.schedule-list .schedule-item {
  min-width: 260px;
  width: 260px;
  position: relative;
  cursor: pointer;
}
/* 오른쪽 영역 체크 */
.schedule-list .schedule-item:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 16px;
  height: 100%;
  background-color: transparent;
}
.schedule-list .schedule-item .schedule-image {
  position: relative;
  width: 100%;
  height: 312px;
}
.schedule-list .schedule-item .schedule-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.schedule-list .schedule-item .schedule-image .schdate-box {
  background-color: #4a4a4a;
  width: fit-content;
  height: 16px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 400;
  color: #fff;
  padding: 0 4px;
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 10;
}
.schedule-list .schedule-item .schedule-text-area {
  width: 100%;
  height: 56px;
  background-color: #fff;
}
.schedule-list .schedule-item .schedule-text-area p {
  padding: 8px 8px 12px 8px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #000;
  /* 여러 줄 말줄임 */
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 오른쪽 하단 fab 버튼 */
.fab-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fab-btn img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
  .banner-list .banner-item .banner-txt {
    padding: 10px;
  }
}
@media screen and (max-width: 768px) {
  .banner-list .banner-item .banner-txt {
    padding: 20px;
  }
  .banner-list .banner-item {
    min-width: 100%;
    max-width: 100%;
  }
}
