:root {
/* 핵심 토큰 */
--color-accent: #f68d4c;
--color-accent-down: #d96a25; /* 호버용 더 어두운 주황 */
--color-sub: #0083cb;   
--color-sub-down: #005e90; /* 호버용 어두운 블루 */


--color-sub1: #f68d4c;   
--color-sub2: #0083cb;   
--color-text: #202020; 

--font-family: "Pretendard", sans-serif;
--font-weight-medium: 500;
--font-weight-bold: 700;
--font-weight-black: 900;

--layout-width: 1200px;
}

@font-face {
font-family: 'Pretendard';
src: url('/fonts/Pretendard-Thin.woff2') format('woff2');
font-weight: 100;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-ExtraLight.woff2') format('woff2');
  font-weight: 200;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Light.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
}

.page-top {
  padding-top: 230px; /* 플로팅 헤더 공간 확보 */
}

.detail-page{
    padding: 20px 0;
}

/* ------------------ 제품 상세페이지 ------------------ */

.product-main-wrap {
  display: flex;
  gap: 40px;
}

.product-image {
  width: 500px;
}

.product-image .main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  /* border: 1px solid #ddd; */
  margin-bottom: 15px;
  border-radius: 4px;
}

.sub-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}

.sub-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #efefef;
  cursor: pointer;
  transition: border-color 0.3s;
  border-radius: 2px;
}

.sub-thumb:hover {
  border-color: var(--color-accent);
}

.product-info {
  width: 700px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.product-title-en {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.product-title-ko {
  font-size: 18px;
  margin-top: 8px;
  font-weight: 500;
  color: #666;
}

.opview{
display: inline-block;
background:white;
border: 1px solid var(--color-accent);
padding: 6px 12px;
border-radius: 4px;
font-size: 15px;
color: var(--color-accent);
margin-bottom: 10px;
}

.product-info hr {
  margin: 10px 0 10px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.product-features ul {
  list-style: square;
  padding-left: 20px;
}

.product-features li {
  margin-bottom: 15px;
  font-size: 15px;
  color: #666;
}

.product-actions {
  margin-top: 10px;
}

.product-actions button {
  padding: 16px 30px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 4px;
  font-size: 16px;
}

.btn-order {
  background-color: var(--color-accent);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-order:hover {
  background-color: #4b32a6; /* 어두운 보라 */
}

.btn-wishlist {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  color: #333;
}

.btn-wishlist:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

/* 관련자료~ 교환환불안내 제어 탭 */
.detail-tabs {
  display: flex;
  /* border-top: 1px solid #ccc; */
  margin-bottom: 20px;
}

.detail-tabs button {
  flex: 1;
  padding: 12px 0;
  background: none;
  border: none;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  font-weight: bold;
  color: #cacaca;
  cursor: pointer;
  transition: all 0.3s, color 0.3s;
}

.detail-tabs button.active {
background: white;
color: var(--color-accent);
border-left: 1px solid var(--color-accent);
border-right: 1px solid var(--color-accent);
border-top: 1px solid var(--color-accent);
}

.detail-tabs button:hover {
background: #f9f9f9;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
color: #888;
}

.tab-section {
  padding: 40px 0;
  /* border-bottom: 1px solid #eee; */
}

.tab-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: var(--font-weight-bold);
}

/* 관련자료 섹션 */
.info-note {
  color: var(--color-accent);
  margin-top: 30px;
  /* margin-bottom: 15px; */
  font-size: 15px;
  text-align: center;
}

.table-wrapper {
  display: flex;
  justify-content: center;
  /* margin-top: 30px; */
  margin-bottom: 30px;
  flex-direction: column;
  align-items: center;
}

.table {
width: 100%;
border-collapse: collapse;
text-align: center;
font-size: 13px;
justify-content: center;
display: table;
margin-top: 10px;
margin-bottom: 10px;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 10px;
}

.table th {
  background: #f9f9f9;
  color: #666;
}

.table td {
  color: #202020;
}

.table i {
  font-size: 16px;
  color: #666;  /* 무채색 느낌의 회색 */
  margin: 0 4px;
  transition: all 0.3s ease;
}

.table i:hover {
  color: var(--color-accent);  /* 호버 시 포인트 컬러로 */
}

.table a {
  text-decoration: none;
  font-size: 15px
}

/* 상세규격 섹션 */
.table thead th {
  background-color: #f9f9f9;
  font-weight: 600;
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.table tbody td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.table tbody td:nth-child(4) {
  text-align: left;
}

.th-img{
  height: 100px;
  width: 100px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1:1 비율 */
  gap: 40px;
  align-items: start;
  margin-top: 80px;
}

.feature-image img {
  width: auto;
  height: 350px;
  display: block;
  border-radius: 4px;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-text p {
  line-height: 1.5;
  margin-bottom: 15px;
}

/* 서브 제목 */
.table-wrapper h4 {
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 30px 0 5px;
  border-left: 4px solid var(--color-accent);
  padding-left: 10px;
  color: var(--color-text);
  align-self: center; /* 왼쪽 정렬 유지 */
}

/* 테이블 내 작은 버튼 */
.btn-sm, .btn-wishlist-sm {
  padding: 6px 10px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  margin: 0 2px;
}

.btn-sm {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-sm:hover {
  background-color: #4b32a6;
}

.btn-wishlist-sm {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ccc;
}

.btn-wishlist-sm:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

/* 하단 메인 버튼 */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.btn-main, .btn-wishlist-main {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-main {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-main:hover {
  background-color: #4b32a6;
}

.btn-wishlist-main {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ccc;
}

.btn-wishlist-main:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

.table-wrapper span{
    font-weight: 600;
    color: var(--color-accent);
}

/* 배송안내, 교환/반품/환불 안내 섹션 */
/* 배송안내 스타일 */
.info{
    margin-top: 20px;
    padding: 30px;
}


.info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
}

.info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  border-left: 4px solid var(--color-accent);
  padding-left: 10px;
  color: var(--color-text);
}

.info ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.info li {
  margin-bottom: 8px;
}

.info a {
  color: var(--color-accent);
  text-decoration: underline;
}

.info a:hover {
  text-decoration: none;
}

.info strong {
  color: var(--color-text);
  font-weight: bold;
}

/* 관심상품 토스트 메시지 */
.toast-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background-color: #5D3FD3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  z-index: 1000;
}

.toast-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

