/* ══════════════════════════════════════════════════════
   속초피크 상품 상세 페이지  —  item.info.css
   네임스페이스: .sp-
   Fonts: Cormorant Garamond · Noto Sans KR · DM Mono
══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Noto+Sans+KR:wght@300;400;500;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --sp-red:      #e8392a;
  --sp-red-dk:   #c0302a;
  --sp-navy:     #0f172a;
  --sp-white:    #ffffff;
  --sp-fog:      #f8f9fb;
  --sp-fog-2:    #f1f5f9;
  --sp-border:   #e8edf3;
  --sp-text:     #0f172a;
  --sp-text-2:   #475569;
  --sp-text-3:   #94a3b8;
  --sp-teal:     #2dd4bf;
  --sp-gold:     #f59e0b;
  --sp-r:        12px;
  --sp-t:        0.2s cubic-bezier(.4,0,.2,1);
  --sp-sh:       0 2px 12px rgba(15,23,42,.07);
  --sp-sh-md:    0 8px 28px rgba(15,23,42,.11);
}

/* ── 페이지 래퍼 ── */
.sp-detail-page {
  background: var(--sp-fog);
  min-height: 60vh;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  align-items: start;
  gap: 52px;
}

/* ════════════════════════════
   갤러리
════════════════════════════ */
.sp-gallery {
  position: sticky;
  top: 90px;
}
.sp-gallery__stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sp-white);
  box-shadow: var(--sp-sh-md);
  aspect-ratio: 1 / 1;
  /* Swiper가 내부 높이를 0으로 만드는 것 방지 */
  min-height: 300px;
}
.sp-gallery__img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.sp-gallery__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sp-gallery__img--empty {
  background: var(--sp-fog-2);
}

/* 슬라이더 네비 */
.sp-swiper-prev,
.sp-swiper-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: all var(--sp-t);
  color: var(--sp-text);
}
.sp-swiper-prev { left: 14px; }
.sp-swiper-next { right: 14px; }
.sp-swiper-prev:hover,
.sp-swiper-next:hover {
  background: var(--sp-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,57,42,.35);
}

/* 이미지 카운터 */
.sp-gallery__counter {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(15,23,42,.55);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: .68rem;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  z-index: 5;
}

/* 뱃지 */
.sp-badge {
  position: absolute;
  z-index: 8;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 4px 10px;
  line-height: 1.4;
  letter-spacing: .02em;
}
.sp-badge--disc {
  top: 14px; left: 14px;
  background: var(--sp-red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(232,57,42,.4);
}
.sp-badge--soldout {
  /* 위시/공유 버튼(top-right)과 겹치지 않도록 bottom-left 배치 */
  bottom: 14px; left: 14px;
  background: rgba(15,23,42,.82);
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: .72rem;
  letter-spacing: .08em;
}
.sp-badge--free {
  bottom: 50px; left: 14px;
  background: rgba(45,212,191,.9);
  color: var(--sp-navy);
  backdrop-filter: blur(4px);
}

/* 썸네일 */
.sp-gallery__thumbs {
  margin-top: 12px;
}
.sp-thumb-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--sp-t), transform var(--sp-t);
}
.sp-thumb-item img { width:100%; height:100%; object-fit:cover; display:block; }
.swiper-slide-thumb-active .sp-thumb-item {
  border-color: var(--sp-red);
}
.sp-thumb-item:hover { transform: scale(1.05); }

