/* BASIC css start */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


#footer {width:100%; background:#f6f6f6; padding:10px 0;}

/* ✅ Swiper 대신: 섹션 이미지 공통 */
.main_section img{
  width:100%;
  height:auto;
  display:block;
  border-bottom:2px solid white;
}

/* 섹션 공통 여백 */
.main_section { width:100%; }

/***************************
  2) 카테고리 버튼 (1행2열)
****************************/
/* 카테고리 카드 섹션 */
.cate_cards{
  padding: 14px 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 카드 */
.cate_card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 16px 14px;
  background: #f2f2f2;      /* 연한 그레이 */
  border-radius: 10px;

  text-decoration: none;
  color: #111;
}

/* 왼쪽 텍스트 */
.cate_card__title{
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cate_card__more{
  margin-top: 6px;
  font-size: 12px;
  color: #777;
  font-weight: 600;
}

/* 오른쪽 이미지 */

.cate_card__img{
  width: 96px;          /* ← 64 → 96 */
  height: 96px;
  flex: 0 0 96px;

  border-radius: 10px;
  overflow: hidden;
  background: #f0f0f0;
}

.cate_card__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.15);   /* 1.1~1.2 사이 추천 */
}




/* 터치 피드백 (과하지 않게) */
.cate_card:active{
  transform: scale(0.99);
}


/***************************
  3) 신규상품 영역 (기존)
****************************/
.section_4 {}
.section_4 .main_foot_bn_wrapper { width: 100%; margin: 30px auto; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap { width: 100%; margin: 0 auto; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap:after { content:""; display:block; clear:both; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap .main_foot_bn { width:85%; margin:0 auto; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap .main_foot_bn .img_area { width:100%; overflow:hidden; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap .main_foot_bn .img_area a img { width:100% !important; height:auto !important; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap .main_foot_bn .txt_area { padding:5px 5px 15px 5px; line-height:10px; text-align:center; }
.section_4 .main_foot_bn_wrapper .main_foot_bn_wrap .main_foot_bn .txt_area a { color:#878787; font-size:12px; font-weight:bold; }

/***************************
  4) 크리마 섹션
****************************/
.crema { padding: 18px 12px 24px; background:#fff; }
.section_title{
  font-size:16px;
  font-weight:800;
  color:#333;
  margin-bottom:12px;
}

/* ✅ 중요: footer absolute 제거 (스크롤 페이지에서는 겹침 원인) */
.section_4 #foot {
  width: 100%;
  padding: 20px 0;
  background: #f6f6f6;
  position: static;
  text-align: center;
}

/* Top / Bottom 버튼 */
.scroll_buttons{
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scroll_btn{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.scroll_btn:active{
  transform: scale(0.95);
}


/* BASIC css end */

