.wrap{
 margin-top: 80px;
 }
.section,
.bodo,
.gallery {
  width: 100%;
  display: flex;
  justify-content: center;
}

.inner {
  width: 1200px;
  padding: 100px 0px;
}
.title {
  font-weight: 800;
}
.title h3 {
  color: #6d6d6d;
  font-weight: 500;
  margin-top: 20px;
}
.mob { display: none; }

@media (max-width: 768px) {
   .pc { display: none; }
   .mob { display: block; }
}

.swiper-wrapper {
  display: flex;
  justify-content: space-between;
  text-align: center;
/*   margin-top: 60px; */
}
.section.best-section {
  position: relative;
}

/* 버튼 기본 스타일 */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(80%);
  width: 40px;
  height: 40px;
  background: none;
  box-shadow: none;

  font-size: 24px;
  z-index: 10;
  cursor: pointer;
  color: #b7b7b7 !important;
}

/* 화살표 글자 */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 24px;
  color: inherit;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #dc2d4e !important;
}
/* inner 폭 기준 버튼 위치 */
.best-section .swiper-button-prev {
  left: calc((100% - 1200px) / 2 - 100px); /* inner 왼쪽 바로 밖 */
}
.best-section .swiper-button-next {
  right: calc((100% - 1200px) / 2 - 100px); /* inner 오른쪽 바로 밖 */
}
.img-box {
  width: 380px;
  height: 400px;
  border: 1px solid #d2d2d2;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #fff;
}

.img-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.img-box img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 15px;
}

/* 호버 시 이미지 확대 */
.img-box:hover img {
  transform: scale(1.05);
}
.product-txt {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}
.product-txt span {
  color: #362e2b;
  font-size: 18px;
  font-weight: 600;
}
.product-txt .price {
  color: #dc2d4e;
  font-size: 21px;
  font-family: 'NanumSquareNeoHeavy';
}
.sub-banner {
  width: 100%;
  height: 400px;
  background-image: url("../img/sub-banner.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.sub-banner h1 {
  color: #fff;
  font-weight: 600;
  font-size: 2.5rem;
  padding: 20px;
}
.sub-banner h3 {
  color: #d8baa9;
  font-weight: 500;
  font-size: 20px;
}
.more {
  display: flex;
  justify-content: space-between;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #362e2b;
  border-radius: 15px;
  color: #f9f9f9;
  padding: 6px 18px;
  border: none;
  outline: none;
  height: 36px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: #4b423e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.product-list {
  display: flex;
  text-align: center;
  margin-top: 60px;
  gap: 130px;
}

.left .img-box {
  width: 500px;
  height: 500px;
}

.right ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.right ul li {
  display: flex;
  text-align: left;
  align-items: center;
}
.right ul li .img-box {
  width: 195px;
  height: 180px;
  margin-right: 20px;
}
.simple-product {
  margin-top: 150px;
}
.simple-product ul {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 60px;
}
.center {
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}
.center .inner {
  display: flex;
  justify-content: space-between;
}
.left-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  justify-content: space-between;
}


.left-txt h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.left-txt span {
  border-radius: 15px;
  background-color: #fff;
  color: #362e2b;
  padding: 3px;
  border: 1px solid #59493f;
  width: 150px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-top: 40px;
}
.left-txt h3 {
  font-size: 30px;
  margin-top: 10px;
}

.left-txt img {
  position: absolute;
  top: 140px;
  left: 320px;
}

/* 버튼 그룹 왼쪽에 정렬 */
.button-group {
  margin-top: 100px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.text-btn {
  position: relative;
  display: inline-block; 
  width: 300px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  border-radius: 8px;
  background-size: cover;
  background-position: top;
  overflow: hidden;
  transition: transform 0.3s ease;
  z-index: 1;
}

.text-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  transition: background-color 0.3s ease;
  border-radius: 8px;
  z-index: 0 !important; 
}

.text-btn p {
  position: relative;
  z-index: 2;
}


/* 배경 이미지 예시 */
.text-btn:nth-child(1) {
  background-image: url('../img/btn-banner1.jpg');
}

.text-btn:nth-child(2) {
  background-image: url('../img/btn-banner2.jpg');
}

/* 호버 효과: 살짝 확대 + 오버레이 제거 */
.text-btn:hover {
  transform: scale(1.05);
}

.text-btn:hover::before {
  background-color: rgba(220, 45, 78, 0.5); /* 핑크색 반투명 */
}