/* 갤러리 플로팅 버튼 */
.sp-gallery__actions {
  position: absolute;
  top: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 20;
}
.sp-gal-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  color: var(--sp-text-2);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: all var(--sp-t);
}
.sp-gal-btn:hover { background: var(--sp-red); color: #fff; }
.sp-gal-btn--wish.is-liked { background: var(--sp-red); color: #fff; }

/* ════════════════════════════
   상품 정보 패널
════════════════════════════ */
.sp-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

/* 브레드크럼 */
.sp-breadcrumb {
  display: flex; align-items: center; gap: 4px;
  font-size: .72rem; color: var(--sp-text-3);
  margin-bottom: 16px;
}
.sp-breadcrumb a {
  color: var(--sp-text-3);
  text-decoration: none;
  transition: color var(--sp-t);
}
.sp-breadcrumb a:hover { color: var(--sp-red); }

/* 상품명 */
.sp-name {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

/* 기본 설명 */
.sp-basic {
  font-size: .88rem;
  color: var(--sp-text-2);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

/* 메타 바 (평점·후기·위시) */
.sp-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sp-stars { display: flex; align-items: center; gap: 2px; }
.sp-star { font-size: .9rem; color: var(--sp-border); }
.sp-star--on { color: var(--sp-gold); }
.sp-star-val {
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  color: var(--sp-text-2);
  margin-left: 4px;
}
.sp-meta-div { color: var(--sp-border); }
.sp-meta-link {
  font-size: .78rem;
  color: var(--sp-text-3);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--sp-t);
}
.sp-meta-link:hover { color: var(--sp-red); }
.sp-meta-link strong { color: var(--sp-text-2); font-weight: 700; }

/* ── 가격 블록 ── */
.sp-price-block {
  background: linear-gradient(135deg, #fff 0%, var(--sp-fog) 100%);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--sp-sh);
}
.sp-price__orig-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.sp-price__orig {
  font-size: .82rem;
  color: var(--sp-text-3);
  text-decoration: line-through;
  font-family: 'DM Mono', monospace;
}
.sp-price__pct {
  font-size: .7rem;
  font-weight: 800;
  color: var(--sp-red);
  background: rgba(232,57,42,.09);
  border-radius: 4px;
  padding: 2px 6px;
}
.sp-price__main { display: flex; align-items: baseline; gap: 6px; }
.sp-price__now {
  font-family: 'DM Mono', monospace;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--sp-red);
  letter-spacing: -.04em;
  line-height: 1;
}
.sp-price__point {
  display: flex; align-items: center; gap: 5px;
  margin-top: 8px;
  font-size: .73rem;
  color: var(--sp-text-3);
  border-top: 1px solid var(--sp-border);
  padding-top: 8px;
}
.sp-price__label--stopped { font-size: .88rem; color: var(--sp-text-3); }
.sp-price__inq {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sp-text-2);
}

/* ── 구분선 ── */
.sp-divider {
  height: 1px;
  background: var(--sp-border);
  margin: 0 0 20px;
}

/* ── 스펙 테이블 ── */
.sp-spec {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  overflow: hidden;
  background: var(--sp-white);
}
.sp-spec__row {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--sp-fog-2);
  transition: background var(--sp-t);
}
.sp-spec__row:last-child { border-bottom: none; }
.sp-spec__row:hover { background: var(--sp-fog); }
.sp-spec dt {
  width: 80px;
  flex-shrink: 0;
  font-size: .76rem;
  font-weight: 700;
  color: var(--sp-text-3);
  letter-spacing: .02em;
}
.sp-spec dd {
  font-size: .82rem;
  color: var(--sp-text-2);
}
.sp-spec__dd--free {
  color: #16a34a;
  font-weight: 700;
}

/* ── 옵션 ── */
.sp-option-wrap {
  margin-bottom: 16px;
}
.sp-option-wrap__label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--sp-text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sp-option-inner select,
.sp-option-inner input[type=text],
.sp-option-inner input[type=number] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--sp-border);
  border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: .86rem;
  color: var(--sp-text);
  background: var(--sp-white);
  outline: none;
  transition: border-color var(--sp-t), box-shadow var(--sp-t);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.sp-option-inner select:focus,
.sp-option-inner input:focus {
  border-color: var(--sp-red);
  box-shadow: 0 0 0 3px rgba(232,57,42,.08);
}

/* ── 선택된 옵션 + 수량 ── */
.sp-selected {
  background: var(--sp-fog);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.sp-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sp-qty-name {
  flex: 1;
  font-size: .82rem;
  color: var(--sp-text);
  font-weight: 500;
  min-width: 80px;
}
.sp-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--sp-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sp-white);
}
.sp-qty-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
  font-size: 1rem; font-weight: 500;
  color: var(--sp-text-2);
  cursor: pointer;
  transition: background var(--sp-t), color var(--sp-t);
}
.sp-qty-btn:hover { background: var(--sp-red); color: #fff; }
.sp-qty-input {
  width: 44px; height: 34px;
  border: none; border-left: 1.5px solid var(--sp-border); border-right: 1.5px solid var(--sp-border);
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: .88rem;
  color: var(--sp-text);
  outline: none;
  background: var(--sp-white);
}
.sp-qty-price {
  font-family: 'DM Mono', monospace;
  font-size: .8rem;
  color: var(--sp-text-2);
  font-weight: 500;
  white-space: nowrap;
}

/* ── 총 금액 ── */
#sit_tot_price {
  background: var(--sp-navy);
  color: #fff;
  border-radius: var(--sp-r);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#sit_tot_price .sit_tot_prc_label { color: rgba(255,255,255,.6); font-size: .78rem; }
#sit_tot_price strong, #sit_tot_price .sit_tot_prc {
  font-family: 'DM Mono', monospace;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
}

