@charset "utf-8"; /* @import url(font_NotoSansKR.css); */
@import url(GmarketSans.css); @import url(common.css); /* --------------------------------
 * Author: Son Hyun Kyung
 * -------------------------------- */

/************************************* 메인 *************************************/

body { font-family: 'GmarketSans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; }

/* 헤더 기본 설정 */
header { background:#fff; position:sticky; top:0; z-index:100; box-shadow:0 3px 14px rgba(0,0,0,0.07); border-bottom: none; }
/* 헤더 이너: 로고 중앙 정렬을 위해 justify-content: center로 변경 */
.header-inner { max-width:1400px; margin:0 auto; display:flex; justify-content:center; align-items:center; position:relative; padding:18px 24px; height:auto }

/* 로고 영역 */
.logo-wrap { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; width: fit-content; }
.logo-img img { max-width: 56px; height: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; text-align: center; }
.logo-title { font-size: 31px; font-weight: 800; color: #6a0080; letter-spacing: -0.5px; white-space: nowrap; }
.logo-sub { font-size: 16px; color: #6a0080; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.logo-sub::before,
.logo-sub::after { content: ""; color: #ccc; font-weight: normal; }


/* header-right: 절대 위치로 우측 정렬 */
.header-right { position:absolute; right:28px; top:50%; transform:translateY(-50%); display: flex; align-items: center; }
.header-right a { margin-left:22px; font-size: 0.9375rem; color:#666 }

/* GNB 스타일 */
.gnb { background: #fff; border-top: 1px solid #5f0080; border-bottom: 1px solid #eee; }
.gnb-inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; /* 메뉴-검색 양 끝 정렬 */
 display: flex; justify-content: space-between; align-items: center; height: 56px; }
.gnb-inner ul { list-style: none; display: flex; /* 좌측 정렬 */
 gap: 42px; align-items: center; padding: 0; margin: 0; height: 100%; }
.gnb-inner a { font-size: 1.0625rem; font-weight: 600; color: #333; display: block; }
.gnb-inner a:hover { color: #d43c38; }

/* GNB search */
.gnb-search-wrap { width: 250px; flex-shrink: 0; }
.gnb-search { display: flex; width: 100%; height: 34px; border: none; /* 상자 테두리 제거 */
 border-radius: 0; overflow: visible; background: #fff; border-bottom: 1px solid #5f0080; /* 밑줄 효과 추가 */
 align-items: center; }
.gnb-search input { flex-grow: 1; border: none !important; padding: 0 5px !important; font-size:1rem !important; outline: none !important; height: 100% !important; }
.gnb-search button { background: none; /* 배경색 제거 */
 border: none; width: 30px; display: flex; justify-content: center; align-items: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.gnb-search button svg { width: 18px; height: 18px; fill: #666; /* 돋보기 색상 (회색) */ }


.main-banner { background:#f5f5f5; text-align:center; }
.main-banner h1 { font-size: 2.375rem; margin-bottom:15px; color:#222 }
.main-banner p { font-size: 1.1875rem; color:#555; margin-bottom:45px }
section { width:100%; }
section h2 { text-align:center; font-size: 1.875rem; margin-bottom:40px; color:#222 }

/* 슬라이더 공통 */
.infinite-slider { position:relative; overflow:hidden; max-width:none; margin:0 auto; }
.infinite-slider .track { display:flex; transition:transform .6s cubic-bezier(.25,.46,.45,.94); will-change:transform }
.infinite-slider .slide { flex-shrink:0 }

/* 배너 슬라이더 */
.banner-slider .slide { flex:0 0 100% }
.banner-slider img { width:100%; height:370px; object-fit:cover }

/* 상품 공통 (슬라이더 및 그리드) */
.product-slider .slide,
.product-grid .slide { flex: 0 0 25%; padding: 10px 5px; min-height: 500px; }
.product-slider .product-card,
.product-grid .product-card { background: #fff; overflow: hidden; text-align: center; transition: .3s; }
.product-slider img,
.product-grid img { width: 100%; height: 300px; object-fit: cover; }
.product-info { padding:24px }
.product-name { font-size: 1.125rem; margin-bottom:10px; color:#222; line-height:1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; letter-spacing: normal; word-break: break-word; overflow-wrap: break-word; }
.product-desc { font-size: 0.875rem; color:#888; margin-bottom:16px }
.price { font-size: 1.25rem; font-weight:bold; color:#d43c38 }
.price del { font-size: 0.9375rem; color:#aaa; margin-left:8px }
/* 전체 상품 그리드 레이아웃 */
.product-grid { display: flex; flex-wrap: wrap; margin: 0 auto; max-width: 1400px; }
/* 품절 처리 */
.slide { position: relative; }
/* 어두운 오버레이 */
.slide.sold-out::after { content: ""; position: absolute; inset: 0; background: transparent; z-index: 2; }
/* 품절 텍스트 */
.slide.sold-out::before { content: "품절"; position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%); z-index: 3; color: #838383; font-size: 1.375rem; font-weight: 700; border: 2px solid #838383; background: #c0c0c099; padding: 10px 50px; letter-spacing: 2px; }
/* 클릭 방지 + 흐리게 */
.slide.sold-out a { pointer-events: none; }
/* .slide.sold-out .product-card { filter: grayscale(100%); } */


/* 전체보기 버튼 스타일 */
.view-all-wrap { text-align: center; margin-top: 50px; }
.view-all-btn { display: inline-block; padding: 18px 140px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-weight: 500; color: #333; transition: background-color 0.3s, border-color 0.3s; }
.view-all-btn:hover { background-color: #f7f7f7; border-color: #aaa; }

/* 화살표 버튼 */
.btn-prev,.btn-next { position:absolute; top:50%; transform:translateY(-50%); width:56px; height:56px; background:rgba(255, 255, 255, 0.3); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size: 2rem; cursor:pointer; z-index:10; user-select:none; backdrop-filter:blur(0px); transition:.3s }
.btn-prev:hover,.btn-next:hover { background:rgba(168, 168, 168, 0.8); transform:translateY(-50%) scale(1.1) }
.btn-prev { left:50px; } .btn-next { right:50px; }

/* 푸터 스타일 */
footer { width: 100%; background: #fff; padding: 0; font-size: 1rem; color: #666; }

/* 중앙 정렬을 위한 공통 컨테이너 */
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* 공지사항 영역 (100% 및 상단 라인 포함) */
.notice-bar-wrap { width: 100%; border-top: 1px solid #f0f0f0; background: #fff; }
.notice-bar-content { max-width: 1400px; margin: 0 auto; padding: 25px 20px; display: flex; justify-content: space-between; align-items: center; }

/* 메뉴 영역 (100% 및 상단 라인 포함) */
.menu-bar-wrap { width: 100%; background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; padding: 25px 0; /* 상하 패딩 */ }

/* 메뉴 리스트 스타일 */
.footer-menu { display: flex; gap: 30px; list-style: none; margin: 0; }
.footer-menu li a { color: #333; font-weight: 500; }
.footer-menu li a:hover { color: #d43c38; }

/* 회사 정보 영역 컨테이너 */
.company-info-container { padding-bottom: 30px; }
.company-info { line-height: 1.8; margin-top: 20px; }
.company-info p { margin: 0; }
.copyright { margin-top: 15px; color: #999; }


/* 추가 260115 */
 /* 상품권 컨테이너 */
 .voucher-section { padding: 50px 0; }
 .voucher-container { max-width: 1400px; margin: 0 auto; }
 /* 기본 (1100px 초과) : 4열 */
 .voucher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
 .voucher-card { background: #fff; border-radius: 12px; padding: 30px 20px 30px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }
 .voucher-card a { width: 100%; }
 .voucher-image-wrapper { width: 100%; height: 210px; border: 1px solid #e0e0e0; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: #fff; }
 .voucher-image { max-width: 100%; max-height: 100%; object-fit: contain; }
 .voucher-title { font-size: 1.4375rem; font-weight: 600; margin-bottom: 16px; text-align: center; }
 .voucher-button { margin-top: auto; width: 100%; height: 44px; border: none; border-radius: 8px; background: #5f0080; color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
 .voucher-button:hover { background: #7e1ca0; }
 /* ===== 품절 카드 전체 처리 ===== */
 .voucher-card.is-soldout { opacity: 0.55; }
 /* 이미지 위 품절 배지 */
 .voucher-image-wrapper { position: relative; }
 .voucher-soldout-badge { position: absolute; top: 8px; right: 8px; background: #a8a8a8; color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; z-index: 2; }
 /* 품절 버튼 */
 .voucher-button.is-soldout { background: #a8a8a8; cursor: not-allowed; pointer-events: none; }


/* 특별 서비스 */
.special-section { padding: 100px 0; background: radial-gradient(circle at center, #fff 0%, #e5e5e5 70%); }
.special-inner { max-width: 1400px; margin: 0 auto; }
.special-header { text-align: center; margin-bottom: 60px; }
.special-sub-title { font-size: 1rem; letter-spacing: 1px; color: #888; margin-bottom: 10px; }
.special-main-title { font-size: 2.5rem; font-weight: 700; color: #222; }
.special-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.special-card { background: #fff; border-radius: 12px; padding: 40px 24px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.special-card.purple { background: #f5e6ff; }
.special-card.green { background: #eaffea; }
.special-card.yellow { background: #fffde6; }
.special-card.pink { background: #ffeceb; }
.special-icon { width: 80px; height: 80px; margin: 0 auto 20px; }
.special-title { font-size: 1.6875rem; font-weight: 700; margin-bottom: 12px; color: #111; }
.special-desc { font-size: 1rem; line-height: 1.6; color: #555; }


/* 메인 추출 보드 영역 */
.board-section { padding:100px 0; background: #fff; }
.board-inner { max-width: 1400px; margin: 0 auto; }
.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.board-box { background: #f6eef8; border-radius: 8px; padding: 32px; }
.board-header { text-align: center; margin-bottom: 24px; }
.board-sub-title { font-size: 1rem; color: #999; letter-spacing: 1px; margin-bottom: 8px; }
.board-main-title { font-size: 2.5rem; font-weight: 700; color: #222; }
.board-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.board-item { background: #fff; border-radius: 8px; padding: 20px 18px; display: flex; gap: 16px; align-items: center; border: 1px solid #e5e5e5; }
.board-date { font-size: 1rem; font-weight: 600; color: #111; white-space: nowrap; }
.board-text { font-size: 1rem; color: #333; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100%; max-width: 350px; }
.board-more { width: 100%; height: 48px; border-radius: 8px; border: none; background: #5f0080; color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
/* board 링크 스타일 */
.board-link { display: flex; gap: 16px; align-items: center; width: 100%; text-decoration: none; }
.board-link:hover .board-text { text-decoration: underline; }
/* 더보기 버튼 hover 컬러 */
.board-more:hover { background: #7e1ca0; }



/* 구매하기 */
/* 공통 */
.buy-container { max-width:1400px; margin:40px auto; padding:0 10px; }
.buy-card { background:#fff; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,.06); padding:30px 35px; }
.buy-card p { font-size: 1.625rem; font-weight: 700; text-align: center; margin: 40px 0; }
.buy-title { font-size: 2.1875rem; font-weight:700; text-align:center; margin-bottom:30px; }
/* 상단 레이아웃 */
.buy-layout { display:grid; grid-template-columns:45% 1fr; gap:10px; }
/* 썸네일 */
.buy-thumbnail { display:flex; align-items:center; justify-content:center; border:1px solid #eee; border-radius:8px; height:320px; background:#fff; overflow: hidden; }
.buy-thumbnail img { max-width:90%; }
/* 권종 */
.buy-section-title { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight:600; margin-bottom:15px; }
.buy-section-title button { border:none; background:#ddd; border-radius:8px; padding:10px 10px; cursor:pointer; }
.buy-section-title span strong { background:#5f0080; color:#fff; border-radius: 8px; padding: 7px; margin-right: 7px; }
.buy-option { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:12px; padding:12px 0; border-bottom:1px dashed #ddd; font-size: 1.25rem; }
.buy-price { font-weight:600; }
.buy-qty { display:flex; align-items:center; gap:6px; }
.buy-qty button { border:none; border-radius:8px; background:#ff8a50; color:#fff; font-weight:700; cursor:pointer; }
.buy-qty input { width: 40px; text-align: right; border: none; outline: none; padding: 5px 0; font-size: 0.875rem; height:45px; border-radius:8px; }
/* 금액 */
.buy-total { margin-top:50px; }
.buy-total-box { background:#fafafa; border-radius:8px; padding:16px; font-size: 1.125rem; }
.buy-total-row { display:flex; justify-content:space-between; margin-bottom:8px; }

.form-phone,.form-phone-info { border-bottom: 1px dashed #d4d4d4; margin-bottom:15px; padding: 0 0 15px 0; }



/* 결제 버튼 */
.buy-pay-buttons { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:20px; }
.buy-pay { padding:14px; font-size: 1rem; font-weight:700; border:none; border-radius:8px; cursor:pointer; }
.buy-pay.card { background:#7e1ca0; color:#fff; }
.buy-pay.mobile { background:#5f0080; color:#fff; }
/* 탭 */
.buy-tabs { margin-top:40px; }
.buy-tab-buttons { display:flex; border-bottom:2px solid #eee; }
.buy-tab-buttons button { flex:1; padding:12px; border:none; background:#f5f5f5; cursor:pointer; font-weight:600; border-radius: 0px; font-size: 1.25rem; }
.buy-tab-buttons button.active { background:#fff; border-bottom:2px solid #5f0080; }
.buy-tab-content { display:none; padding:20px 0; font-size: 0.875rem; line-height:1.7; }
.buy-tab-content.active { display:block; }


/* 상품정보/주의사항/이용안내 영역 product_info_desc */
.product_info_desc { padding: 10px; min-height: 600px; }
.product_info_desc .list li { line-height: 1.8; margin-bottom: 0.625rem; position: relative; padding-left: 12px; font-size: 1.0625rem; }
.product_info_desc .list li.purple { color: #5f0080; }
.product_info_desc .list li::before { display: inline-block; content: "-"; position: absolute; left: 0; }
.product_info_desc .ref li { line-height: 1.8; margin-bottom: 0.625rem; position: relative; padding-left: 16px; }
.product_info_desc .ref li::before { display: inline-block; content: "-"; position: absolute; left: 0; }
.product_info_desc .ref li.blit_purple::before { color: #5f0080; }
.product_info_desc .ref li span { color: #5f0080; }
.product_info_desc .ref li a { color: #5f0080; text-decoration: underline; }
.product_info_desc .box_wrap { margin-bottom: 1.25rem; }
.product_info_desc .box_wrap h3 { font-size: 1.625rem; font-weight: 500; margin-bottom: 0.625rem; }
.product_info_desc .box_wrap .list { border: 1px solid #dedede; padding: 1.25rem; word-break: keep-all; }










/************************************* 서브 *************************************/
 .product-container { width: 100%; max-width: 1400px; background-color: #fff; padding: 70px 30px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); margin: 0 auto; }

 /* 헤더 및 제목 영역 */
 .product-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
 .category-badge { color: #f00; font-weight: bold; margin-bottom: 5px; }
 .product-title { font-size: 1.75rem; font-weight: bold; line-height: 1.2; }
 .share-info { font-size: 0.875rem; color: #999; display: flex; align-items: center; }
 .share-info span { margin-right: 10px; }

 /* 메인 상품 정보 (이미지 + 정보) */
 .product-main-info { display: flex; gap: 30px; margin-bottom: 40px; }
 .product-image-area { flex: 1; max-width: 430px; }
 .product-image-area img { width: 100%; height: auto; }
 .product-specs { flex: 1; }
 .spec-item { display: flex; padding: 13px 0; border-bottom: 1px solid #eee; font-size: 0.9375rem; }
 .spec-item .label { width: 80px; color: #777; }
 .spec-item .value { flex: 1; }

 /* 수량 및 가격 */
 .purchase-area { margin-top: 20px; }
 .quantity-selector { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.9375rem; }
 .quantity-selector .label { width: 80px; color: #777; }
 .quantity-input-box { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; background: #f4f4f4; }
 .quantity-input-box input { width: 40px; text-align: center; border: none; outline: none; padding: 5px 0; font-size: 0.875rem; }
 .quantity-input-box input:focus-visible { border: 0px !important; padding-block: 1px; padding-inline: 2px; }
 .quantity-input-box button { background: #f4f4f4; border: none; cursor: pointer; padding: 5px 10px; font-size: 1rem; color: #555; }

 /* 총 결제 금액 스타일 */
 .total-price { display: flex; justify-content: center; align-items: center; margin: 20px 0; font-size: 1.125rem; background-color: #f6edff; border: 1px solid #e5c9ff; padding: 10px 15px; border-radius: 8px; }
 .total-price .label { font-weight: bold; margin-right: 10px; }



 /* 버튼 */
 .action-buttons { display: flex; gap: 10px; }
 .action-buttons button { flex: 1; padding: 15px 0; border: none; border-radius: 8px; font-size: 1rem; font-weight: bold; cursor: pointer; }
 .cart-button { background-color: #7e1ca0; color: #fff; }
 .buy-button { background-color: #5f0080; color: #fff; }


 /* 상품상세 탭 스타일 */
 .product-tabs { display: flex; background:#fff; border: 1px solid #eee; margin: 30px 0; justify-content: space-around; }
 .product-tabs a { padding: 15px 20px; text-decoration: none; font-size: 1rem; font-weight: 500; color: #777; border-bottom: 2px solid transparent; transition: border-bottom 0.3s; width: 33%; text-align: center; display: flex; align-items: center; justify-content: center; }
 .product-tabs a.active { color: #5f0080; border-bottom: 2px solid #5f0080; font-weight: bold; }


 /* 상품상세 설명 영역 */
 .product-detail-content { padding: 0; }
 .detail-image-main { width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
 .detail-title { text-align: center; margin-bottom: 30px; }
 .detail-title h4 { font-size: 1.25rem; color: #777; font-weight: normal; }
 .detail-title h2 { font-size: 2rem; font-weight: bold; color: #333; }
 .detail-text { line-height: 1.6; font-size: 1rem; color: #555; padding: 0 20px; }


 /* 7_회원가입 member */
 .container { max-width: 420px; margin: 0 auto; padding: 40px 20px 80px; }
 h1 { text-align: center; font-size: 1.375rem; margin-bottom: 30px; }
 .form-group { margin-bottom: 14px; }
 label { display: block; font-size: 1.125rem; margin-bottom: 6px; }
 /* label span { color: red; }
 input[type="text"],
 input[type="password"],
 input[type="email"] { width: 100%; height: 50px; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 0.875rem; }
 input::placeholder { color: #aaa; } */
 .row { display: flex; gap: 8px; }
 .row input { flex: 1; }
 .btn-outline { height: 50px; padding: 0 12px; border: 1px solid #ddd; background: #f9f9f9; border-radius: 8px; cursor: pointer; white-space: nowrap; }
 .btn-address { width: 100%; height: 50px; border: 1px solid #5f0080; color: #5f0080; background: #fff; border-radius: 8px; font-weight: 500; cursor: pointer; }
 .help-text { font-size: 0.75rem; color: #888; margin-top: 6px; }
 .radio-group { display: flex; gap: 16px; margin-top: 6px; }
 .radio-group label { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; cursor: pointer; }
 .radio-group input { accent-color: #5f0080; }
 .birth-group { display: flex; gap: 8px; }
 .birth-group input { text-align: center; }
 .divider { border-top: 1px solid #eee; margin: 30px 0; }
 .terms { font-size: 0.8125rem; }
 .terms-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
 .terms-left { display: flex; align-items: center; gap: 8px; }
 .terms a { color: #5f0080; text-decoration: none; font-size: 0.8125rem; }
 .sub-terms { padding-left: 22px; margin-top: 6px; }
 .submit-btn { width: 100%; height: 50px; background: #5f0080; color: #fff; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; margin-top: 30px; }
 .submit-btn:disabled { background: #ccc; cursor: not-allowed; }
.email-select { min-width: 100px !important; height: 50px; padding: 0 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 0.875rem; }
/* 주소 팝업 */
.address-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: none; justify-content: center; align-items: center; z-index: 999; }
.popup-content { background: #fff; width: 90%; max-width: 400px; border-radius: 8px; padding: 20px; }
.popup-content h3 { margin-top: 0; font-size: 1rem; }
.popup-content input { width: 100%; height: 50px; margin: 10px 0; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; }
.popup-list { margin-top: 10px; }
.address-item { width: 100%; padding: 10px; border: 1px solid #eee; background: #fafafa; text-align: left; border-radius: 8px; cursor: pointer; }
.popup-close { width: 100%; height: 50px; margin-top: 15px; border: none; background: #5f0080; color: #fff; border-radius: 8px; cursor: pointer; }


 /* 8_로그인 login */
 .input-group { margin-bottom: 12px; }
 .helper { display: flex; justify-content: flex-end; font-size: 0.75rem; margin: 8px 0 16px; }
 .helper a { color: #666; text-decoration: none; }
 .btn-login { background: #5f0080; color: #fff; }
 .btn-signup { background: #fff; color: #5f0080; border: 1px solid #5f0080; margin-bottom: 20px; }
 .sns-title { text-align: center; font-size: 0.8125rem; color: #777; margin-bottom: 12px; }
 .btn-naver { background: #03c75a; color: #fff; }
 .btn-kakao { background: #fee500; color: #3c1e1e; }


 /* 9_아이디/패스워드 찾기 */
 .form-group { margin-bottom: 22px; }
 input::placeholder { color: #aaa; }
 .error-text { font-size: 0.75rem; color: #e53935; margin-top: 6px; display: none; }


/* 10_이용약관 */
 .container_user-guide { max-width: 100%; margin: 0 auto; padding: 40px 20px 80px; }
 .terms { font-size: 0.875rem; line-height: 1.7; }
 .terms h2 { font-size: 0.9375rem; margin: 28px 0 10px; font-weight: 600; }
 .terms h3 { font-size: 0.875rem; margin: 18px 0 8px; font-weight: 600; }
 .terms p { margin: 0 0 10px; }
 .terms .indent { padding-left: 14px; }


 /* 공통 박스 */
 .box-wrap { width: 360px; background: #fff; padding: 32px 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); margin:100px auto; }
 .btn { width: 100%; height: 50px; border: none; border-radius: 8px; font-size: 0.875rem; font-weight: 500; cursor: pointer; margin-bottom: 10px; }
 .btn.active { background: #5f0080; color: #fff; cursor: pointer; }


 /* 공통 컨테이너 박스 - 11_마이페이지-장바구니 */
 .container_box { max-width: 1400px; margin: 40px auto; padding:20px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
 h1 { text-align: center; font-size: 1.375rem; margin-bottom: 32px; font-weight: 600; }

 /* 상단 선택 영역 */
 .cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
 .select-all { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
 .btn-text { border: 1px solid #ddd; background: #fff; padding: 6px 12px; font-size: 0.8125rem; cursor: pointer; }
 .divider { border-top: 1px solid #eee; margin: 16px 0; }

 /* 상품 아이템 */
 .cart-item { display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid #eee; }
 .item-check { margin-top: 6px; }
 .thumb { position: relative; width: 90px; height: 90px; background: #f2f4f6; }
.thumb img { position: absolute; inset: 0px; box-sizing: border-box; padding: 0px; border: none; margin: auto; display: block; width: 0px; height: 0px; min-width: 100%; max-width: 100%; min-height: 100%; max-height: 100%; object-fit: cover; }
 .item-info { flex: 1; }
 .item-title { font-size: 0.9375rem; font-weight: 500; margin-bottom: 6px; }
 .item-desc { font-size: 0.75rem; color: #777; margin-bottom: 10px; }
 .price-row { display: flex; align-items: center; gap: 10px; }
 .price { font-size: 1rem; font-weight: 600; }
 .origin-price { font-size: 0.8125rem; color: #999; text-decoration: line-through; }

 /* 수량 */
 .qty { margin-left: auto; display: flex; align-items: center; border: 1px solid #ddd; border-radius: 20px; overflow: hidden; }
 .qty.readonly { background: #fff; }
 .qty button { width: 32px; height: 32px; border: none; background: #fff; font-size: 1.125rem; cursor: pointer; padding: 0; }
 .qty span { width: 32px; text-align: center; font-size: 0.875rem; }


 /* 하단 금액 */
 .total-box { background: #f6f7f8; padding: 20px; text-align: center; margin-top: 24px; font-size: 0.9375rem; }

 /* 주문 버튼 */
 .order-btn { margin-top: 16px; width: 100%; height: 52px; background: #5f0080; color: #fff; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; border-radius: 8px; }
.order-btn:hover { background-color: #7e1ca0; }



 /* 공통 탭 - 고객센터 */
 .container-tabs { display: flex; background:#fff; border: 1px solid #eee; margin: 30px 0; justify-content: space-around; }
 .container-tabs a { padding: 15px 20px; text-decoration: none; font-size: 1rem; font-weight: 500; color: #777; border-bottom: 2px solid transparent; transition: border-bottom 0.3s; width: 33%; text-align: center; display: flex; align-items: center; justify-content: center; }
 .container-tabs a.active { color: #5f0080; border: 1px solid #5f0080; font-weight: 500; }













/************************************* 반응형 모바일 레이아웃 *************************************/

/* 반응형 1100px 이하 */
@media(max-width:1100px) { html,
 body,
 input,
 textarea,
 select,
 button,
 table { font-size: 15px; }
 .product-slider .slide,
 .product-grid .slide { flex: 0 0 33.333%; }


 .voucher-grid { grid-template-columns: repeat(3, 1fr); }
 .special-list { grid-template-columns: repeat(3, 1fr); }
 .board-grid { gap: 24px; }
 .board-grid { grid-template-columns: 1fr; }
 .buy-layout { grid-template-columns:1fr; }
 .buy-card { padding: 10px; }
 }



/* 반응형 820px 이하 */
@media(max-width:820px) { html,
 body,
 input,
 textarea,
 select,
 button,
 table { font-size: 14px; }
 .header-inner { flex-direction: column; width: 100%; max-width: 100%; padding: 6px 12px; box-sizing: border-box; }
 .header-inner > a { max-width: 100%; }
 .logo-wrap { max-width: 100%; justify-content: center; padding: 6px 8px; }
 .logo-img img { max-width: 46px; }
 .logo-title { font-size: clamp(1.55rem, 7vw, 1.9rem); letter-spacing: 0; }
 .header-right { position: relative; right: auto; top: auto; transform: translateY(0%); width: 100%; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 6px 0 8px; }
 .header-right a { margin-left: 0; }
 .product-slider .slide,
 .product-grid .slide { flex: 0 0 50%; }
 .notice-bar-content { flex-direction: column; padding: 10px; }
 .notice-bar-content > div { margin-bottom: 10px; }
 .footer-menu { justify-content: center; }
 /* GNB 반응형 */
 .gnb { width: 100vw; max-width: 100vw; overflow-x: auto; overflow-y: hidden; }
 .gnb-inner { flex-direction: row; justify-content: center; width: 100vw; max-width: 100vw; height: 42px; padding: 0 12px; box-sizing: border-box; }
 .gnb-inner ul { display: flex; flex-wrap: nowrap; width: auto; max-width: 100%; justify-content: center; gap: clamp(12px, 4vw, 20px); height: 100%; overflow: visible; scrollbar-width: none; }
 .gnb-inner ul::-webkit-scrollbar { display: none; }
 .gnb-inner a { font-size: 0.88rem; white-space: nowrap; }
 .gnb-search-wrap { width: 100%; margin-top: 10px; }
 .product-tabs a { padding: 5px; }
.view-all-btn { padding: 18px 80px; }
.menu-bar-wrap { padding: 15px 0; }


 .voucher-grid { grid-template-columns: repeat(2, 1fr); }
 .special-list { grid-template-columns: repeat(2, 1fr); }
 }

/* 반응형 600px 이하 */
@media (max-width: 600px){
 .product-main-info { flex-direction: column; }
 .product-image-area { max-width: 100%; }



 .voucher-grid { gap: 16px; }
 .voucher-card { padding: 16px; }
 .special-section { padding: 80px 16px; }
 .special-list { gap: 16px; }
 .special-card { padding: 20px; }
 .board-section { padding: 80px 16px; }
 .board-box { padding: 10px; }
 .board-item { padding: 5px; }
 }

/* 반응형 560px 이하 */
@media(max-width:560px) { html,
 body,
 input,
 textarea,
 select,
 button,
 table { font-size: 13px; }
 .product-slider .slide,
 .product-grid .slide { flex: 0 0 100%; min-height: 450px; }
 .banner-slider img { aspect-ratio: 2 / 1; height: auto; }
 .btn-prev,.btn-next { display: none; }
 .voucher-grid { grid-template-columns: repeat(2, 1fr); padding: 0px 16px; }
 .special-list { grid-template-columns: 1fr; }
 .board-link { flex-direction: column; gap: 4px; }
 .board-text { max-width: 220px; }
 .voucher-section { padding: 20px 0; }
 .special-header { margin-bottom: 30px; }
 .voucher-image-wrapper { height: 140px; }
 }

@media(max-width:400px){
 .buy-option { display: flex; flex-direction: column; }
 }

/* 간결한 푸터 */
footer { font-size: 0.875rem; }
.menu-bar-wrap { padding: 10px 0; }
.footer-menu { gap: 24px; }
.footer-menu li a { font-size: 0.9375rem; }
.company-info-container { padding-bottom: 12px; }
.company-info { line-height: 1.45; margin-top: 8px; }
.copyright { margin-top: 6px; }

.cart-nav-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #5f0080; color: #fff; font-size: 0.75rem; font-weight: 800; line-height: 1; }

@media(max-width:820px) {
 .menu-bar-wrap { padding: 8px 0; }
 .footer-menu { flex-wrap: wrap; gap: 10px 18px; }
 .company-info-container { padding-bottom: 10px; }
 .company-info { margin-top: 8px; }
}
