@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Black.ttf") format("truetype");
  font-weight: 900;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
  min-width: 1440px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header Container */

.header {
  position: sticky;
  top: 0;
  z-index: 999; /* 다른 요소 위에 뜨도록 */
  background: #fff; /* 배경색 지정해서 내용 가려지지 않게 */
}

.nav-dropdown-box {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px 40px;
  z-index: 999;
  display: flex;              /* FLEX로 변경 */
  gap: 60px;                  /* 컬럼 간격 */
  justify-content: flex-start;/* 왼쪽부터 */
  align-items: flex-start;
  padding-left: 180px;        /* 시작점 맞춤 */
}




/* 각 컬럼 */
.nav-dropdown-box > ul {
  display: flex;
  flex-direction: column;
  gap: 0px;                  /* 항목 간 간격 */

}



.nav-dropdown-box > ul > li {
  margin-bottom: -10px;
}

/* 리스트 항목 */
.nav-dropdown-box > ul > li > a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555 !important;
    position: relative;
     display: inline;
  transition: color 0.2s ease;
  padding: 2px 0;
  line-height: 1.2;
}


.nav-dropdown-box > ul > li > a:hover {
  color: #000;
  font-weight: 700;
}

.nav-dropdown-box > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  background: #FF8B00;
  width: 0;
  transition: width 0.3s ease;
}
.nav-dropdown-box > ul > li > a:hover::after {
  width: 100%;
}




.nav-dropdown-box > ul:first-child {
    margin-left: 100px;
    
}

.nav-dropdown-box > ul:nth-child(2) {
    margin-left: -30px;
    
}

.nav-dropdown-box > ul:nth-child(3) {
    margin-left: -3px;
    
}


.nav-dropdown-box > ul:last-child {
    margin-left: 0px;
    
}





.nav-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid #ddd;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #000;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
}

.main-menu {
    position: relative;
    left: -100px;
}


/* Center Menu */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
}
.main-nav ul li a {
  font-size: 16px;
  font-weight: 700;
}

/* Right Section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}


/* Search */
.search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}
.search input {
  border: none;
  outline: none;
  width: 140px; /* 더 넓게 */
  font-size: 14px;
  padding: 4px;
}
.search .search-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  margin-left: 4px;
}

/* User Links */
.user-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.user-links span {
  color: #888;
}
.user-links img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Logo */
.logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2;
}
.logo span {
  font-size: 11px;
  color: #666;
}

/* footer */

.footer {
  background: #4a4038; /* 어두운 배경 */
  color: #ccc;
  font-size: 14px;
  padding: 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-menu {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
 gap: 12px;
}

.footer-menu li {
  list-style: none;
  position: relative;
  padding: 0 26px;           /* 좌우 여백 */
  border-right: 1px solid #aaa; /* 구분선 */
}

/* 첫 번째 li 왼쪽 여백 제거 */
.footer-menu li:first-child {
  padding-left: 0;
}

/* 마지막 li 구분선 제거 */
.footer-menu li:last-child {
  border-right: none;
}


.footer-menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
}

.footer-menu a strong {
  font-weight: 700;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 1;
  min-width: 300px;
  position: relative;
  top: -20px;
}

.footer-info p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-info a {
  color: #ccc;
  text-decoration: underline;
}

.footer-contact {
  text-align: right;
  min-width: 250px;
}

.sns-icons {
  display: flex;
  gap: 3px;
}

.sns-icons img {
  width: 100px;
  height: 100px;
}