/* ── 품절 알림 ── */
.sp-soldout-notice {
  display: flex; align-items: center; gap: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--sp-r);
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--sp-red);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── 구매 버튼 ── */
.sp-buy-area {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--sp-t);
  white-space: nowrap;
  text-decoration: none;
}
.sp-btn--primary {
  flex: 1;
  background: var(--sp-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,57,42,.35);
}
.sp-btn--primary:hover {
  background: var(--sp-red-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,57,42,.45);
}
.sp-btn--secondary {
  flex: 1;
  background: var(--sp-white);
  color: var(--sp-text);
  border: 1.5px solid var(--sp-border);
  box-shadow: var(--sp-sh);
}
.sp-btn--secondary:hover {
  border-color: var(--sp-text);
  transform: translateY(-2px);
  box-shadow: var(--sp-sh-md);
}
.sp-btn--wish {
  width: 50px; height: 50px; padding: 0;
  flex-shrink: 0;
  background: var(--sp-white);
  color: var(--sp-text-3);
  border: 1.5px solid var(--sp-border);
  border-radius: 12px;
}
.sp-btn--wish:hover, .sp-btn--wish.is-liked {
  border-color: var(--sp-red);
  color: var(--sp-red);
  background: #fef2f2;
}
.sp-btn--alarm {
  width: 100%;
  background: var(--sp-navy);
  color: #fff;
}
.sp-btn--alarm:hover { opacity: .85; }
.sp-naverpay { width: 100%; }

/* ── 배송 안내 스트립 ── */
.sp-assure-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 20px;
  background: var(--sp-fog);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-r);
  gap: 8px;
}
.sp-assure-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem;
  color: var(--sp-text-2);
  font-weight: 500;
  white-space: nowrap;
}
.sp-assure-item svg { flex-shrink: 0; color: var(--sp-text-3); }

/* ════════════════════════════
   하단 탭 (상품정보 / 후기 / 문의)
   — 그누보드 기본 마크업 오버라이드
════════════════════════════ */
#sit_tab, .sit_tab {
  display: flex !important;
  list-style: none;
  border: none !important;
  background: var(--sp-white);
  border-bottom: 2px solid var(--sp-border) !important;
  max-width: 1120px;
  margin: 40px auto 0 !important;
  padding: 0 24px !important;
  gap: 0;
}
#sit_tab li, .sit_tab li {
  margin: 0 !important;
  border: none !important;
}
#sit_tab li a, #sit_tab li span,
.sit_tab li a, .sit_tab li span {
  display: flex !important;
  align-items: center;
  padding: 14px 24px !important;
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: var(--sp-text-3) !important;
  text-decoration: none !important;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color var(--sp-t), border-color var(--sp-t);
  background: none !important;
  border-radius: 0 !important;
}
#sit_tab li.tab_on a, #sit_tab li.tab_on span,
.sit_tab li.tab_on a, .sit_tab li.tab_on span {
  color: var(--sp-text) !important;
  border-bottom-color: var(--sp-red) !important;
}
#sit_tab li a:hover, .sit_tab li a:hover { color: var(--sp-red) !important; }

/* 탭 컨텐츠 영역 */
#sit_item_cont, .sit_item_cont,
#sct_use, #sct_qa {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
}
#sct_use .sit_use_list,
#sct_qa .sit_qa_list {
  background: var(--sp-white);
  border-radius: var(--sp-r);
  box-shadow: var(--sp-sh);
  overflow: hidden;
}

/* ════════════════════════════
   그누보드 기본 스타일 리셋
════════════════════════════ */
.sp-detail-page .sit_ov_tbl { display: none !important; }
.sp-detail-page #sit_ov_soldout { display: none !important; }
.sp-detail-page .prd_thum { display: none !important; }
.sp-detail-page #sit_star_sns { display: none !important; }
.sp-detail-page h2#sit_title { display: none !important; }
.sp-detail-page p#sit_desc { display: none !important; }
.sp-detail-page #sit_opt_info { display: none !important; }
.sp-detail-page .sit_info { display: none !important; }

/* 선택된 옵션 그누보드 기본 스타일 리셋 */
.sp-selected .opt_name { display: none; }
.sp-selected .opt_count { display: flex; align-items: center; gap: 8px; }
.sp-selected .sit_qty_minus,
.sp-selected .sit_qty_plus {
  width: 32px; height: 32px;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  background: var(--sp-white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--sp-t);
}
.sp-selected .sit_qty_minus:hover,
.sp-selected .sit_qty_plus:hover {
  background: var(--sp-red);
  border-color: var(--sp-red);
  color: #fff;
}
.sp-selected .num_input {
  width: 48px; height: 32px;
  text-align: center;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  font-family: 'DM Mono', monospace;
  font-size: .86rem;
}

/* ════════════════════════════
   반응형
════════════════════════════ */
@media (max-width: 900px) {
  .sp-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 16px 48px;
  }
  .sp-gallery { position: static; }
}
@media (max-width: 600px) {
  .sp-name { font-size: 1.25rem; }
  .sp-price__now { font-size: 1.55rem; }
  .sp-btn { font-size: .82rem; padding: 12px 16px; }
  .sp-assure-strip { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .sp-assure-item { font-size: .68rem; }
  #sit_tab li a, #sit_tab li span,
  .sit_tab li a, .sit_tab li span { padding: 12px 14px !important; font-size: .8rem !important; }
}

/* ── 카카오 문의 링크 ── */
.sp-assure-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(71,85,105,.25);
  transition: color var(--sp-t), border-color var(--sp-t);
}
.sp-assure-link:hover {
  color: var(--sp-red);
  border-color: var(--sp-red);
}

