@charset "utf-8";
/* =========================================================================
	shop_view.css — SHOP 상품 상세 (피그마 01 SHOP_뷰)
	/shop/shop.php?ptype=view 전용 (head.php 의 shop 분기에서 로드)
	아이콘: /img/shop/
========================================================================= */
.pv { width: 90%; max-width: 1590px; margin: 0 auto; padding: 166px 0 130px; }
.pv .blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pv-inner { display: grid; grid-template-columns: minmax(0, 915fr) minmax(0, 605fr); gap: 0 70px; align-items: start; }
.pv-left { min-width: 0; }
.pv-right { align-self: stretch; min-width: 0; }
.pv-sticky { position: sticky; top: 120px; }
.pv-empty { padding: 80px 0; font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--gray); text-align: center; }

/* ---------- 상품 이미지 ---------- */
.pv-gallery { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.pv-thumbs { flex: 0 0 80px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pv-thumb-swiper { width: 80px; height: 466px; margin: 0; }
.pv-thumb-swiper .swiper-slide { position: relative; height: 109px !important; overflow: hidden; border-radius: 10px; background: #f5f5f5; cursor: pointer; }
.pv-thumb-swiper .swiper-slide::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: 10px; transition: border-color 0.3s; }
.pv-thumb-swiper .swiper-slide:hover::after, .pv-thumb-swiper .swiper-slide-thumb-active::after { border-color: var(--black); }
.pv-thumb-swiper img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-thumb-btn { display: block; width: 35px; height: 35px; padding: 0; border: 0; background: url('/img/shop/ico-arrow-up35.svg') no-repeat center / 35px 35px; cursor: pointer; transition: opacity 0.3s; }
.pv-thumb-btn.pv-thumb-next { background-image: url('/img/shop/ico-arrow-down35.svg'); }
.pv-thumb-btn.swiper-button-disabled { opacity: 0.2; cursor: default; }
.pv-gallery.is-single .pv-thumbs { visibility: hidden; }
.pv-main-swiper { flex: 1 1 780px; min-width: 0; max-width: 780px; margin: 0; overflow: hidden; border-radius: 20px; background: #f5f5f5; }
.pv-main-swiper .swiper-slide { aspect-ratio: 780 / 1061; }
.pv-main-swiper img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-main-page { display: none; }

/* ---------- 상단 상품후기 ---------- */
.pv-roll { margin-top: 100px; }
.pv-roll-head { position: relative; display: flex; align-items: flex-start; gap: 5px; margin-bottom: 20px; }
.pv-roll-head h3 { font-size: 1.75rem; font-weight: 700; line-height: 40px; letter-spacing: -1.12px; color: var(--black); }
.pv-roll-head h3 em { margin-left: 0; font-size: 1.25rem; font-weight: 600; line-height: 34px; font-style: normal; vertical-align: top; color: var(--main); }
.pv-roll-arr { position: absolute; top: 50%; right: 0; display: flex; gap: 10px; transform: translateY(-50%); }
.pv-roll-arr button { width: 35px; height: 35px; padding: 0; border: 0; background: url('/img/shop/ico-arrow-prev.svg') no-repeat center / 35px 35px; cursor: pointer; transition: opacity 0.3s; }
.pv-roll-arr .pv-roll-next { background-image: url('/img/shop/ico-arrow-next.svg'); }
.pv-roll-arr .swiper-button-disabled { opacity: 0.2; cursor: default; }
.pv-roll-arr .swiper-button-lock { display: none; }
.pv-roll-card { display: flex; flex-direction: column; gap: 20px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.pv-roll-img { display: block; overflow: hidden; border-radius: 20px; background: #f5f5f5; aspect-ratio: 298.33 / 210.59; }
.pv-roll-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pv-roll-card:hover .pv-roll-img img, .pv-roll-card:focus .pv-roll-img img { transform: scale(1.05); }
.pv-roll-txt { display: -webkit-box; overflow: hidden; height: 56px; font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--black); -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; }
.pv-roll-card .pv-stars { margin-top: -10px; }

/* 별점 (노란 별 위에 덮는 폭) */
.pv-stars { position: relative; display: inline-block; flex-shrink: 0; width: 92px; height: 20px; background: url('/img/shop/star5-off.svg') no-repeat 0 0 / 92px 20px; vertical-align: middle; }
.pv-stars > span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; background: url('/img/shop/star5.svg') no-repeat 0 0 / 92px 20px; }

/* ---------- 탭 ---------- */
.pv-sec { margin-top: 100px; scroll-margin-top: 120px; }
.pv-tab { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.pv-tab li { position: relative; flex: 1 1 0; min-width: 0; }
.pv-tab li + li::before { content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 20px; margin-top: -10px; background: var(--border); }
.pv-tab a { display: block; padding: 14px 5px; margin-bottom: -1px; border-bottom: 3px solid transparent; font-size: 1.125rem; line-height: 32px; letter-spacing: var(--letter-spacing-18s); color: var(--gray); text-align: center; white-space: nowrap; transition: color 0.3s; }
.pv-tab a:hover, .pv-tab a:focus { color: var(--black); }
.pv-tab .is-on a { border-bottom-color: var(--black); font-weight: 600; letter-spacing: var(--letter-spacing-18); color: var(--black); }

/* 1. 상품정보 (에디터 내용) */
.pv-content { margin-top: 30px; overflow: hidden; border-radius: 10px; }
.pv-content img { max-width: 100%; height: auto !important; }
.pv-content iframe, .pv-content video { max-width: 100%; }

/* 2. 구매정보 접기 */
.pv-acc { display: flex; flex-direction: column; gap: 3px; margin-top: 30px; }
.pv-acc-item { border-bottom: 1px solid var(--border); }
.pv-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 20px; border: 0; background: none; font-family: var(--kor); font-size: 1.125rem; font-weight: 600; line-height: 32px; letter-spacing: var(--letter-spacing-18); color: var(--black); text-align: left; cursor: pointer; }
.pv-acc-btn::after { content: ''; flex-shrink: 0; width: 25px; height: 25px; background: url('/img/shop/ico-acc-down.svg') no-repeat center / 25px 25px; transition: transform 0.4s ease; }
.pv-acc-panel { height: 0; overflow: hidden; visibility: hidden; transition: height 0.4s ease, visibility 0s linear 0.4s; }
.pv-acc-item.is-open .pv-acc-panel { visibility: visible; transition: height 0.4s ease, visibility 0s; }
.pv-acc-in { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.4s ease; }
.pv-acc-item.is-open .pv-acc-in { opacity: 1; transform: none; }
.pv-acc-item.is-open .pv-acc-btn::after { transform: rotate(180deg); }
.pv-acc-in { padding: 5px 20px 30px; font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--gray); }
.pv-acc-in .pv-guide-list li { position: relative; padding-left: 12px; }
.pv-acc-in .pv-guide-list li::before { content: ''; position: absolute; top: 13px; left: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--gray); }
.pv-acc-in .pv-guide-list li + li { margin-top: 4px; }
.pv-acc-in table { width: 100%; border-top: 1px solid var(--border); border-collapse: collapse; table-layout: fixed; }
.pv-acc-in th, .pv-acc-in td { padding: 12px 15px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; line-height: 24px; text-align: left; vertical-align: top; }
.pv-acc-in th { width: 32%; background: #fafafa; font-weight: 600; color: var(--black); }
.pv-acc-in th, .pv-acc-in td { word-break: keep-all; overflow-wrap: anywhere; }

/* 3. 상품후기 — 평점 */
.pv-rating { display: flex; margin-top: 30px; padding: 40px 0; border-radius: 10px; background: #f5f5f5; }
.pv-rating-total { display: flex; flex: 0 0 240px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-right: 1px solid var(--border); }
.pv-rating-avg { display: flex; align-items: center; gap: 5px; }
.pv-rating-star { width: 40px; height: 40px; background: url('/img/shop/ico-star40.svg') no-repeat center / 33.89px 32.33px; }
.pv-rating-avg strong { font-size: 2.1875rem; font-weight: 800; line-height: 48px; color: var(--black); }
.pv-rating-cnt { font-size: 1rem; line-height: 26px; letter-spacing: var(--letter-spacing-16m); color: var(--gray); }
.pv-rating-graph { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 4px; padding: 0 60px; }
.pv-rating-graph li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; line-height: 24px; color: var(--black); }
.pv-rating-graph .lbl { flex: 0 0 70px; letter-spacing: var(--letter-spacing-14); opacity: 0.7; white-space: nowrap; }
.pv-rating-graph .is-top .lbl { font-weight: 600; opacity: 1; }
.pv-rating-graph .bar { position: relative; flex: 1 1 auto; height: 8px; overflow: hidden; border-radius: 50px; background: rgba(16, 16, 16, 0.07); }
.pv-rating-graph .bar span { position: absolute; top: 0; left: 0; height: 100%; min-width: 20px; border-radius: 50px; background: var(--black); }
.pv-rating-graph .cnt { flex: 0 0 20px; }

.pv-bbs-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 26px; }
.pv-bbs-top h4 { font-size: 1rem; font-weight: 600; line-height: 28px; letter-spacing: var(--letter-spacing-16); color: var(--black); }
.pv-more { font-size: 0.875rem; line-height: 24px; letter-spacing: var(--letter-spacing-14); color: var(--gray); text-decoration: underline; text-underline-position: under; }
.pv-more:hover, .pv-more:focus { color: var(--black); }

/* 포토 */
.pv-photo { margin-top: 30px; }
.pv-photo-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.pv-photo-list button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #f5f5f5; aspect-ratio: 1 / 1; cursor: pointer; }
.pv-photo-list img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pv-photo-list button:hover img, .pv-photo-list button:focus img { transform: scale(1.05); }

/* 전체 후기 */
.pv-reviews { margin-top: 30px; }
.pv-sort { display: flex; gap: 18px; }
.pv-sort a { font-size: 0.875rem; line-height: 24px; letter-spacing: var(--letter-spacing-14); color: var(--gray); transition: color 0.3s; }
.pv-sort a:hover, .pv-sort a:focus { color: var(--black); }
.pv-sort a.is-on { font-weight: 600; color: var(--black); }
.pv-btn-line { display: inline-flex; align-items: center; justify-content: center; min-width: 90px; height: 40px; padding: 0 20px; border: 1px solid var(--black); border-radius: 30px; background: var(--white); font-size: 0.875rem; font-weight: 600; line-height: 24px; letter-spacing: -0.56px; color: var(--black); white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.pv-btn-line:hover, .pv-btn-line:focus { background: var(--black); color: var(--white); }
.pv-reviews .pv-btn-line { height: 34px; min-width: 80px; }
.pv-review-wrap, .pv-qna-wrap { transition: opacity 0.2s; }
.pv-review-wrap.is-loading, .pv-qna-wrap.is-loading { opacity: 0.4; pointer-events: none; }
.pv-review-wrap { margin-top: 15px; }
.pv-review-wrap .pv-empty { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pv-review-list { border-top: 1px solid var(--border); }
.pv-review-item { display: flex; align-items: flex-start; gap: 20px; padding: 31px 0; border-bottom: 1px solid var(--border); }
.pv-review-body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.pv-review-subj { font-size: 1.125rem; font-weight: 600; line-height: 28px; letter-spacing: -0.72px; color: var(--black); }
.pv-review-text { font-size: 1rem; line-height: 26px; letter-spacing: var(--letter-spacing-16m); color: var(--gray); word-break: keep-all; overflow-wrap: anywhere; }
.pv-review-imgs { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 10px; }
.pv-review-imgs button { display: block; width: 150px; height: 150px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #f5f5f5; cursor: pointer; }
.pv-review-imgs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pv-review-imgs button:hover img, .pv-review-imgs button:focus img { transform: scale(1.05); }
.pv-review-side { display: flex; flex: 0 0 200px; flex-direction: column; gap: 2px; align-self: stretch; padding: 0 30px; border-left: 1px solid var(--border); }
.pv-review-name { font-size: 1rem; font-weight: 600; line-height: 26px; letter-spacing: var(--letter-spacing-16m); color: var(--black); }
.pv-review-date { font-size: 0.875rem; line-height: 24px; color: var(--gray); }
.pv .pv-pager { margin-top: 15px; }

/* 4. 상품 Q&A */
.pv-qna-wrap { margin-top: 30px; }
.pv-qna-list li { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--gray); }
.pv-qna-list li > * { display: flex; align-items: center; padding: 15px 25px; }
.pv-qna-no { flex: 0 0 100px; justify-content: center; }
.pv-qna-subj { flex: 1 1 auto; gap: 6px; min-width: 0; color: var(--gray); }
.pv-qna-subj:hover .pv-qna-tit, .pv-qna-subj:focus .pv-qna-tit { color: var(--black); text-decoration: underline; text-underline-position: under; }
.pv-qna-tit { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s; }
.pv-qna-badge { display: inline-flex; flex: 0 0 80px; align-items: center; justify-content: center; height: 30px; border-radius: 5px; background: var(--black); font-size: 0.875rem; font-weight: 600; line-height: 24px; letter-spacing: var(--letter-spacing-14); color: var(--white); }
.pv-qna-lock { flex: 0 0 19px; height: 19px; background: url('/img/shop/ico-lock.svg') no-repeat center / 19px 19px; }
.pv-qna-name { flex: 0 0 140px; justify-content: center; }
.pv-qna-date { flex: 0 0 140px; justify-content: center; padding-left: 20px !important; padding-right: 20px !important; }
.pv-qna-wrap .pv-empty { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pv-qna-btn { display: flex; justify-content: flex-end; margin-top: 10px; }

/* ---------- 오른쪽 상품 정보 ---------- */
.pv-right form { position: relative; display: flex; flex-direction: column; gap: 30px; padding-top: 125px; }
.pv-util { position: absolute; top: 0; right: 0; display: flex; gap: 20px; }
.pv-util button { width: 31px; height: 31px; padding: 0; border: 0; background: var(--black); -webkit-mask: url('/img/shop/ico-favorite.svg') no-repeat center / 31px 31px; mask: url('/img/shop/ico-favorite.svg') no-repeat center / 31px 31px; cursor: pointer; transition: background-color 0.3s; }
.pv-util button:hover, .pv-util button:focus-visible, .pv-util .pv-wish.is-on { background: var(--main); }
.pv-util .pv-wish.is-on { -webkit-mask-image: url('/img/shop/ico-favorite-on.svg'); mask-image: url('/img/shop/ico-favorite-on.svg'); }
.pv-util .pv-share { -webkit-mask-image: url('/img/shop/ico-share.svg'); mask-image: url('/img/shop/ico-share.svg'); }
.pv-title { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pv-viewers { position: absolute; bottom: 100%; left: -4px; display: inline-block; height: 34px; margin-bottom: 7px; padding: 0 17px; border: 1px solid var(--border); border-radius: 17px; background: var(--white); font-size: 0.875rem; line-height: 32px; letter-spacing: var(--letter-spacing-14); color: var(--gray); white-space: nowrap; }
.pv-viewers::after { content: ''; position: absolute; top: 100%; left: 21px; width: 8px; height: 8px; margin-top: -4px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); transform: rotate(45deg) skew(10deg, 10deg); }
.pv-viewers strong { font-weight: 600; color: var(--main); }
.pv-viewers[hidden] { display: inline-block; visibility: hidden; }
.pv-name { font-size: 3.125rem; font-weight: 700; line-height: 65px; letter-spacing: -2.5px; color: var(--black); word-break: keep-all; }
.pv-eng { font-family: var(--eng); font-size: 1.25rem; line-height: 34px; letter-spacing: 0.2px; color: var(--black); }
.pv-price { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.pv-price .dc, .pv-price .now { font-size: 1.5rem; font-weight: 600; line-height: 34px; color: var(--black); }
.pv-price .dc { color: var(--main); }
.pv-price del { font-size: 1rem; line-height: 28px; color: var(--gray); opacity: 0.5; }
.pv-spec { display: flex; flex-direction: column; gap: 5px; font-size: 1rem; line-height: 28px; color: var(--gray); }
.pv-spec > div { display: flex; }
.pv-spec dt { flex: 0 0 115px; font-weight: 600; letter-spacing: var(--letter-spacing-16); }
.pv-spec dd { flex: 1 1 auto; letter-spacing: var(--letter-spacing-16s); }

.pv-option { display: flex; flex-direction: column; gap: 8px; }
.pv-select select { display: block; width: 100%; height: 46px; padding: 0 45px 0 15px; border: 1px solid var(--border); border-radius: 5px; background: var(--white) url('/img/shop/ico-arrow-down.svg') no-repeat right 16px center / 18px 18px; font-family: var(--kor); font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--gray); cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.pv-select select:focus { outline: none; border-color: var(--black); }

/* 추가 구성상품 (관리자 관련상품) — 접기/펴기 박스 */
.pv-add { border: 1px solid var(--border); border-radius: 5px; background: var(--white); }
.pv-add-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 16px 8px 15px; border: 0; background: none; font-family: var(--kor); font-size: 1rem; line-height: 28px; color: var(--gray); text-align: left; cursor: pointer; }
.pv-add-head::after { content: ''; flex: 0 0 18px; height: 18px; background: url('/img/shop/ico-arrow-down.svg') no-repeat center / 18px 18px; transition: transform 0.3s; }
.pv-add.is-open .pv-add-head::after { transform: rotate(180deg); }
.pv-add-list { display: none; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 11px; }
.pv-add.is-open .pv-add-list { display: flex; }
.pv-add-list::-webkit-scrollbar { width: 4px; }
.pv-add-list::-webkit-scrollbar-thumb { border-radius: 4px; background: #c8c8c8; }
.pv-add-item { display: flex; align-items: center; gap: 20px; }
.pv-add-item + .pv-add-item { padding-top: 10px; border-top: 1px solid var(--border); }
.pv-add-img { flex: 0 0 120px; aspect-ratio: 120 / 163; overflow: hidden; border-radius: 5px; background: var(--grayBg, #f5f5f5); }
.pv-add-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pv-add-img:hover img { transform: scale(1.05); }
.pv-add-txt { display: flex; flex: 1 1 auto; flex-direction: column; gap: 5px; min-width: 0; }
.pv-add-name { font-size: 1rem; line-height: 150%; letter-spacing: var(--letter-spacing-16s); color: var(--black); }
.pv-add-price { margin-bottom: 5px; font-size: 1.125rem; font-weight: 600; line-height: 32px; color: var(--black); }
.pv-add-soldout { font-size: 0.875rem; color: var(--gray); }

/* 네이버페이 공식 버튼 — 버튼 자체 모양은 네이버 규정상 그대로 */
.pv-npay { margin-top: 10px; overflow: hidden; }
.pv-npay:empty { display: none; }

/* 선택한 상품 줄 (옵션 없는 상품 .pv-line / 옵션 줄 #basket_table tr) */
.pv-line, .pv-picked tr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px; border-radius: 5px; background: #f5f5f5; }
.pv-picked, .pv-picked tbody { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pv-picked:empty { display: none; }
.pv-picked-scroll { max-height: 352px; overflow-y: auto; overscroll-behavior: contain; }
@-moz-document url-prefix() { .pv-picked-scroll { scrollbar-width: thin; scrollbar-color: #c8c8c8 transparent; } }
.pv-picked-scroll.is-scroll { padding-right: 8px; }
.pv-picked-scroll::-webkit-scrollbar { width: 4px; }
.pv-picked-scroll::-webkit-scrollbar-track { background: transparent; }
.pv-picked-scroll::-webkit-scrollbar-thumb { border-radius: 4px; background: #c8c8c8; }
.pv-picked-scroll::-webkit-scrollbar-thumb:hover { background: var(--gray); }
.pv-picked-scroll::-webkit-scrollbar-button { display: none; height: 0; }
.pv-picked tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name price del" "qty price del"; row-gap: 10px; column-gap: 10px; }
.pv-picked td { display: block; padding: 0; text-align: left !important; }
.pv-picked td.pv-c-name { grid-area: name; }
.pv-picked td.pv-c-qty { grid-area: qty; }
.pv-picked td.pv-c-price { grid-area: price; width: auto !important; font-size: 1.125rem; font-weight: 600; line-height: 32px; letter-spacing: 0.18px; color: var(--black); text-align: right !important; white-space: nowrap; }
.pv-picked td.pv-c-del { grid-area: del; width: auto !important; }
.pv-picked td.pv-c-del div { display: block; }
.pv-picked td.pv-c-del input { display: block; width: 23px; height: 23px; padding: 0; border: 0; background: url('/img/shop/ico-close.svg') no-repeat center / 23px 23px; font-size: 0; color: transparent; cursor: pointer; }
.pv-picked td:not([class]) { display: none; }
.pv-line-l { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pv-line-name { margin-bottom: -2px; font-size: 1rem; line-height: 28px; letter-spacing: var(--letter-spacing-16s); color: var(--black); }
.pv-line-sub { font-size: 0.875rem; line-height: 24px; letter-spacing: 0.14px; color: var(--gray); }
.pv-picked .pv-line-sub { margin-top: 0; }
.pv-line-l .pv-line-sub { margin-top: -10px; }
.pv-line-price { flex-shrink: 0; padding-right: 33px; font-size: 1.125rem; font-weight: 600; line-height: 32px; letter-spacing: 0.18px; color: var(--black); text-align: right; white-space: nowrap; }
.pv-qty { display: flex; flex-shrink: 0; align-items: center; }
.pv-qty > button, .pv-qty > input { flex: 0 0 auto; box-sizing: border-box; }
.pv-qty button { width: 30px; height: 30px; padding: 0; border: 1px solid var(--border); background: var(--white) url('/img/shop/ico-remove.svg') no-repeat center / 18px 18px; cursor: pointer; }
.pv-qty button.dn { border-radius: 5px 0 0 5px; }
.pv-qty button.up { border-radius: 0 5px 5px 0; background-image: url('/img/shop/ico-add.svg'); }
.pv-qty input { width: 40px !important; height: 30px; padding: 0; border: 1px solid var(--border); border-width: 1px 0; border-radius: 0; background: var(--white); font-family: var(--kor); font-size: 0.875rem; line-height: 24px; color: rgba(0, 0, 0, 0.6); text-align: center; }
.pv-qty input:focus { outline: none; color: var(--black); }
.pv-qty label.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pv-total { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; font-weight: 600; color: var(--black); }
.pv-total > span { font-size: 1rem; line-height: 28px; letter-spacing: 0.16px; }
.pv-total strong { font-size: 1.5rem; font-weight: 600; line-height: 34px; }

.pv-btns { display: flex; gap: 4px; }
.pv-btns button { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 10px; height: 64px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font-family: var(--kor); font-size: 1rem; font-weight: 600; line-height: 28px; letter-spacing: var(--letter-spacing-16); color: var(--black); cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.pv-btns button::before { content: ''; width: 25px; height: 25px; background: url('/img/shop/ico-bag.svg') no-repeat center / 25px 25px; }
.pv-btns .pv-btn-cart:hover, .pv-btns .pv-btn-cart:focus { border-color: var(--black); }
.pv-btns .pv-btn-buy { border-color: var(--main); background: var(--main); color: var(--white); }
.pv-btns .pv-btn-buy::before { background-image: url('/img/shop/ico-card.svg'); }
.pv-btns .pv-btn-buy:hover, .pv-btns .pv-btn-buy:focus { border-color: #c9331a; background: #c9331a; }
.pv-btns .pv-btn-soldout { border-color: #ccc; background: #ccc; color: var(--white); cursor: default; }
.pv-btns .pv-btn-soldout::before { display: none; }

/* ---------- 후기 사진 팝업 ---------- */
html.pv-pop-open, html.pv-pop-open body { overflow: hidden; }
.pv-pop { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pv-pop[hidden] { display: none; }
.pv-pop-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.pv-pop-box { position: relative; display: flex; width: 100%; max-width: 1000px; max-height: calc(100vh - 40px); overflow: hidden; border-radius: 20px; background: var(--white); }
.pv-pop-close { position: absolute; top: 15px; right: 15px; z-index: 5; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9) url('/img/shop/ico-close.svg') no-repeat center / 23px 23px; cursor: pointer; }
.pv-pop-box:focus { outline: none; }
.pv-pop-close:focus:not(:focus-visible) { outline: none; }
.pv-pop-close:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.pv-pop-img { flex: 0 0 58%; min-width: 0; background: #f5f5f5; }
.pv-pop-swiper { position: relative; width: 100%; height: 100%; }
.pv-pop-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.pv-pop-swiper img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pv-pop-page { position: absolute; bottom: 15px; left: 50% !important; z-index: 2; width: auto !important; padding: 0 12px; border-radius: 20px; background: rgba(0, 0, 0, 0.5); font-size: 0.8125rem; line-height: 24px; color: var(--white); transform: translateX(-50%); }
.pv-pop-prev, .pv-pop-next { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85) url('/img/shop/ico-arrow-prev.svg') no-repeat center / 30px 30px; cursor: pointer; }
.pv-pop-prev { left: 15px; }
.pv-pop-next { right: 15px; background-image: url('/img/shop/ico-arrow-next.svg'); }
.pv-pop-prev.swiper-button-disabled, .pv-pop-next.swiper-button-disabled { opacity: 0.3; cursor: default; }
.pv-pop.is-single .pv-pop-prev, .pv-pop.is-single .pv-pop-next, .pv-pop.is-single .pv-pop-page { display: none; }
.pv-pop-txt { flex: 1 1 auto; min-width: 0; padding: 60px 35px 35px; overflow-y: auto; }
.pv-pop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.875rem; line-height: 24px; color: var(--gray); }
.pv-pop-name { font-weight: 600; color: var(--black); }
.pv-pop-subj { margin-top: 15px; font-size: 1.125rem; font-weight: 600; line-height: 28px; letter-spacing: -0.72px; color: var(--black); }
.pv-pop-cont { margin-top: 10px; font-size: 1rem; line-height: 26px; letter-spacing: var(--letter-spacing-16m); color: var(--gray); word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 반응형 ---------- */
/* 높이가 낮은 PC 화면: 우측 고정 영역 간격을 줄여 상단 아이콘~구매 버튼이 한 화면에 */
@media (min-width: 981px) and (max-height: 900px) {
	.pv-right form { gap: 18px; padding-top: 100px; }
	.pv-sticky { top: 100px; }
	.pv-name { font-size: 2.5rem; line-height: 50px; letter-spacing: -2px; }
	.pv-title { gap: 4px; }
	.pv-spec { gap: 0; }
	.pv-btns button { height: 56px; }
	.pv-total { padding-top: 5px; }
}
@media (max-width: 1500px) {
	.pv-inner { gap: 0 50px; }
	.pv-gallery { gap: 30px; }
	.pv-name { font-size: 2.5rem; line-height: 52px; letter-spacing: -2px; }
}
@media (max-width: 1300px) {
	.pv-thumbs { flex-basis: 64px; }
	.pv-thumb-swiper { width: 64px; height: 378px; }
	.pv-thumb-swiper .swiper-slide { height: 87px !important; }
	.pv-rating-graph { padding: 0 35px; }
	.pv-rating-total { flex-basis: 200px; }
	.pv-review-side { flex-basis: 150px; padding: 0 20px; }
	/* Q&A: 제목 한 줄 전체 + 아래에 작성자 | 날짜 */
	.pv-qna-list li { flex-wrap: wrap; padding: 18px 10px; }
	.pv-qna-list li > * { padding: 0; }
	.pv-qna-no { display: none !important; }
	.pv-qna-subj { flex: 1 1 100%; flex-wrap: nowrap; margin-bottom: 4px; }
	.pv-qna-name, .pv-qna-date { flex: none; padding: 0 !important; font-size: 0.875rem; line-height: 24px; }
	.pv-qna-name::after { content: ''; display: inline-block; width: 1px; height: 10px; margin: 0 8px; background: var(--border); }
}
@media (max-width: 980px) {
	.pv { padding-top: 120px; padding-bottom: 100px; }
	.pv-inner { display: flex; flex-direction: column; gap: 0; }
	.pv-left { display: contents; }
	.pv-gallery { order: 1; width: 100%; }
	.pv-right { order: 2; width: 100%; margin-top: 40px; }
	.pv-roll, .pv-sec { order: 3; width: 100%; }
	.pv-roll { margin-top: 70px; }
	.pv-sec { margin-top: 70px; scroll-margin-top: 90px; }
	.pv-sticky { position: static; }
	.pv-right form { padding-top: 60px; gap: 25px; }
	/* 이미지: 980 이하도 PC처럼 왼쪽 세로 썸네일 + 큰 이미지 */
	.pv-gallery { justify-content: center; gap: 20px; }
	.pv-main-swiper { flex: 0 1 640px; max-width: 640px; }
	.pv-name { font-size: 2rem; line-height: 44px; letter-spacing: -1.6px; }
	.pv-eng { font-size: 1.125rem; line-height: 28px; }
	.pv-photo-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.pv-photo-list li:nth-child(n+5) { display: none; }
	.pv-picked-scroll { max-height: none; overflow: visible; }
}
@media (max-width: 680px) {
	/* 이미지: 큰 이미지 아래 가로 썸네일 롤링 */
	.pv-gallery { flex-direction: column; align-items: stretch; gap: 10px; }
	.pv-main-swiper { flex: none; width: 100%; max-width: none; border-radius: 15px; }
	.pv-thumbs { order: 2; flex: none; width: 100%; }
	.pv-thumb-btn { display: none; }
	.pv-thumb-swiper { width: 100%; height: auto; }
	.pv-thumb-swiper .swiper-slide { height: auto !important; aspect-ratio: 80 / 109; border-radius: 8px; }
	.pv-thumb-swiper .swiper-slide::after { border-radius: 8px; }
	.pv-gallery.is-single .pv-thumbs { display: none; }
}
@media (max-width: 768px) {
	.pv-util { gap: 14px; }
	.pv-util button { width: 24px; height: 24px; -webkit-mask-size: 24px 24px; mask-size: 24px 24px; }
	.pv-add-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.pv-tab a { padding: 10px 2px; font-size: 0.9375rem; line-height: 28px; letter-spacing: -0.45px; }
	.pv-roll-head h3 { font-size: 1.375rem; line-height: 34px; }
	.pv-roll-card { gap: 12px; }
	.pv-roll-img { border-radius: 12px; }
	.pv-roll-txt { height: 44px; font-size: 0.875rem; line-height: 22px; }
	.pv-roll-card .pv-stars { margin-top: -4px; width: 74px; height: 16px; background-size: 74px 16px; }
	.pv-roll-card .pv-stars > span { background-size: 74px 16px; }
	.pv-rating { flex-direction: column; gap: 20px; padding: 25px 0; }
	.pv-rating-total { flex: none; padding-bottom: 20px; margin: 0 20px; border-right: 0; border-bottom: 1px solid var(--border); }
	.pv-rating-graph { padding: 0 20px; }
	.pv-review-item { flex-direction: column-reverse; gap: 10px; padding: 22px 0; }
	.pv-review-side { flex: none; flex-direction: row; gap: 10px; align-self: auto; padding: 0; border-left: 0; }
	.pv-review-name { font-size: 0.875rem; line-height: 24px; }
	.pv-review-subj { font-size: 1rem; line-height: 26px; }
	.pv-review-text { font-size: 0.875rem; line-height: 24px; }
	.pv-review-imgs button { width: 100px; height: 100px; }
	.pv-acc { margin-top: 20px; gap: 0; }
	.pv-acc-btn { padding: 12px 5px; font-size: 1rem; line-height: 28px; }
	.pv-acc-btn::after { width: 20px; height: 20px; background-size: 20px 20px; }
	.pv-acc-in { padding: 0 5px 20px; font-size: 0.875rem; line-height: 22px; }
	.pv-acc-in .pv-guide-list li { padding-left: 10px; }
	.pv-acc-in .pv-guide-list li::before { top: 10px; }
	.pv-acc-in .pv-guide-list li + li { margin-top: 2px; }
	.pv-acc-in th, .pv-acc-in td { padding: 8px 10px; font-size: 0.8125rem; line-height: 20px; }
	.pv-acc-in th { width: 110px; }
	.pv-qna-list li { flex-wrap: wrap; padding: 15px 0; font-size: 0.875rem; line-height: 24px; }
	.pv-qna-list li > * { padding: 0; }
	.pv-qna-no { display: none !important; }
	.pv-qna-subj { flex: 1 1 100%; flex-wrap: nowrap; margin-bottom: 6px; }
	.pv-qna-badge { flex-basis: 64px; height: 24px; font-size: 0.75rem; }
	.pv-qna-name, .pv-qna-date { flex: none; padding: 0 !important; font-size: 0.8125rem; }
	.pv-qna-name::after { content: ''; display: inline-block; width: 1px; height: 10px; margin: 0 8px; background: var(--border); }
	.pv-pop-box { flex-direction: column; overflow-y: auto; }
	.pv-pop-img { flex: none; }
	.pv-pop-txt { padding: 25px 20px; overflow: visible; }
}
@media (max-width: 480px) {
	.pv-add-item { gap: 14px; }
	.pv-add-img { flex-basis: 84px; }
	.pv-add-head, .pv-add-name { font-size: 0.9375rem; }
	.pv-add-price { margin-bottom: 2px; font-size: 1rem; line-height: 150%; }
	.pv { padding-top: 100px; }
	.pv-name { font-size: 1.625rem; line-height: 36px; letter-spacing: -1.3px; }
	.pv-price .dc, .pv-price .now, .pv-total strong { font-size: 1.375rem; }
	.pv-spec dt { flex-basis: 90px; }
	.pv-spec, .pv-select select { font-size: 0.9375rem; }
	.pv-btns button { height: 56px; font-size: 0.9375rem; gap: 6px; }
	.pv-btns button::before { width: 22px; height: 22px; background-size: 22px 22px; }
	.pv-tab a { font-size: 0.8125rem; letter-spacing: -0.5px; }
	.pv-photo-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pv-photo-list li:nth-child(n+4) { display: none; }
	.pv-line-price { padding-right: 0; font-size: 1rem; }
	.pv-picked td.pv-c-price { font-size: 1rem; align-self: center; }
	.pv-picked tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name del" "qty price"; padding: 12px 12px 12px 15px; }
	.pv-picked td.pv-c-del { align-self: start; justify-self: end; margin-right: -2px; }
	.pv-line-name { font-size: 0.9375rem; line-height: 24px; }
	.pv-line-sub { font-size: 0.8125rem; line-height: 20px; }
}