@media (max-width: 768px) {
  .text-btn {
   width: 100%;    
   max-width: none;  
  }
}
.center .right-img {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 500px;
  height: 500px;
  border-radius: 15px;
}

/* 이미지 기본 */
.center .right-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.3s ease;
}

/* 항상 보이는 어두운 오버레이 */
.center .right-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 기본 어두운 오버레이 */
  transition: background-color 0.3s ease;
  z-index: 1; 
}

/* hover 시 오버레이 제거 */
.center .right-img:hover::before {
  background-color: rgba(0, 0, 0, 0); /* 투명하게 */
}

/* 버튼 항상 표시 */
.center .right-img .overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #dc2d4e;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  opacity: 1; /* 항상 보이도록 */
  transition: background-color 0.3s ease;
  z-index: 2; 
}

/* hover 시 버튼 색 어둡게 */
.center .right-img:hover .overlay-btn {
  background-color: #b0213d; 
}


.bodo .title,
.gallery .title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.plus-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d2d2d2;
  background-color: transparent;
  color: #222;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.plus-btn:hover {
  background-color: #dc2d4e;
  color: #fff;
}
.bodo ul,
.gallery ul {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  text-align: center;
}
.gallery{
  display: flex;
  justify-content: center;
}

.gallery .inner{
  padding:0px;
  
}

.bodo .img-box,
.gallery .img-box {
  width: 275px;
  height: 355px;
  border-radius: 15px;
  margin-bottom: 10px;
  border: #fff;
}

.notice-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  padding: 100px 0px 50px 0px;
  width: 1200px;
  margin: 0 auto;
}
/* 공지사항(inner) + 고객센터(info) 가로 정렬 */
.notice-inner .inner-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;  
    gap: 40px;         
	margin-top: 40px;
}

/* 공지사항 박스 */
.notice-inner .notice {
    flex: 1;   
	display: flex;
    flex-direction: column;
	justify-content: flex-end;
}