/* ════════════════════════════
   item.info.skin.php 하단 탭 섹션 재정의
   클래스: .prd_v_v2 .prd_bottom
════════════════════════════ */
#sit_info { background: var(--sp-white); }
#sit_info .prd_bottom { background: var(--sp-white); }

/* 탭 타이틀 바 */
#sit_info .tab_tit_wrap {
  background: var(--sp-white);
  border-bottom: 2px solid var(--sp-border);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
}
#sit_info .tab_tit {
  display: flex !important;
  list-style: none !important;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 24px !important;
  gap: 0;
  border: none !important;
  background: none !important;
}
#sit_info .tab_tit li {
  margin: 0 !important;
  border: none !important;
  background: none !important;
}
#sit_info .tab_tit li button,
#sit_info .tab_tit li a {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 16px 22px !important;
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: var(--sp-text-3) !important;
  background: none !important;
  border: none !important;
  border-bottom: 2.5px solid transparent !important;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--sp-t), border-color var(--sp-t);
  text-decoration: none !important;
  outline: none;
  border-radius: 0 !important;
  white-space: nowrap;
}
#sit_info .tab_tit li button:hover { color: var(--sp-red) !important; }
#sit_info .tab_tit li button.act,
#sit_info .tab_tit li.act button {
  color: var(--sp-text) !important;
  border-bottom-color: var(--sp-red) !important;
}
#sit_info .tab_tit .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sp-fog-2);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-3);
  border-radius: 20px;
  font-size: .62rem;
  font-family: 'DM Mono', monospace;
  padding: 1px 6px;
  min-width: 20px;
  transition: background var(--sp-t);
}
#sit_info .tab_tit li.act .num,
#sit_info .tab_tit li button.act .num {
  background: rgba(232,57,42,.09);
  border-color: rgba(232,57,42,.2);
  color: var(--sp-red);
}

/* 탭 컨텐츠 */
#sit_info .bot_inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 60px;
}
#sit_info .bot_inner .container { max-width: 100%; padding: 0; }

/* 탭 컨텐츠 항목 */
#sit_info .tab_con { list-style: none; margin: 0; padding: 0; }
#sit_info .tab_con > li { display: none; }
#sit_info .tab_con > li.act { display: block; }

/* 상품 상세설명 */
#sit_info .contents_tit {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border);
}
#sit_info h3 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sp-text-2);
  margin: 28px 0 14px;
}
#sit_inf_explan {
  font-size: .88rem;
  color: var(--sp-text-2);
  line-height: 1.9;
}
#sit_inf_explan img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }

/* 상품 정보 고시 테이블 */
#sit_inf_open {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--sp-r);
  overflow: hidden;
  border: 1px solid var(--sp-border);
  font-size: .84rem;
}
#sit_inf_open th {
  background: var(--sp-fog);
  color: var(--sp-text-3);
  font-weight: 700;
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--sp-border);
  width: 30%;
}
#sit_inf_open td {
  padding: 11px 16px;
  color: var(--sp-text-2);
  border-bottom: 1px solid var(--sp-fog-2);
}
#sit_inf_open tr:last-child th,
#sit_inf_open tr:last-child td { border-bottom: none; }

/* 사용후기 / 상품문의 */
#sit_use h2, #sit_qa h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border);
}

/* 하단 고정 구매 바 (sit_buy) */
#sit_buy {
  display: none !important; /* 상단에 이미 구매 버튼 있음 */
}

/* ════════════════════════════════════════
   sp-info-section 탭 (item.info.skin.php)
════════════════════════════════════════ */
.sp-info-section {
  background: var(--sp-white);
  margin-top: 48px;
  border-top: 1px solid var(--sp-border);
}

/* ── 탭 헤더 ── */
.sp-tab-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sp-white);
  border-bottom: 2px solid var(--sp-border);
  box-shadow: 0 4px 16px rgba(15,23,42,.05);
}
.sp-tab-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}
.sp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 24px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--sp-text-3);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color var(--sp-t), border-color var(--sp-t);
  white-space: nowrap;
  outline: none;
}
.sp-tab-btn:hover { color: var(--sp-red); }
.sp-tab-btn--active {
  color: var(--sp-text);
  border-bottom-color: var(--sp-red);
}
.sp-tab-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sp-fog-2);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-3);
  border-radius: 20px;
  font-size: .62rem;
  font-family: 'DM Mono', monospace;
  padding: 1px 7px;
  min-width: 22px;
  transition: background var(--sp-t), color var(--sp-t);
}
.sp-tab-btn--active .sp-tab-cnt {
  background: rgba(232,57,42,.09);
  border-color: rgba(232,57,42,.2);
  color: var(--sp-red);
}

