/* ════════════════════════════════════════════════════════════════
 * 홈페이지 메인 A안 (2026-10-08 Cowork) — index.html 만 쓴다.
 * 디자인: Claude Design 캔버스 「쉐라폰 홈페이지 개편」 → "A안 확정" (모바일 AMobile · PC APC)
 *
 * ⚠️ 공통 모양(색·글꼴·머리·꼬리·하단 메뉴·.ha-btn)은 site-a.css 에 있다. 이 파일은 그 뒤에 불러온다.
 *    홈 전용 클래스는 전부 ha- 로 시작한다.
 * ⚠️ script.js 가 찾는 이름표는 index.html 에 그대로 있다 — 여기서는 모양만 바꾼다:
 *    #hero-slider · .hero-slide · #slider-dots(.slider-dot) · #slider-prev/next · #slider-current
 *    #fast-search-input/#fast-search-btn · #live-feed-block/#live-feed-list(.lf-*) ·
 *    #homepage-recent-reviews(.home-review-*) · #global-popup*
 * ════════════════════════════════════════════════════════════════ */

/* ── 이벤트 배너 (슬라이드) ─────────────────────────── */
.ha-hero { position: relative; overflow: hidden; }
.ha-hero #hero-slider { display: flex; width: 100%; transition: transform 0.5s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .ha-hero #hero-slider { transition: none; } }
.ha-hero .hero-slide { flex: 0 0 100%; width: 100%; min-height: 0 !important; display: block; background: var(--slide-bg, var(--ha-mint-soft)); border-radius: 0 !important; }
.ha-slide-link { display: flex; align-items: stretch; height: 210px; text-decoration: none; color: inherit; position: relative; }
.ha-slide-text { flex: 1 1 0; min-width: 0; padding: 0 0 22px 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.ha-slide-label { font-size: 13px; font-weight: 700; color: var(--slide-accent, var(--ha-mint)); }
.ha-slide-title { font-size: 23px; line-height: 1.3; font-weight: 800; letter-spacing: -0.04em; color: var(--ha-ink); }
.ha-slide-title em { font-style: normal; color: var(--slide-accent, var(--ha-mint)); }
.ha-slide-sub { font-size: 13px; color: var(--ha-ink-3); }
.ha-slide-cta { display: none; }
.ha-slide-img { flex: none; width: 44%; position: relative; display: flex; align-items: center; justify-content: center; padding: 14px 12px 22px 0; }
.ha-slide-img img, .ha-slide-img svg { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(33,52,85,0.18)); }
.ha-slide-img.is-photo { padding: 0; }
.ha-slide-img.is-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%); mask-image: linear-gradient(to right, transparent 0, #000 28%); }
.ha-hero-ctrl { position: absolute; left: 20px; right: 12px; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.ha-hero-ctrl > * { pointer-events: auto; }
.ha-hero #slider-dots { position: static !important; transform: none !important; display: flex; gap: 5px; align-items: center; }
.ha-hero .slider-dot { width: 5px !important; height: 5px !important; border-radius: 3px !important; background: rgba(33,52,85,0.25) !important; cursor: pointer; transition: width 0.2s; margin: 0 !important; opacity: 1 !important; display: inline-block; }
.ha-hero .slider-dot.active { width: 18px !important; background: var(--ha-navy) !important; }
.ha-hero-count { margin-left: auto; pointer-events: none !important; font-size: 11px; font-weight: 600; color: #FFFFFF; background: rgba(25,27,31,0.45); border-radius: 10px; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.ha-hero .slider-arrow { display: none; }
@media (min-width: 769px) {
  .ha-slide-link { height: 340px; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
  .ha-slide-text { padding: 0 0 40px; gap: 12px; }
  .ha-slide-label { font-size: 15px; }
  .ha-slide-title { font-size: 40px; line-height: 1.28; letter-spacing: -0.045em; }
  .ha-slide-sub { font-size: 17px; }
  .ha-slide-cta { display: inline-flex; align-self: flex-start; margin-top: 6px; height: 48px; padding: 0 20px; border-radius: 12px; background: var(--ha-navy); align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #FFFFFF; }
  .ha-slide-img { width: 46%; padding: 24px 0 24px; }
  .ha-slide-img.is-photo { padding: 0; }
  .ha-slide-img.is-photo img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%); }
  .ha-hero-ctrl { left: max(24px, calc((100% - 1200px) / 2 + 24px)); right: auto; bottom: 24px; gap: 12px; }
  .ha-hero-count { margin-left: 0; background: none; color: var(--ha-ink-3); font-size: 13px; padding: 0; }
  .ha-hero .slider-arrow { display: inline-flex !important; position: static !important; transform: none !important; width: 36px !important; height: 36px !important; border: 1px solid rgba(33,52,85,0.18) !important; border-radius: 50% !important; background: #FFFFFF !important; align-items: center; justify-content: center; color: var(--ha-navy) !important; cursor: pointer; box-shadow: none !important; padding: 0 !important; }
}

/* ── 팔기 / 사기 ─────────────────────────────────── */
.ha-toggle { padding-top: 16px; }
.ha-toggle-in { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: #EEF1F5; }
.ha-toggle-in > * { height: 52px; border: none; border-radius: 12px; font: inherit; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ha-toggle-on { background: var(--ha-navy); color: #FFFFFF; box-shadow: 0 1px 3px rgba(33,52,85,0.18); }
.ha-toggle-off { background: transparent; color: var(--ha-ink-4); cursor: not-allowed; }
.ha-soon { font-size: 11px; font-weight: 700; color: var(--ha-mint); background: #E3F4EE; border-radius: 6px; padding: 3px 6px; letter-spacing: 0; white-space: nowrap; }

.ha-trade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 32px; padding-top: 24px; padding-bottom: 8px; align-items: start; }
@media (min-width: 900px) { .ha-trade { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 16px; } }
.ha-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .ha-col { gap: 14px; } }
.ha-col-head { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-height: 40px; }
.ha-col-head .big { font-size: 28px; line-height: 1.3; font-weight: 800; letter-spacing: -0.04em; color: var(--ha-ink); }
.ha-col-head .sub { font-size: 16px; font-weight: 400; color: var(--ha-ink-3); }
@media (max-width: 768px) {
  .ha-col-head { min-height: 0; }
  .ha-col-head .big { display: none; }
  .ha-col-head .sub { font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -0.04em; color: var(--ha-ink); }
}
.ha-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .ha-brands { gap: 12px; } }
.ha-brand { position: relative; height: 156px; padding: 14px 14px 0; border-radius: 18px; background: var(--ha-tile); display: flex; flex-direction: column; gap: 2px; text-decoration: none; overflow: hidden; transition: transform 0.15s; }
.ha-brand:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .ha-brand { transition: none; } .ha-brand:hover { transform: none; } }
.ha-brand strong { font-size: 20px; font-weight: 800; color: var(--ha-navy); letter-spacing: -0.03em; }
.ha-brand span { display: none; font-size: 13px; font-weight: 700; color: var(--ha-mint); }
.ha-brand img { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 70%; height: auto; max-height: calc(100% - 56px); object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; pointer-events: none; }
/* 「시세 보기」는 PC 에서만 (2026-10-08 사장님) */
@media (min-width: 769px) { .ha-brand span { display: block; } .ha-brand img { max-height: calc(100% - 72px); } }
@media (min-width: 900px) {
  .ha-brand { height: 232px; padding: 22px 22px 0; border-radius: 20px; gap: 4px; }
  .ha-brand strong { font-size: 26px; }
  .ha-brand span { font-size: 15px; }
  .ha-brand img { width: 62%; bottom: 12px; max-height: calc(100% - 96px); }
}
.ha-search { display: flex; gap: 8px; }
.ha-search-box { flex: 1 1 auto; min-width: 0; position: relative; }
.ha-search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.ha-search-box input { width: 100%; height: 52px; padding: 0 12px 0 46px; border: 1px solid #D1D6DB; border-radius: 14px; font: inherit; font-size: 16px; color: var(--ha-ink); background: #FFFFFF; }
.ha-search-box input::placeholder { color: var(--ha-ink-4); }
.ha-search button { flex: none; height: 52px; padding: 0 18px; border: none; border-radius: 14px; background: var(--ha-navy); color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
@media (min-width: 900px) { .ha-search-box input, .ha-search button { height: 56px; } .ha-search button { padding: 0 24px; font-size: 16px; } }
.ha-pricelist { height: 48px; padding: 0 16px; border-radius: 12px; background: var(--ha-mint-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ha-ink); text-decoration: none; }
.ha-pricelist span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ha-mint); }
.ha-pricelist span b { font-size: 18px; font-weight: 400; }

/* 폰 사기 (PC) */
.ha-buy-panel { border-radius: 20px; background: var(--ha-bg-soft); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ha-buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ha-buy-card { min-width: 0; display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: inherit; }
.ha-buy-thumb { aspect-ratio: 1 / 1; width: 100%; border-radius: 12px; background: #FFFFFF; overflow: hidden; margin-bottom: 4px; display: flex; align-items: center; justify-content: center; color: #C5CCD6; }
.ha-buy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ha-buy-grade { font-size: 12px; font-weight: 600; color: var(--ha-mint); }
.ha-buy-name { margin: 0; min-height: 2.8em; font-size: 14px; line-height: 1.4; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ha-buy-price { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ha-buy-price .off { color: var(--ha-mint); margin-right: 4px; }
.ha-buy-meta { font-size: 12px; color: var(--ha-ink-4); }
.ha-buy-empty { padding: 34px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.ha-buy-empty strong { font-size: 17px; color: var(--ha-ink); }
.ha-buy-empty span { font-size: 14px; color: var(--ha-ink-3); }
.ha-buy-foot { padding-top: 14px; border-top: 1px solid var(--ha-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ha-buy-foot span { font-size: 13px; color: var(--ha-ink-3); }
.ha-buy-foot .ha-disabled { height: 44px; padding: 0 16px; border-radius: 10px; background: #E1E5EA; color: #6B7684; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; cursor: not-allowed; }

/* ── 지금 판매 신청 중 (실시간 피드) ───────────────── */
.ha-sec { padding-top: 24px; padding-bottom: 8px; }
@media (min-width: 900px) { .ha-sec { padding-top: 40px; padding-bottom: 24px; } }
.ha-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ha-sec-head h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--ha-ink); }
@media (min-width: 900px) { .ha-sec-head h2 { font-size: 22px; } }
.ha-more { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ha-ink-3); text-decoration: none; }
.ha-live { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ha-mint); background: var(--ha-mint-soft); border-radius: 12px; padding: 4px 10px; }
.ha-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ha-mint-bright); animation: ha-blink 1.4s ease-in-out infinite; }
@keyframes ha-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .ha-live i { animation: none; } }
body.home-a #live-feed-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; background: none; border: none; }
@media (min-width: 900px) { body.home-a #live-feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.home-a .lf-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: none; border-bottom: 1px solid var(--ha-line-soft); }
body.home-a .lf-item.is-new { animation: ha-in 2.4s ease-out; }
@keyframes ha-in { 0% { background: var(--ha-mint-soft); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { body.home-a .lf-item.is-new { animation: none; } }
body.home-a .lf-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #F2F4F6; color: var(--ha-navy); display: flex; align-items: center; justify-content: center; font-size: 20px; }
body.home-a .lf-model { flex: 0 1 auto; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ha-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.home-a .lf-grade { flex: none; font-size: 11px; font-weight: 700; color: var(--ha-mint); background: var(--ha-mint-soft); padding: 2px 7px; border-radius: 6px; }
body.home-a .lf-time { margin-left: auto; flex: none; font-size: 13px; font-weight: 500; color: var(--ha-ink-4); }
body.home-a .lf-time.is-fresh { color: var(--ha-mint); }

/* ── 후기 ────────────────────────────────────────── */
.ha-reviews { margin-top: 16px; background: var(--ha-bg-soft); padding: 28px 0; }
@media (min-width: 900px) { .ha-reviews { margin-top: 24px; padding: 56px 0; } }
body.home-a #homepage-recent-reviews { display: flex !important; gap: 10px !important; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
@media (min-width: 900px) { body.home-a #homepage-recent-reviews { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; overflow: visible; } }
body.home-a .home-review-card { flex: none; width: 276px; background: #FFFFFF; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: none; border: none; scroll-snap-align: start; margin: 0; }
@media (min-width: 900px) { body.home-a .home-review-card { width: auto; padding: 22px; border-radius: 16px; } }
body.home-a .home-review-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
body.home-a .home-review-device { font-size: 13px; font-weight: 700; color: var(--ha-navy); background: none; padding: 0; }
body.home-a .home-review-stars { font-size: 11px; letter-spacing: 1px; }
body.home-a .home-review-body { margin: 0; }
body.home-a .home-review-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ha-ink-2); }
body.home-a .home-review-footer { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: none; font-size: 12px; color: var(--ha-ink-4); }
body.home-a .home-review-img-box { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex: none; }
body.home-a .home-review-img { width: 100%; height: 100%; object-fit: cover; }
body.home-a .home-review-date, body.home-a .home-review-author { font-size: 12px; color: var(--ha-ink-4); }

/* ── 자주 묻는 질문 ──────────────────────────────── */
.ha-faq { display: flex; flex-wrap: wrap; gap: 20px 56px; padding-top: 28px; padding-bottom: 32px; }
@media (min-width: 900px) { .ha-faq { padding-top: 64px; padding-bottom: 64px; } }
.ha-faq-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ha-faq-side h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
@media (min-width: 900px) { .ha-faq-side h2 { font-size: 26px; } }
.ha-faq-side p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ha-ink-3); }
.ha-faq-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ha-faq-list { flex: 3 1 520px; min-width: 0; border-top: 2px solid var(--ha-navy); }
.ha-faq-list details { border-bottom: 1px solid var(--ha-line); }
.ha-faq-list summary { list-style: none; cursor: pointer; padding: 16px 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ha-ink); }
.ha-faq-list summary::-webkit-details-marker { display: none; }
.ha-faq-list summary svg { flex: none; transition: transform 0.2s; }
.ha-faq-list details[open] summary svg { transform: rotate(180deg); }
.ha-faq-list p { margin: 0; padding: 0 2px 16px; font-size: 14px; line-height: 1.65; color: var(--ha-ink-3); }
@media (min-width: 900px) { .ha-faq-list summary { padding: 20px 4px; font-size: 17px; } .ha-faq-list p { font-size: 15px; padding: 0 4px 22px; } }

@media (max-width: 768px) {
  /* 이벤트 배너 */
  .ha-slide-link { height: 176px; }
  .ha-slide-text { padding: 0 0 20px 16px; gap: 6px; }
  .ha-slide-label { font-size: 12px; }
  .ha-slide-title { font-size: 20px; line-height: 1.3; }
  .ha-slide-sub { font-size: 12px; }
  .ha-slide-img { padding: 12px 10px 20px 0; }
  .ha-hero-ctrl { left: 16px; right: 10px; bottom: 10px; }
  .ha-hero-count { font-size: 10px; padding: 2px 7px; }

  /* 폰 팔기 / 폰 사기 */
  .ha-toggle { padding-top: 12px; }
  .ha-toggle-in { border-radius: 14px; padding: 3px; }
  .ha-toggle-in > * { height: 44px; font-size: 15px; border-radius: 11px; }
  .ha-soon { font-size: 10px; padding: 2px 5px; }
  .ha-trade { padding-top: 18px; gap: 18px; }
  .ha-col { gap: 10px; }
  .ha-col-head .sub { font-size: 21px; }

  /* 아이폰 · 갤럭시 */
  .ha-brand { height: 132px; padding: 12px 12px 0; border-radius: 16px; }
  .ha-brand strong { font-size: 17px; }
  .ha-brand img { width: 66%; bottom: 7px; max-height: calc(100% - 46px); }

  /* 검색 · 시세표 */
  .ha-search-box input { height: 46px; padding-left: 42px; border-radius: 12px; }   /* 글자 16px 는 그대로 — 줄이면 아이폰에서 누를 때 화면이 확대된다 */
  .ha-search-box input::placeholder { font-size: 14px; }
  .ha-search-box svg { left: 14px; width: 18px; height: 18px; }
  .ha-search button { height: 46px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
  .ha-pricelist { height: 42px; font-size: 14px; border-radius: 11px; padding: 0 14px; }
  .ha-pricelist span { font-size: 11px; }

  /* 지금 판매 신청 중 */
  .ha-sec { padding-top: 20px; }
  .ha-sec-head h2 { font-size: 17px; }
  .ha-live { font-size: 11px; padding: 3px 9px; }
  body.home-a .lf-item { padding: 8px 0; gap: 10px; }
  body.home-a .lf-ico { width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
  body.home-a .lf-model { font-size: 14px; }
  body.home-a .lf-time { font-size: 12px; }
  body.home-a .lf-grade { font-size: 10px; }

  /* 후기 */
  .ha-reviews { padding: 22px 0; margin-top: 12px; }
  body.home-a .home-review-card { width: 244px; padding: 14px; }
  body.home-a .home-review-text { font-size: 13px; }
  body.home-a .home-review-device { font-size: 12px; }

  /* 자주 묻는 질문 */
  .ha-faq { padding-top: 22px; padding-bottom: 26px; gap: 16px; }
  .ha-faq-side h2 { font-size: 17px; }
  .ha-faq-side p { font-size: 13px; }
  .ha-faq-list summary { padding: 14px 2px; font-size: 14px; }
  .ha-faq-list p { font-size: 13px; }
}

/* ── 공지 팝업 (2026-10-08) — 파란 머리 대신 흰 카드 + 민트 배지 + 네이비 버튼 ── */
#global-popup { font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: var(--ha-ink); }
#global-popup .gp-head { flex-shrink: 0; padding: 22px 20px 0; text-align: center; }
#global-popup .gp-badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 13px; background: var(--ha-mint-soft); color: var(--ha-mint); font-size: 12px; font-weight: 700; letter-spacing: 0; }
#global-popup .gp-cd { gap: 6px; justify-content: center; margin-top: 12px; }
#global-popup .gp-cd > div { width: 52px; padding: 6px 0 5px; border-radius: 10px; background: var(--ha-navy); display: flex; flex-direction: column; align-items: center; gap: 1px; }
#global-popup .gp-cd b { font-size: 17px; font-weight: 800; color: #FFFFFF; line-height: 1.15; font-variant-numeric: tabular-nums; }
#global-popup .gp-cd span { font-size: 11px; color: var(--ha-navy-sub); }
#global-popup .gp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 22px 20px; text-align: center; }
#global-popup #global-popup-title { margin: 0 0 10px; font-size: 18px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; color: var(--ha-ink); word-break: keep-all; }
#global-popup #global-popup-content { font-size: 14px; line-height: 1.65; color: var(--ha-ink-3); word-break: keep-all; }
#global-popup #global-popup-content b, #global-popup #global-popup-content strong { color: var(--ha-ink); }
#global-popup #global-popup-content a { color: var(--ha-mint); font-weight: 600; }
#global-popup #global-popup-content img { max-width: 100%; height: auto; border-radius: 12px; }
#global-popup .gp-cta { flex-shrink: 0; justify-content: center; padding: 0 20px 16px; }
#global-popup #global-popup-link-btn { width: 100%; height: 48px; border: none; border-radius: 12px; background: var(--ha-navy); color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
#global-popup .gp-foot { flex-shrink: 0; display: flex; border-top: 1px solid var(--ha-line); }
#global-popup .gp-foot button { flex: 1 1 0; height: 50px; border: none; background: #FFFFFF; font: inherit; cursor: pointer; }
#global-popup .gp-foot button:first-child { border-right: 1px solid var(--ha-line); font-size: 13px; font-weight: 500; color: var(--ha-ink-4); }
#global-popup .gp-foot button:last-child { font-size: 14px; font-weight: 700; color: var(--ha-navy); }
@media (max-width: 768px) {
  #global-popup .gp-head { padding-top: 18px; }
  #global-popup #global-popup-title { font-size: 16px; }
  #global-popup #global-popup-content { font-size: 13px; }
  #global-popup .gp-body { padding: 10px 18px 16px; }
  #global-popup .gp-foot button { height: 46px; }
}

/* 「지금 판매 신청 중」 기종 사진 (2026-10-08) — 흰 바탕 원본이 섞여 있어 multiply 로 회색 칸에 녹인다 */
body.home-a .lf-ico.has-thumb img { width: 40px; height: 40px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 768px) { body.home-a .lf-ico.has-thumb img { width: 34px; height: 34px; } }

/* ── 아이폰 팔기 · 갤럭시 팔기 버튼 (2026-10-09 사장님) ──
 *  이름을 "○○ 팔기"로, 오른쪽 위에 네이비 화살표를 달아 누르는 버튼으로 보이게. 글자는 더 크고 진하게.
 *  "어떤 폰을 파세요?" 제목은 뺐다 — 모바일은 위 토글(내 폰 팔기)이 제목 역할, PC 는 "내 폰 팔기" 한 줄. */
.ha-brand { border: 1px solid #E1E7EF; }
.ha-brand strong { font-size: 21px; color: var(--ha-navy); letter-spacing: -0.04em; padding-right: 36px; }
.ha-go { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--ha-navy); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.ha-go svg { width: 15px; height: 15px; }
.ha-brand:hover .ha-go { background: #182742; }
@media (min-width: 900px) {
  .ha-brand strong { font-size: 28px; padding-right: 48px; }
  .ha-go { top: 20px; right: 20px; width: 40px; height: 40px; }
  .ha-go svg { width: 19px; height: 19px; }
}
@media (max-width: 768px) {
  .ha-col-head.is-sell { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ha-brand strong { font-size: 18px; padding-right: 32px; }
  .ha-go { top: 11px; right: 11px; width: 26px; height: 26px; }
  .ha-go svg { width: 13px; height: 13px; }
  .ha-trade { padding-top: 14px; }
}