.contact-info .tel {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

/* 위로가기 버튼 */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #eee;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* 카카오톡 버튼 */
/* 카카오톡 버튼 */
.kakao-btn {
  position: fixed;
  bottom: 70px;  /* 스크롤 버튼 위로 띄우기 */
  right: 5px;   /* 스크롤 버튼과 같은 right 값 */
  width: 100px;
  height: 100px;
  display: block;
  z-index: 999;
}


/* 카카오톡 이미지 크기 동일하게 */
.kakao-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

/* 스크롤 시*/
.fade-target {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}

.fade-target.in-view {
  opacity: 1;
  transform: translateY(0);
}

.product-detail-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-images {
  flex: 1;
}

.main-image img {
  width: 100%;
  border: 1px solid #eee;
}

.thumbnail-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumbnails img {
  width: 60px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.thumb-prev, .thumb-next {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.product-info {
  flex: 1;
}

.product-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 16px;
}

.new-price {
  font-size: 20px;
  font-weight: bold;
}

.tags {
  margin: 15px 0;
}

.tag {
  display: inline-block;
  border: 1px solid #ddd;
  padding: 4px 10px;
  margin-right: 6px;
  font-size: 13px;
  color: #666;
  border-radius: 20px;
}

.shipping {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

/* 관련 태그와 배송비 공통 스타일 */
.tags strong,
.shipping strong {
  display: inline-block;
  font-weight: 700;
  color: #000;
  font-size: 14px;
  margin-right: 8px;
}


.quantity-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  margin: 20px 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
}

.quantity-controls input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.quantity-price {
  font-weight: bold;
}

.total {
  display: flex;
  justify-content: space-between;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-btn {
  flex: 1;
  padding: 12px;
  background: #222;
  color: #fff;
  border: none;
  font-size: 16px;
}

.buy-btn {
  flex: 1;
  padding: 12px;
  background: #f6a623;
  color: #000;
  border: none;
  font-size: 16px;
}

.pay-buttons {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.pay-left, .pay-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-left p, .pay-right p {
  font-size: 12px;
  color: #222;
  line-height: 1.4;
  margin: 0;
}

.pay-left p strong,
.pay-right p strong {
  display: block;
  font-weight: bold;
  color: #222;
}

.naver-btn {
  background: #65DB6B;
  color: #fff;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
}

.naver-btn img {
  width: 91px;
  height: 29px;
}



.kakao-btn2 {
  background: #fee500;
  color: #000;
  border: 1px solid #ccc;
  padding: 10px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  margin-left: -420px;
  position: relative;
  top: -2px;

  /* 높이 고정 + flex로 가운데 정렬 */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px; /* 원하는 높이 */
  gap: 8px; /* 이미지와 텍스트 사이 간격 */
}

.kakao-btn2 img {
  width: 55px;
  height: 20px;
  flex-shrink: 0; /* 이미지 줄여도 박스 그대로 */
}



.product-tabs {
  display: flex;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.product-tabs button {
  flex: 1;
  padding: 15px;
  border: none;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
}

.product-tabs button.active {
  border-bottom: 2px solid #000;
  font-weight: bold;
}

/*상세페이지 이미지*/
.product-description-image {
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
}

.product-description-image img {
  width: 100%;
  display: block;
}

.review-summary {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  border-top: 2px solid #222;
  font-family: 'Noto Sans KR', sans-serif;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.review-header h3 {
  font-size: 20px;
  font-weight: bold;
}

.review-header span {
  font-weight: normal;
  font-size: 18px;
}

.review-header a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.review-content {
  display: flex;
  border-top: 1px solid #eee;
  padding-top: 30px;
  width: 1200px;
  position: relative;
  left: -20px;
}

.review-score {
  flex: 0 0 200px;
  text-align: center;
  border-right: 1px solid #eee;
  padding-right: 30px;
}

.review-score .star {
  font-size: 30px;
  margin-bottom: 5px;
}

.review-score .score {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 5px;
}

.review-score p {
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
}

.review-score p strong {
  font-weight: bold;
  color: #000;
}

.review-btn {
  background: #e2b23b;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}

.review-bars {
  flex: 1;
  padding-left: 30px;
}

.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.bar-row .label {
  width: 90px;
  font-size: 14px;
}

.bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.bar .fill {
  height: 100%;
  background: #e2b23b;
}

.bar-row .count {
  width: 20px;
  text-align: right;
  font-size: 14px;
}

.product-inquiry {
  margin: 60px auto;
  padding: 0 20px;
  border-top: 2px solid #222;
  border-bottom: 2px solid #222;
  font-family: 'Noto Sans KR', sans-serif;
   width: 1200px;
}

.inquiry-header {
  margin: 20px 0;
}

.inquiry-header h3 {
  font-size: 20px;
  font-weight: bold;
}

.inquiry-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.inquiry-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.inquiry-text strong {
  color: #000;
  font-weight: bold;
}

.inquiry-button button {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 999px; /* pill shape */
  cursor: pointer;
}

.icon-buttons {
  display: flex;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  left: 300px;
}

.icon-btn img {
  width: 40px;
  height: 50px;
}

/* 모달 오버레이 */
.cart-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* 모달 내용 */
.cart-modal-content {
  background: #fff;
  padding: 30px;
  width: 400px;
  border-radius: 4px;
  text-align: center;
  position: relative;
}

/* 닫기 버튼 */
.cart-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* 모달 제목 */
.cart-modal-content h2 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* 이미지 + 문구 */
.cart-modal-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.cart-modal-body img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #eee;
}
.cart-modal-body p {
  font-size: 14px;
  text-align: left;
}

/* 버튼 영역 */
.cart-modal-buttons {
  display: flex;
  gap: 10px;
}
.cart-modal-buttons button {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #ccc;
}
.continue-btn {
  background: #fff;
  color: #000;
}
.view-cart-btn {
  background: #222;
  color: #fff;
}