/* ── 탭 패널 ── */
.sp-tab-body { background: var(--sp-fog); }
.sp-tab-pane { display: none; }
.sp-tab-pane--active { display: block; animation: spFadeIn .25s ease; }
@keyframes spFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.sp-tab-content-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 60px;
}

/* 상품정보 탭 내부 */
.sp-tab-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border);
}
.sp-explan {
  font-size: .88rem;
  color: var(--sp-text-2);
  line-height: 1.9;
}
.sp-explan img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }

.sp-info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--sp-r);
  overflow: hidden;
  border: 1px solid var(--sp-border);
  font-size: .84rem;
  background: var(--sp-white);
  box-shadow: var(--sp-sh);
}
.sp-info-table th {
  background: var(--sp-fog);
  color: var(--sp-text-3);
  font-weight: 700;
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sp-border);
  width: 28%;
}
.sp-info-table td {
  padding: 12px 18px;
  color: var(--sp-text-2);
  border-bottom: 1px solid var(--sp-fog-2);
}
.sp-info-table tr:last-child th,
.sp-info-table tr:last-child td { border-bottom: none; }

/* 빈 상태 */
.sp-tab-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 64px 24px;
  color: var(--sp-text-3);
  text-align: center;
}
.sp-tab-empty__ico { font-size: 2.4rem; opacity: .5; }
.sp-tab-empty p { font-size: .88rem; }
.sp-tab-empty__btn {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  background: var(--sp-red); color: #fff;
  border-radius: 10px; font-size: .84rem; font-weight: 700;
  text-decoration: none; margin-top: 8px;
  transition: background var(--sp-t);
}
.sp-tab-empty__btn:hover { background: var(--sp-red-dk); }

/* ════════════════════════════════════════
   사용후기 (itemuse.skin.php)
════════════════════════════════════════ */
.sp-review-wrap {
  background: var(--sp-white);
  border-radius: var(--sp-r);
  box-shadow: var(--sp-sh);
  overflow: hidden;
}

/* 헤더 */
.sp-review-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sp-border);
  flex-wrap: wrap; gap: 12px;
}
.sp-review-score {
  display: flex; align-items: center; gap: 10px;
}
.sp-review-score__num {
  font-family: 'DM Mono', monospace;
  font-size: 2rem; font-weight: 500;
  color: var(--sp-text); line-height: 1;
}
.sp-review-score__stars { display: flex; gap: 2px; }
.sp-rstar { font-size: 1rem; color: var(--sp-border); }
.sp-rstar--on { color: var(--sp-gold); }
.sp-review-score__total { font-size: .75rem; color: var(--sp-text-3); }
.sp-review-header__title { font-size: .9rem; font-weight: 700; color: var(--sp-text); }
.sp-review-header__right { display: flex; gap: 8px; align-items: center; }

.sp-review-write-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px;
  background: var(--sp-red); color: #fff !important;
  border-radius: 8px; font-size: .78rem; font-weight: 700;
  text-decoration: none !important; cursor: pointer;
  transition: background var(--sp-t);
}
.sp-review-write-btn:hover { background: var(--sp-red-dk); }
.sp-review-more-btn {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--sp-border);
  background: var(--sp-white); color: var(--sp-text-2);
  border-radius: 8px; font-size: .78rem; font-weight: 600;
  text-decoration: none !important;
  transition: all var(--sp-t);
}
.sp-review-more-btn:hover { border-color: var(--sp-text); color: var(--sp-text); }

/* 후기 아이템 */
.sp-review-item {
  border-bottom: 1px solid var(--sp-fog-2);
  transition: background var(--sp-t);
}
.sp-review-item:last-of-type { border-bottom: none; }
.sp-review-item.is-open { background: var(--sp-fog); }

.sp-review-item__summary {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  transition: background var(--sp-t);
}
.sp-review-item__summary:hover { background: var(--sp-fog); }

.sp-review-item__thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--sp-border);
}
.sp-review-item__thumb img { width:100%; height:100%; object-fit:cover; }