/* 공지사항 ul, li 스타일 */
.notice ul {
    font-size: 18px;
     flex: 1;           
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.notice ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;    
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.notice ul li:first-child {
    border-top: 1px solid #eee;
}

.notice ul li:hover a {
    font-family: 'NanumSquareNeoBold';
    color: #dc2d4e; 
}

.notice ul li span {
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
}

.notice-inner .info {
    width: 500px;
    border: 1px solid #b5b5b5;
    background-color: #f4f4f4;
    border-radius: 15px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


.info > span {
    margin-top: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #dc2d4e;
}

.info > p {
    padding: 25px 0;
    font-size: 17px;
}

@media screen and (max-width: 768px) {

  .notice-inner {
    width: 100%;
    padding: 40px 20px 0px 20px
  }

  /* PC용 타이틀 숨김, 모바일용 타이틀 표시 */
  .title h1.pc {
    display: none;
  }

  .title h1.mob {
    display: block;
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 10px 0 0 0;
  }

  /* 공지사항 + 고객센터 세로 정렬 */
  .notice-inner .inner-box {
    flex-direction: column;
    gap: 30px;
  }

  /* 고객센터 전체 폭 사용 */
  .notice-inner .info {
    width: 100%;
    padding: 30px;
  }

  /* 공지사항 ul li 모바일 최적화 */
  .notice ul li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }

  .notice ul li span {
    margin-top: 5px;
  }

  /* 공지사항 ul 높이 자동 */
  .notice ul {
    flex: none; /* 부모 flex 높이 상속 제거 */
  }
}


.footer {
  width: 100%;
  height: 360px;
  display: flex;
  justify-content: center;
  background-color: #eeeeee;
  margin-top: 50px;
}
.footer-nav {
  font-size: 14px;
  border-bottom: 1px solid #cfcfcf;
  padding-bottom: 30px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 각 항목 기본 스타일 */
.footer-nav li {
  display: inline-flex;
  align-items: center;
}

/* li 사이에 구분자 추가 (첫 항목 앞에는 없음) */
.footer-nav li + li::before {
  content: "|";
  margin: 0 12px;
  color: #cfcfcf;
  font-weight: 500;
}

.footer-nav a {
  text-decoration: none;
  color: #555;
  padding: 6px 0;
  display: inline-block;
  line-height: 1;
  transition: color 0.15s ease;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #1c1c1c;
  text-decoration: underline;
  outline: none;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
.footer img {
  height: 50px; /* 필요에 따라 조정 */
  object-fit: contain;
}

/* 우측 정보 텍스트 정렬 */
.footer p {
  text-align: right;
  line-height: 1.6;
  color: #676767;
  font-size: 14px;
}


/* ===============================
   반응형 스타일 시작 (Responsive)
================================= */

/* 태블릿 (화면 너비 1024px 이하) */
@media screen and (max-width: 1024px) {
  .inner {
    width: 90%;
    padding: 60px 0;
  }


  .product-list,
  .bodo ul,
  .gallery ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-list {
    gap: 40px;
  }

  .left .img-box {
    width: 100%;
    height: auto;
  }

  .right ul {
    gap: 20px;
  }

  .right ul li {
/*     flex-direction: column; */
    align-items: flex-start;
  }

  .right ul li .img-box {
    margin-right: 15px;
    margin-bottom: 10px;
  }

  .center .inner {
    flex-direction: column;
    align-items: center;
  }

  .center .right-img,
  .left-txt {
    width: 100%;
    max-width: 500px;
  }
  .left-txt img{
    display: none;
  }
  .left-txt h1 {
    font-size: 2rem;
  }

  .left-txt h3 {
    font-size: 24px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none; /* 화살표 제거 (작은 화면에서 터치스크롤 유도) */
  }
}

/* 모바일 (화면 너비 768px 이하) */
@media screen and (max-width: 768px) {

  .title h3 {
    font-size: 1rem;
  }

  .product-txt span {
    font-size: 16px;
  }

  .product-txt .price {
    font-size: 18px;
  }

  .btn {
    padding: 6px 14px;
    font-size: 14px;
    height: 32px;
  }

  .img-box {
    width: 100%;
    height: auto;
  }

  .center .right-img {
    width: 100%;
    height: auto;
  }

  .sub-banner h1 {
    font-size: 2rem;
  }

  .sub-banner h3 {
    font-size: 16px;
  }

  .plus-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .left-txt h1 {
    font-size: 1.8rem;
  }

  .left-txt h3 {
    font-size: 20px;
  }

  .left-txt div {
    font-size: 16px;
  }
  .button-group{
   margin-bottom: 30px;
  }
}

/* 초소형 모바일 (화면 너비 480px 이하) */
@media screen and (max-width: 480px) {
   .swiper-wapper{
	  margin-top: 30px !important;
   }
  .inner {
    padding: 40px 20px !important;
  }
  .sub_banner {
    display:none;
  }
  .sub-banner h1 {
    padding: 30px;
  }
  .sub-banner h3 {
    padding: 0px 20px;
  }
  .width_wrap .title h1 {
    font-size: 30px;
    padding: 0px 10px;
  }

  .more {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
 }

 .more h1 {
    margin-bottom: 15px;
 }

  .btn {
    width: 100%;
    justify-content: center;
	margin: 20px 0px;
  }
  .best_text_box {
    padding: 0px 20px;
  }

  .left-txt h1 {
    font-size: 2.0rem;
	line-height: 1.3;
  }

  .left-txt h3 {
    font-size: 24px;
	font-family: 'NanumSquareNeoExtraBold';
	padding: 10px 0px;
  }
  .left-txt span {
    margin-top: 25px;
  }
 .button-group {
	margin-top: 0px;
  }

  .simple-product {
	margin-top: 50px;
  }
 
  .simple-product ul {
    flex-wrap: nowrap ;
   gap: 15px;
   margin-top: 30px;
  }
 
  .bodo,
  .gallery {
    overflow-x: auto ;
    width: 100%;
  }
  .bodo  .inner,
  .gallery .inner,
  .notice .inner{
    overflow-x: auto ;
    width: 100% !important;
  }
  .gallery .inner{
    padding: 40px 0;
  }

  .bodo ul,
  .gallery ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 0;
    scrollbar-width: auto; 
	min-width: calc((220px + 16px) * 4 - 16px);
  }

  /* 크롬/사파리용 스크롤바 스타일 */
  .bodo ul::-webkit-scrollbar,
  .gallery ul::-webkit-scrollbar {
    height: 6px;
  }
  .bodo ul::-webkit-scrollbar-thumb,
  .gallery ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }

  .bodo ul li,
  .gallery ul li {
    flex: 0 0 auto; 
    width: 220px; 
  }

  .bodo .img-box,
  .gallery .img-box {
    width: 100%;
    height: 250px;
  }

}