.sp-review-item__main { flex: 1; min-width: 0; }
.sp-review-item__stars { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.sp-review-item__replied {
  display: inline-flex;
  margin-left: 8px;
  font-size: .6rem; font-weight: 700;
  background: rgba(232,57,42,.09);
  color: var(--sp-red); border-radius: 4px;
  padding: 1px 6px;
}
.sp-review-item__subject {
  font-size: .88rem; font-weight: 600;
  color: var(--sp-text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.sp-review-item__meta { font-size: .72rem; color: var(--sp-text-3); display: flex; gap: 4px; }
.sp-review-item__dot { color: var(--sp-border); }
.sp-review-item__arrow { flex-shrink: 0; color: var(--sp-text-3); transition: transform var(--sp-t); }
.sp-review-item.is-open .sp-review-item__arrow { transform: rotate(180deg); }

.sp-review-item__body { padding: 0 24px 20px; }
.sp-review-item__content {
  font-size: .86rem; color: var(--sp-text-2);
  line-height: 1.85; padding: 16px 0 14px;
  border-top: 1px solid var(--sp-border);
}
.sp-review-item__content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }

/* 후기 수정/삭제 */
.sp-review-item__cmd { display: flex; gap: 6px; margin-top: 10px; }
.sp-cmd-btn {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border: 1.5px solid var(--sp-border);
  border-radius: 7px; font-size: .74rem; font-weight: 600;
  color: var(--sp-text-2); background: var(--sp-white);
  text-decoration: none !important; cursor: pointer;
  transition: all var(--sp-t);
}
.sp-cmd-btn:hover { border-color: var(--sp-text); color: var(--sp-text); }
.sp-cmd-btn--del { color: var(--sp-red); }
.sp-cmd-btn--del:hover { border-color: var(--sp-red); background: #fef2f2; }

/* 후기 답변 */
.sp-review-reply {
  background: var(--sp-fog-2);
  border-left: 3px solid var(--sp-red);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  margin-top: 12px;
}
.sp-review-reply__badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700;
  color: var(--sp-red); margin-bottom: 8px;
}
.sp-review-reply__subject { font-size: .84rem; font-weight: 700; color: var(--sp-text); margin-bottom: 4px; }
.sp-review-reply__name { font-size: .72rem; color: var(--sp-text-3); margin-bottom: 8px; }
.sp-review-reply__content { font-size: .82rem; color: var(--sp-text-2); line-height: 1.7; }

/* 페이지네이션 */
.sp-review-pager { padding: 16px 24px; border-top: 1px solid var(--sp-fog-2); text-align: center; }
.sp-review-pager .pg_wrap { display: flex !important; justify-content: center; gap: 4px; }
.sp-review-pager a, .sp-review-pager strong {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 32px !important; height: 32px !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 8px !important; font-size: .78rem !important;
  color: var(--sp-text-2) !important;
  text-decoration: none !important;
  transition: all var(--sp-t) !important;
  background: var(--sp-white) !important;
}
.sp-review-pager strong {
  background: var(--sp-red) !important;
  border-color: var(--sp-red) !important;
  color: #fff !important; font-weight: 700 !important;
}
.sp-review-pager a:hover { border-color: var(--sp-red) !important; color: var(--sp-red) !important; }

/* ════════════════════════════════════════
   상품문의 (itemqa.skin.php)
════════════════════════════════════════ */
.sp-qa-wrap {
  background: var(--sp-white);
  border-radius: var(--sp-r);
  box-shadow: var(--sp-sh);
  overflow: hidden;
}
.sp-qa-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sp-border);
  flex-wrap: wrap; gap: 12px;
}
.sp-qa-header__title { font-size: .9rem; font-weight: 700; color: var(--sp-text); }
.sp-qa-header__btns { display: flex; gap: 8px; }

.sp-qa-item { border-bottom: 1px solid var(--sp-fog-2); }
.sp-qa-item:last-of-type { border-bottom: none; }
.sp-qa-item.is-open { background: var(--sp-fog); }

.sp-qa-item__summary {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; cursor: pointer;
  transition: background var(--sp-t);
}
.sp-qa-item__summary:hover { background: var(--sp-fog); }

.sp-qa-status {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: .65rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.sp-qa-status--done { background: rgba(22,163,74,.1); color: #16a34a; }
.sp-qa-status--wait { background: var(--sp-fog-2); color: var(--sp-text-3); }

.sp-qa-item__main { flex: 1; min-width: 0; }
.sp-qa-item__subject {
  font-size: .88rem; font-weight: 600;
  color: var(--sp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.sp-qa-item__meta { font-size: .72rem; color: var(--sp-text-3); display: flex; gap: 4px; }
.sp-qa-item__dot { color: var(--sp-border); }
.sp-qa-item__arrow { flex-shrink: 0; color: var(--sp-text-3); transition: transform var(--sp-t); }
.sp-qa-item.is-open .sp-qa-item__arrow { transform: rotate(180deg); }

.sp-qa-item__body { padding: 4px 24px 20px; border-top: 1px solid var(--sp-border); }

.sp-qa-bubble { display: flex; gap: 12px; padding: 14px 0; }
.sp-qa-bubble + .sp-qa-bubble { border-top: 1px solid var(--sp-fog-2); }

.sp-qa-bubble__label {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: .78rem; font-weight: 700;
}
.sp-qa-bubble--q .sp-qa-bubble__label { background: var(--sp-navy); color: #fff; }
.sp-qa-bubble--a .sp-qa-bubble__label { background: var(--sp-red); color: #fff; }
.sp-qa-bubble--a--empty .sp-qa-bubble__label { background: var(--sp-fog-2); color: var(--sp-text-3); }

.sp-qa-bubble__content { font-size: .86rem; color: var(--sp-text-2); line-height: 1.8; flex: 1; }
.sp-qa-bubble--a--empty .sp-qa-bubble__content { color: var(--sp-text-3); font-style: italic; }
.sp-qa-secret { color: var(--sp-text-3); font-style: italic; }

/* 반응형 */
@media(max-width:600px){
  .sp-tab-btn { padding:13px 14px; font-size:.8rem; }
  .sp-review-item__summary { padding:14px 16px; gap:10px; }
  .sp-review-item__body { padding:0 16px 16px; }
  .sp-qa-item__summary { padding:13px 16px; }
  .sp-qa-item__body { padding:4px 16px 16px; }
  .sp-review-header, .sp-qa-header { padding:14px 16px; }
  .sp-tab-content-inner { padding:28px 16px 40px; }
}

/* ── Swiper 슬라이드 높이 보정 ── */
.sp-gallery__stage .swiper,
.sp-gallery__stage .swiper-wrapper,
.sp-gallery__stage .swiper-slide {
  height: 100% !important;
  width: 100% !important;
}
.sp-gallery__img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sp-gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Swiper translate 충돌 방지 */
  will-change: auto;
}
/* 썸네일 swiper */
.sp-gallery__thumbs .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   전체 후기/문의 목록 페이지 공통
   .sp-list-page
════════════════════════════════════════════════ */
.sp-list-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 80px;
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── 페이지 헤드 ── */
.sp-list-head {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--sp-border);
  margin-bottom: 24px;
}
.sp-list-head__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sp-text);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.sp-list-head__sub {
  font-size: .82rem;
  color: var(--sp-text-3);
}
.sp-list-head__sub strong {
  color: var(--sp-red);
  font-weight: 700;
}

/* ── 검색 폼 ── */
.sp-list-search-bar {
  margin-bottom: 28px;
}
.sp-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-search-select {
  padding: 10px 14px;
  border: 1.5px solid var(--sp-border);
  border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: .82rem;
  color: var(--sp-text);
  background: var(--sp-white);
  outline: none;
  cursor: pointer;
  transition: border-color var(--sp-t);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 30px;
}
.sp-search-select:focus { border-color: var(--sp-red); }
.sp-search-input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid var(--sp-border);
  border-radius: 10px; overflow: hidden;
  background: var(--sp-white); flex: 1; min-width: 180px;
  transition: border-color var(--sp-t);
}
.sp-search-input-wrap:focus-within { border-color: var(--sp-red); }
.sp-search-input {
  flex: 1; padding: 10px 14px;
  border: none; outline: none;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: .84rem; color: var(--sp-text);
  background: transparent;
}
.sp-search-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--sp-text-3); transition: color var(--sp-t);
}
.sp-search-btn:hover { color: var(--sp-red); }
.sp-search-reset {
  padding: 10px 16px;
  border: 1.5px solid var(--sp-border);
  border-radius: 10px; font-size: .8rem; font-weight: 600;
  color: var(--sp-text-2); text-decoration: none;
  background: var(--sp-white); white-space: nowrap;
  transition: all var(--sp-t);
}
.sp-search-reset:hover { border-color: var(--sp-text); color: var(--sp-text); }

/* ── 목록 컨테이너 ── */
.sp-list-body {
  background: var(--sp-white);
  border-radius: var(--sp-r);
  border: 1px solid var(--sp-border);
  box-shadow: var(--sp-sh);
  overflow: hidden;
}

/* ════ 사용후기 리스트 ════ */
.sp-ul-item {
  border-bottom: 1px solid var(--sp-fog-2);
  transition: background var(--sp-t);
}
.sp-ul-item:last-child { border-bottom: none; }
.sp-ul-item.is-open { background: var(--sp-fog); }

.sp-ul-item__row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer;
  transition: background var(--sp-t);
}
.sp-ul-item__row:hover { background: var(--sp-fog); }

/* 상품 썸네일 + 이름 */
.sp-ul-item__product {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 80px; flex-shrink: 0;
  text-decoration: none !important;
}
.sp-ul-item__product-img {
  width: 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--sp-border); flex-shrink: 0;
  background: var(--sp-fog-2);
}
.sp-ul-item__product-img img { width:100%; height:100%; object-fit:cover; display:block; }
.sp-ul-item__product-name {
  font-size: .62rem; color: var(--sp-text-3);
  text-align: center; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  max-width: 80px;
}

/* 후기 정보 */
.sp-ul-item__info { flex: 1; min-width: 0; }
.sp-ul-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 5px; }
.sp-ul-star { font-size: .88rem; color: var(--sp-border); }
.sp-ul-star--on { color: var(--sp-gold); }
.sp-ul-badge {
  margin-left: 8px; font-size: .6rem; font-weight: 700;
  background: rgba(232,57,42,.09); color: var(--sp-red);
  border-radius: 4px; padding: 1px 6px;
}
.sp-ul-item__subject {
  font-size: .88rem; font-weight: 600; color: var(--sp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 5px;
}
.sp-ul-item__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--sp-text-3);
}
.sp-ul-dot { color: var(--sp-border); }
.sp-ul-item__thumb {
  width: 24px; height: 24px; border-radius: 4px;
  overflow: hidden; flex-shrink: 0;
}
.sp-ul-item__thumb img { width:100%; height:100%; object-fit:cover; }
.sp-ul-item__arrow { flex-shrink: 0; color: var(--sp-text-3); transition: transform var(--sp-t); }
.sp-ul-item.is-open .sp-ul-item__arrow { transform: rotate(180deg); }

/* 펼침 본문 */
.sp-ul-item__body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--sp-border);
}
.sp-ul-item__content {
  font-size: .86rem; color: var(--sp-text-2);
  line-height: 1.85; padding: 16px 0 12px;
}
.sp-ul-item__content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }

/* 후기 답변 */
.sp-ul-reply {
  background: var(--sp-fog-2);
  border-left: 3px solid var(--sp-red);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px; margin-top: 10px;
}
.sp-ul-reply__badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 700;
  color: var(--sp-red); margin-bottom: 6px;
}
.sp-ul-reply__subject { font-size: .84rem; font-weight: 700; color: var(--sp-text); margin-bottom: 3px; }
.sp-ul-reply__name { font-size: .7rem; color: var(--sp-text-3); margin-bottom: 8px; }
.sp-ul-reply__content { font-size: .82rem; color: var(--sp-text-2); line-height: 1.7; }

/* 상품 이동 버튼 */
.sp-ul-item__go-btn {
  display: inline-flex; align-items: center;
  margin-top: 14px; padding: 8px 16px;
  background: var(--sp-navy); color: #fff !important;
  border-radius: 8px; font-size: .78rem; font-weight: 700;
  text-decoration: none !important;
  transition: opacity var(--sp-t);
}
.sp-ul-item__go-btn:hover { opacity: .8; }

/* ════ 상품문의 리스트 ════ */
.sp-ql-item {
  border-bottom: 1px solid var(--sp-fog-2);
  transition: background var(--sp-t);
}
.sp-ql-item:last-child { border-bottom: none; }
.sp-ql-item.is-open { background: var(--sp-fog); }

.sp-ql-item__row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; cursor: pointer;
  transition: background var(--sp-t);
}
.sp-ql-item__row:hover { background: var(--sp-fog); }

.sp-ql-item__info { flex: 1; min-width: 0; }
.sp-ql-item__title-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
}
.sp-ql-item__subject {
  font-size: .88rem; font-weight: 600; color: var(--sp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1;
}
.sp-ql-item__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--sp-text-3);
}
.sp-ql-item__arrow { flex-shrink: 0; color: var(--sp-text-3); transition: transform var(--sp-t); }
.sp-ql-item.is-open .sp-ql-item__arrow { transform: rotate(180deg); }

.sp-ql-item__body {
  padding: 4px 20px 20px;
  border-top: 1px solid var(--sp-border);
}

/* ── 빈 상태 ── */
.sp-list-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 60px 24px; color: var(--sp-text-3); text-align: center;
}
.sp-list-empty__ico { font-size: 2.4rem; opacity: .4; }
.sp-list-empty p { font-size: .88rem; }

/* ── 페이지네이션 ── */
.sp-list-pager {
  padding: 24px 0; text-align: center;
}
.sp-list-pager .pg_wrap {
  display: flex !important; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.sp-list-pager a, .sp-list-pager strong {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 34px !important; height: 34px !important; padding: 0 8px !important;
  border: 1px solid var(--sp-border) !important; border-radius: 8px !important;
  font-size: .8rem !important; color: var(--sp-text-2) !important;
  text-decoration: none !important; background: var(--sp-white) !important;
  transition: all var(--sp-t) !important;
}
.sp-list-pager strong {
  background: var(--sp-red) !important;
  border-color: var(--sp-red) !important;
  color: #fff !important; font-weight: 700 !important;
}
.sp-list-pager a:hover {
  border-color: var(--sp-red) !important;
  color: var(--sp-red) !important;
}

/* 반응형 */
@media(max-width:640px){
  .sp-ul-item__row,
  .sp-ql-item__row { padding:14px 14px; gap:10px; }
  .sp-ul-item__body,
  .sp-ql-item__body { padding:0 14px 16px; }
  .sp-ul-item__product { width:56px; }
  .sp-ul-item__product-img { width:50px; height:50px; }
  .sp-search-form { flex-direction:column; align-items:stretch; }
  .sp-search-input-wrap { min-width:0; }
}