/* =============================================================================
   TEMO 태모커머스 - 새 메인(v4) 스타일
   -----------------------------------------------------------------------------
   · 이 파일은 css/main.css, css/shop.css 뒤에 불러옵니다(마지막).
   · 앞의 두 파일에서 충돌하던 리셋(headers/body padding/*)과 색만 이 파일에서 정리합니다.
   · 테모커머스 style.css 의 헤더(.new-header__*)·히어로(.hero-*) 규칙을 부트스트랩
     없이 다시 쓴 것이 2~4장이고, 5장부터는 새 메인의 색·가격·푸터 보정입니다.
   · 클래스 이름(sf-*)은 그대로 두었습니다. js/script.js, js/shop-ui.js 가 잡는
     id(#sfHead #sfBurger #sfNav #sfHeroSearchForm …)도 그대로입니다.
   ============================================================================= */

/* ---------------------------------------------------------------- 0. 토큰 */
:root {
  --v4-ink: #111111;
  --v4-ink-2: #333333;
  --v4-body: #555555;
  --v4-muted: #727780;
  --v4-muted-2: #8f9198;
  --v4-line: #e5e5e5;
  --v4-line-2: #eff0f2;
  --v4-bg: #ffffff;
  --v4-bg-2: #f6f7f9;
  --v4-red: #ea1917;
  --v4-wrap: 1400px;
  --v4-pad: 32px;
  --v4-head-h: 100px;

  /* shop.css 토큰을 무채색 중심으로 */
  --sf-brand: #111111;
  --sf-brand-dark: #333333;
  --sf-brand-soft: #f2f3f5;
  --sf-ink: #111111;
  --sf-ink-2: #333333;
  --sf-body: #555555;
  --sf-muted: #727780;
  --sf-line: #e5e5e5;
  --sf-line-soft: #eff0f2;
  --sf-radius: 8px;
  --sf-radius-sm: 6px;
  --sf-red: #ea1917;
  --sf-wrap: 1400px;
}

/* ------------------------------------------------- 1. 리셋·여백 충돌 정리 */
body.sf-page {
  background: var(--v4-bg) !important;
  color: var(--v4-ink);
  padding-bottom: 0 !important;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
body.sf-page h1,
body.sf-page h2,
body.sf-page h3,
body.sf-page h4 {
  line-height: 1.32;
  letter-spacing: -0.03em;
}
/* main.css 의 header{sticky; blur; 그림자} 규칙이 새 헤더에 걸리지 않게 */
header.v4-head {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
}
.v4-inner {
  width: 100%;
  max-width: var(--v4-wrap);
  margin: 0 auto;
  padding: 0 var(--v4-pad);
}

/* -------------------------------------------------------------- 2. 헤더 */
.v4-head__util {
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-head__util-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.v4-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--v4-ink);
}
.v4-logo__mark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.v4-logo__sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--v4-muted-2);
}
.v4-util {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-util a {
  font-size: 13px;
  font-weight: 400;
  color: #444444;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.15s;
}
.v4-util a:hover { color: var(--v4-ink); }
.v4-util a.is-strong {
  color: var(--v4-ink);
  font-weight: 600;
}

.v4-head__gnb { position: relative; }
.v4-head__gnb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 60px;
}
.v4-gnb__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-gnb__item { position: static; }
.v4-gnb__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 170px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.v4-gnb__item:hover > .v4-gnb__link,
.v4-gnb__item:focus-within > .v4-gnb__link,
.v4-gnb__item.is-open > .v4-gnb__link {
  background: var(--v4-ink);
  color: #ffffff;
  font-weight: 700;
}
.v4-gnb__item.is-current > .v4-gnb__link { font-weight: 700; }

/* 전체 폭 패널 */
.v4-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  border-top: 1px solid var(--v4-line-2);
  border-bottom: 1px solid var(--v4-line);
  box-shadow: 0 20px 30px -22px rgba(0, 0, 0, 0.25);
  z-index: 950;
}
.v4-gnb__item:hover > .v4-panel,
.v4-gnb__item:focus-within > .v4-panel,
.v4-gnb__item.is-open > .v4-panel {
  display: block;
  animation: v4PanelIn 0.16s ease-out;
}
@keyframes v4PanelIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.v4-panel__in { padding-top: 26px; padding-bottom: 30px; }
.v4-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v4-line-2);
  margin-bottom: 18px;
}
.v4-panel__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}
.v4-panel__title span {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  margin-left: 10px;
  letter-spacing: 0;
}
.v4-panel__all {
  font-size: 13px;
  font-weight: 500;
  color: var(--v4-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.v4-panel__all:hover { color: var(--v4-ink); }
.v4-panel__all svg { width: 12px; height: 12px; }

.v4-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v4-tile > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--v4-ink);
  transition: background-color 0.15s;
}
.v4-tile > a:hover { background: var(--v4-bg-2); }
.v4-tile__ico {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: #6b7075;
}
.v4-tile__ico svg { width: 30px; height: 30px; }
.v4-tile > a:hover .v4-tile__ico { color: var(--v4-ink); }
.v4-tile__name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
  line-height: 1.35;
}
.v4-tile__desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--v4-muted-2);
  line-height: 1.4;
  margin-top: -4px;
}

/* GNB 우측 도구 */
.v4-gnb__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.v4-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 236px;
  height: 42px;
  padding: 0 14px 0 18px;
  border: 0;
  border-radius: 21px;
  background: #f4f4f4;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: left;
}
.v4-search-btn:hover { background: #ebebeb; color: var(--v4-ink); }
.v4-search-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.v4-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  text-decoration: none;
  white-space: nowrap;
}
.v4-phone svg { width: 18px; height: 18px; }
.v4-phone:hover { color: var(--v4-red); }
.v4-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.v4-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--v4-ink);
  transition: transform 0.2s, opacity 0.2s;
}
.v4-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v4-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.v4-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------- 3. 히어로 */
.v4-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3805 / 780;
  min-height: 340px;
  max-height: 460px;
  overflow: hidden;
  background: #f2f3f5;
}
.v4-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.v4-slide.is-active { opacity: 1; visibility: visible; }
.v4-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.v4-slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.v4-slide__copy { max-width: 560px; }
.v4-slide__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
  margin-bottom: 14px;
}
.v4-slide__title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.035em;
  color: var(--v4-ink);
}
.v4-slide__sub {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #444444;
}
.v4-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  height: 46px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--v4-ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-color 0.15s;
}
.v4-slide__cta:hover { background: #000000; color: #ffffff; }
.v4-slide__cta svg { width: 14px; height: 14px; }

/* 사진이 밝아 왼쪽 글씨가 묻히지 않도록 얕은 흰 그라데이션 */
.v4-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 26%, rgba(255, 255, 255, 0.35) 44%, rgba(255, 255, 255, 0) 58%);
}

.v4-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v4-hero__arrow:hover { background: #ffffff; }
.v4-hero__arrow svg { width: 18px; height: 18px; }
.v4-hero__arrow--prev { left: 24px; }
.v4-hero__arrow--next { right: 24px; }

.v4-hero__ctrl {
  position: absolute;
  right: max(24px, calc((100% - var(--v4-wrap)) / 2 + var(--v4-pad)));
  bottom: 22px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
}
.v4-hero__count {
  font-size: 12px;
  font-weight: 500;
  color: #6b6b6b;
  letter-spacing: 0.02em;
}
.v4-hero__count b { color: var(--v4-ink); font-weight: 700; }
.v4-hero__bars { display: flex; gap: 6px; }
.v4-hero__bar {
  position: relative;
  width: 34px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(17, 17, 17, 0.18);
  overflow: hidden;
  border-radius: 2px;
}
.v4-hero__bar > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--v4-ink);
  display: block;
}
.v4-hero__bar.is-active > i { animation: v4Bar 5s linear forwards; }
.v4-hero.is-paused .v4-hero__bar.is-active > i { animation-play-state: paused; }
@keyframes v4Bar { from { width: 0; } to { width: 100%; } }
.v4-hero__toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v4-hero__toggle svg { width: 10px; height: 10px; }

/* -------------------------------------------------------- 4. 검색 밴드 */
.v4-search {
  background: #ffffff;
  border-bottom: 1px solid var(--v4-line-2);
  padding: 22px 0 20px;
}
.v4-search__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.v4-search__left { flex: 1 1 auto; min-width: 0; }
.v4-search__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.v4-search__label strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
}
.v4-search__label span {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--v4-muted-2);
}
.v4-search .sf-searchbar-form {
  max-width: 640px;
  border-radius: 6px;
}
.v4-search .sf-searchbar-form input {
  height: 46px;
  font-size: 14.5px;
}
.v4-search .sf-searchbar-submit {
  height: 38px;
  border-radius: 4px !important;
  background: var(--v4-ink) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v4-search .sf-searchbar-submit svg { width: 14px; height: 14px; }
.v4-search .sf-quickchips { margin-top: 10px; }
.v4-search__stats {
  flex: 0 0 auto;
  display: flex;
  gap: 0;
  border-left: 1px solid var(--v4-line-2);
  padding-left: 32px;
}
.v4-search__stats > div {
  padding: 0 24px;
  border-right: 1px solid var(--v4-line-2);
  text-align: left;
}
.v4-search__stats > div:last-child { border-right: 0; padding-right: 0; }
.v4-search__stats strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v4-ink);
  white-space: nowrap;
}
.v4-search__stats span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--v4-muted-2);
  white-space: nowrap;
}

/* -------------------------------------------------- 5. 섹션 리듬 · 타이포 */
.sf-sec { padding: 64px 0; }
.sf-sec--soft { background: var(--v4-bg-2); }
.sf-sec--tint { background: var(--v4-bg-2); }
.sf-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--v4-muted-2);
  text-transform: uppercase;
}
.sf-sec-head { margin-bottom: 24px; align-items: flex-end; }
.sf-sec-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--v4-ink);
  margin: 8px 0 0;
}
.sf-sec-head p {
  font-size: 14px;
  color: var(--v4-body);
  margin-top: 8px;
}
.sf-note { font-size: 12.5px; color: var(--v4-muted-2); }

/* 버튼: 파랑 그라데이션 제거 · 단색 · 각진 모서리 */
.sf-btn {
  border-radius: 4px;
  box-shadow: none !important;
  font-weight: 700;
}
.sf-btn:hover { transform: none; }
.sf-btn-primary { background: var(--v4-ink); color: #fff; box-shadow: none; }
.sf-btn-primary:hover { background: #000; color: #fff; }
.sf-btn-dark { background: var(--v4-ink); color: #fff; }
.sf-btn-dark:hover { background: #000; color: #fff; }
.sf-btn-ghost { border-color: var(--v4-line); background: #fff; color: var(--v4-ink); border-radius: 4px; }
.sf-btn-ghost:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.sf-btn-smart {
  background: #f2f3f5;
  color: var(--v4-ink);
  border-color: var(--v4-line-2);
}
.sf-btn-smart:hover { background: #e9eaec; }
.sf-btn-phone { background: var(--v4-ink); color: #fff; }
.sf-chip {
  border-radius: 4px;
  border-color: var(--v4-line);
  font-weight: 500;
}
.sf-chip:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.sf-chip.is-active { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }

/* 아이콘 크기 (이모지를 SVG 로 바꾼 자리) */
.sf-btn svg, .sf-cta-phone svg, .sf-link-phone svg { width: 15px; height: 15px; flex: 0 0 auto; }
.sf-helper-ico svg { width: 17px; height: 17px; }
.sf-hub-tab-ico svg { width: 22px; height: 22px; }
.trust-icon svg { width: 28px; height: 28px; color: var(--v4-ink); }
.trust-card.highlight .trust-icon svg { color: #fff; }
.live-badge svg { width: 12px; height: 12px; }
.sf-partner-pay-label svg { width: 15px; height: 15px; vertical-align: -2px; }
.sf-searchbar-icon svg, .sf-modal-x svg, .sf-quickchips svg { width: 16px; height: 16px; }
.sf-hub-tab-arrow svg { width: 18px; height: 18px; }
/* 새 메인 링크 색 (body.sf-page a 색 상속 규칙보다 우선) */
body.sf-page .v4-slide__cta,
body.sf-page .v4-slide__cta:hover { color: #fff; }
body.sf-page .v4-guide__card,
body.sf-page .v4-tile > a,
body.sf-page .v4-panel__all,
body.sf-page .v4-gnb__link,
body.sf-page .v4-gnb__link:hover { color: var(--v4-ink); }
body.sf-page .v4-gnb__item:hover > .v4-gnb__link,
body.sf-page .v4-gnb__item:focus-within > .v4-gnb__link,
body.sf-page .v4-gnb__item.is-open > .v4-gnb__link { color: #fff; }
body.sf-page .v4-foot__links a,
body.sf-page .v4-foot__info a { color: #444; }

/* 허브 탭 */
.sf-hub-tab { border-radius: 8px; box-shadow: none; }
.sf-hub-tab.is-active { border-color: var(--v4-ink); }
.sf-hub-tab-ico { color: #9aa0a6; background: #f4f5f7; border-radius: 8px; }
.sf-hub-tab.is-active .sf-hub-tab-ico { background: var(--v4-ink); color: #ffffff; }
.sf-carrier { border-radius: 8px; box-shadow: none; }
.sf-carrier:hover { border-color: var(--v4-ink); }
.sf-card {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--v4-line-2);
}
.sf-card:hover { box-shadow: none; border-color: var(--v4-line); }
.sf-card-flag { border-radius: 2px; background: var(--v4-ink); }
.sf-badge { border-radius: 2px; }
.sf-card-actions .sf-btn { border-radius: 4px; }

/* 지원금 라이브 바 / WHY 카드 */
.trust-card { border-radius: 8px; box-shadow: none; }
.trust-card.highlight { background: #111; }
.trust-icon { color: var(--v4-ink); }
.trust-card.highlight .trust-icon { color: #fff; }
.review-card { border-radius: 8px; box-shadow: none; border: 1px solid var(--v4-line-2); }
.policy-bar { border-radius: 8px; }

/* ------------------------------------------------- 6. 가격 2단 표기 */
.v4-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v4-price__label {
  font-size: 11px;
  font-weight: 400;
  color: var(--v4-muted-2);
  letter-spacing: 0;
  line-height: 1.2;
}
.v4-price__row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1.2;
}
.v4-price__num {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #a8acb2;          /* 정가 = 회색 */
}
.v4-price__row.is-card .v4-price__num {
  font-weight: 800;
  color: var(--v4-red);     /* 제휴카드 적용가 = 강조색 */
}
.v4-price__unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--v4-muted-2);
}
.v4-price__row.is-card .v4-price__unit { color: #c05a59; }
.v4-price__cond {
  font-size: 11px;
  font-weight: 400;
  color: var(--v4-muted-2);
  line-height: 1.3;
}
.v4-price__ask {
  font-size: 15px;
  font-weight: 700;
  color: var(--v4-ink);
}
/* 검색 결과 미니카드에서도 같은 구조 유지 */
.sf-card--mini .v4-price__num { font-size: 18px; }

/* --------------------------------------------- 7. 가이드 · 견적 계산기 섹션 */
.v4-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.v4-guide__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border: 1px solid var(--v4-line-2);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: var(--v4-ink);
  transition: border-color 0.15s;
}
.v4-guide__card:hover { border-color: var(--v4-ink); }
.v4-guide__ico { color: #9aa0a6; }
.v4-guide__ico svg { width: 28px; height: 28px; }
.v4-guide__card:hover .v4-guide__ico { color: var(--v4-ink); }
.v4-guide__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.v4-guide__desc {
  font-size: 13.5px;
  color: var(--v4-body);
  line-height: 1.6;
  margin: 0;
}
.v4-guide__more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v4-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v4-guide__more svg { width: 12px; height: 12px; }

/* 파트너 흐름도 (분양·제휴) */
.v4-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.v4-flow li {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--v4-line-2);
  border-radius: 8px;
  background: #fff;
}
.v4-flow__step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--v4-muted-2);
}
.v4-flow__name {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v4-ink);
}
.v4-flow__desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--v4-body);
  line-height: 1.5;
}
.v4-flow__badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 2px;
  background: #f2f3f5;
  font-size: 11px;
  font-weight: 600;
  color: var(--v4-muted);
}

/* ---------------------------------------------------------- 8. 푸터 */
.v4-foot {
  background: #ffffff;
  border-top: 1px solid var(--v4-line);
  padding: 34px 0 44px;
}
.v4-foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-foot__links a {
  font-size: 13px;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
}
.v4-foot__links a:hover { color: var(--v4-ink); }
.v4-foot__links a.is-privacy { font-weight: 700; color: var(--v4-ink); }
.v4-foot__pending {
  font-size: 13px;
  font-weight: 500;
  color: #9aa0a6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.v4-foot__pending em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 2px;
  background: #f2f3f5;
  color: #8f9198;
}
.v4-foot__body {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
}
.v4-foot__brand strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--v4-ink);
}
.v4-foot__brand p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
}
.v4-foot__info {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.75;
  color: #666666;
}
.v4-foot__info p { margin: 0; }
.v4-foot__info strong { color: #333333; font-weight: 600; }
.v4-foot__info a { color: #333333; text-decoration: none; font-weight: 600; }
.v4-foot__copy {
  margin-top: 10px !important;
  font-size: 12px;
  color: #9aa0a6;
}
.v4-foot__notice {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--v4-line-2);
  font-size: 12px;
  line-height: 1.7;
  color: #9aa0a6;
}

/* ------------------------------------------- 9. 모바일 메뉴 · 플로팅 도구 */
.v4-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  border-left: 1px solid var(--v4-line);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 18px 20px 32px;
  display: none;
}
.v4-drawer.is-open { transform: translateX(0); }
.v4-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v4-line-2);
}
.v4-drawer__head strong { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.v4-drawer__close {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--v4-ink);
}
.v4-drawer__group { padding: 16px 0; border-bottom: 1px solid var(--v4-line-2); }
.v4-drawer__group > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--v4-muted-2);
  margin-bottom: 8px;
}
.v4-drawer__group a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--v4-ink);
  text-decoration: none;
}
.v4-drawer__cta {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.v4-drawer__cta a,
.v4-drawer__cta button {
  flex: 1;
  height: 46px;
  border: 1px solid var(--v4-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--v4-ink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.v4-drawer__cta a.is-solid,
.v4-drawer__cta button.is-solid { background: var(--v4-ink); color: #fff; }

/* 우측 고정 상담 도구: 색만 무채색으로 */
.sf-helper { box-shadow: none; border-color: var(--v4-line-2); padding: 6px; gap: 2px; }
.sf-helper-item { width: 56px; padding: 8px 2px; border-radius: 8px; }
.sf-helper-label { font-size: 10px; white-space: nowrap; }
.sf-helper-item--smart { background: #f2f3f5; color: var(--v4-ink); }
.sf-helper-item--smart:hover { background: #e9eaec; color: var(--v4-ink); }
.sf-helper-item--consult { background: var(--v4-ink); color: #fff; }
.sf-helper-item--consult:hover { background: #000; color: #fff; }
.sf-helper-item { border-radius: 0; }

/* ------------------------------------------------------ 10. 반응형 */
@media (max-width: 1240px) {
  :root { --v4-pad: 20px; }
  .v4-gnb__link { min-width: 0; padding: 0 16px; font-size: 15px; }
  .v4-search-btn { width: 190px; }
  .v4-phone { font-size: 17px; }
  .v4-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .v4-head__util { display: none; }
  .v4-gnb { display: none; }
  .v4-search-btn,
  .v4-phone { display: none; }
  .v4-drawer { display: block; }
  .v4-head__gnb-in { height: 60px; }
  .v4-burger { display: inline-flex; }
  .v4-head__gnb-in::before {
    content: "태모커머스";
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--v4-ink);
  }
  .v4-search { padding: 16px 0; }
  .v4-search__in { flex-direction: column; align-items: stretch; gap: 16px; }
  .v4-search__label { display: block; }
  .v4-search__label strong { display: block; }
  .v4-search__label span { display: block; margin-top: 4px; font-size: 12px; }
  .v4-search__stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--v4-line-2); padding-top: 14px; }
  .v4-search__stats > div { padding: 0 16px 0 0; }
  .v4-search__stats > div:first-child { padding-left: 0; }
  .v4-search__stats strong { font-size: 14px; }
  .v4-search__stats span { font-size: 11px; }
  .v4-guide { grid-template-columns: 1fr; }
  .v4-flow { grid-template-columns: 1fr 1fr; }
  .v4-foot__body { flex-direction: column; gap: 18px; }
}

@media (max-width: 768px) {
  .v4-hero {
    aspect-ratio: 768 / 1000;
    min-height: 520px;
    max-height: 620px;
  }
  .v4-slide__media { object-position: center top; }
  .v4-slide__inner { align-items: flex-start; padding-top: 40px; }
  .v4-slide__copy { max-width: 100%; }
  .v4-slide__title { font-size: 25px; line-height: 1.38; }
  .v4-slide__sub { font-size: 13.5px; }
  .v4-slide__cta { height: 42px; font-size: 14px; margin-top: 16px; }
  .v4-hero__shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 34%, rgba(255, 255, 255, 0) 62%);
  }
  .v4-hero__arrow { display: none; }
  .v4-hero__ctrl { right: 16px; bottom: 14px; }
  .v4-hero__bar { width: 24px; }
  .sf-sec { padding: 40px 0; }
  .sf-sec-head { align-items: flex-start; }
  .sf-sec-head h2 { font-size: 20px; }
  .v4-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v4-guide__card { padding: 20px 18px; }
  .v4-flow { grid-template-columns: 1fr; }
  .v4-foot { padding: 24px 0 90px; }
  .v4-foot__links { gap: 12px; }
  .v4-foot__links a,
  .v4-foot__pending { font-size: 12px; }
}


/* 버튼 텍스트 색: body.sf-page a 색 상속 규칙보다 우선 (단색 버튼 글씨가 묻히던 문제) */
body.sf-page a.sf-btn-primary,
body.sf-page a.sf-btn-dark,
body.sf-page a.sf-btn-phone,
body.sf-page a.sf-btn-primary:hover,
body.sf-page a.sf-btn-dark:hover,
body.sf-page a.sf-btn-phone:hover,
body.sf-page .v4-slide__cta,
body.sf-page .v4-product__actions > .is-solid,
body.sf-page .v4-detail__actions > .is-solid,
body.sf-page .v4-done__act > .is-solid,
body.sf-page .sf-btn.sf-cta-phone { color: #fff; }
body.sf-page a.sf-btn-ghost,
body.sf-page .v4-product__actions > *:not(.is-solid),
body.sf-page .v4-detail__actions > *:not(.is-solid),
body.sf-page .v4-done__act > *:not(.is-solid) { color: var(--v4-ink); }
body.sf-page button.v4-submit, .v4-submit { color: #fff; }
#orderDone { scroll-margin-top: 110px; }
/* 상품 사진(흰 배경)이 회색 박스 안에서 따로 떠 보이지 않게 */
.v4-product__media { background: #ffffff; }
.v4-detail__media { background: #ffffff; border: 1px solid var(--v4-line-2); }

/* 지원금 비교표 · TOP3 카드: 통신사 색 띠 → 무채색, 그림자 제거 */
.clean-policy-table td.carrier-cell[data-carrier] {
  color: #333 !important;
  border-left: 3px solid #d5d7db !important;
  background: #fafbfc;
  font-weight: 700 !important;
}
.clean-policy-table tr.carrier-group-end td { border-bottom: 1px solid var(--v4-line) !important; box-shadow: none; }
.clean-policy-table td.sup-highlight { color: #111 !important; font-weight: 700 !important; }
.clean-policy-table td.usim-highlight { color: var(--v4-red) !important; font-weight: 800 !important; }
.speed-block-wrap { border-radius: 8px !important; box-shadow: none !important; }
.benefit-rank-card { border-radius: 8px !important; box-shadow: none !important; border: 1px solid var(--v4-line-2) !important; }
.benefit-rank-card.rank-1 { border-color: var(--v4-ink) !important; }
.benefit-rank-card .rank-amount { color: var(--v4-red) !important; }
.top-benefit-cards-grid { gap: 14px; }
/* 사은품 카드: 부담금 체크 줄 정리 */
.gift-card { border-radius: 8px !important; }
.gift-pay-box > div[style*="통신사별 부담금"] { font-size: 12px !important; color: #8f9198 !important; font-weight: 600 !important; }


/* 단색 버튼 글씨(button 태그 포함) — 검정 배경 위 글씨가 묻히지 않게 */
body.sf-page .sf-btn-primary,
body.sf-page .sf-btn-primary:hover,
body.sf-page button.sf-btn-primary { color: #fff; }
body.sf-page .sf-btn-dark,
body.sf-page .sf-btn-phone { color: #fff; }
/* 상담 CTA 밴드: 기업형 그라데이션 → 단색 */
.sf-cta { background: var(--v4-ink) !important; border-radius: 8px !important; }
.sf-cta::after { display: none !important; }
.sf-cta h2 { font-size: 24px !important; font-weight: 700 !important; letter-spacing: -.03em; }
.sf-cta p { font-size: 14px !important; color: rgba(255,255,255,.75) !important; }
.sf-cta .sf-eyebrow { color: rgba(255,255,255,.6) !important; }
.sf-cta-phone { border-radius: 4px !important; }
/* 후기 좌우 화살표: 글자 대신 CSS 화살표 */
.sf-page .review-arrow { font-size: 0 !important; }
.sf-page .review-arrow::after { font-size: 20px; line-height: 1; color: var(--v4-ink); }
.sf-page .review-prev::after { content: '\2039'; }
.sf-page .review-next::after { content: '\203A'; }

/* =============================================================================
   하위 페이지 (가전 / 인터넷·TV·유심 / 특별혜택 / 상세 / 주문)
   ============================================================================= */
.v4-page { padding: 34px 0 64px; }
.v4-crumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #9aa0a6; margin-bottom: 16px;
}
.v4-crumb a { color: #8f9198; text-decoration: none; }
.v4-crumb a:hover { color: var(--v4-ink); }
.v4-crumb span { color: #d5d7db; }
.v4-page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--v4-line); margin-bottom: 26px;
}
.v4-page-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; color: var(--v4-ink); margin: 0; }
.v4-page-head p { margin: 8px 0 0; font-size: 14px; color: var(--v4-body); max-width: 720px; line-height: 1.6; }
.v4-page-head .v4-page-head__act { flex: 0 0 auto; display: flex; gap: 8px; }

.v4-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.v4-tab {
  height: 44px; padding: 0 30px; border: 1px solid var(--v4-line);
  background: #fff; border-radius: 4px; font-size: 15px; font-weight: 600;
  color: #666; letter-spacing: -0.02em;
}
.v4-tab:hover { border-color: var(--v4-ink); color: var(--v4-ink); }
.v4-tab.is-active { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; font-weight: 700; }
.v4-tab-note { font-size: 12.5px; color: var(--v4-muted-2); margin: 0 0 20px; }

.v4-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v4-product {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--v4-line-2); border-radius: 8px; overflow: hidden;
}
.v4-product:hover { border-color: var(--v4-line); }
.v4-product__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1;
  background: #f6f7f9; padding: 16px;
}
.v4-product__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-product__body { display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 18px; flex: 1; }
.v4-product__brand { font-size: 11.5px; font-weight: 600; color: #8f9198; letter-spacing: 0.01em; }
.v4-product__name {
  font-size: 14.5px; font-weight: 600; color: var(--v4-ink);
  letter-spacing: -0.025em; line-height: 1.42; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v4-product__model { font-size: 11.5px; color: #9aa0a6; }
.v4-product__price { margin-top: auto; padding-top: 12px; }
.v4-product__price .v4-price { gap: 1px; }
.v4-product__actions { display: flex; gap: 6px; margin-top: 12px; }
.v4-product__actions > * {
  flex: 1; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-product__actions > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-product__actions > *:hover { border-color: var(--v4-ink); }

.v4-empty { padding: 40px 0; text-align: center; color: var(--v4-muted-2); font-size: 14px; }

/* 표 */
.v4-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.v4-table th, .v4-table td { padding: 13px 12px; border-bottom: 1px solid var(--v4-line-2); text-align: left; }
.v4-table thead th { font-size: 12px; font-weight: 600; color: var(--v4-muted-2); background: #fafbfc; border-top: 1px solid var(--v4-line); }
.v4-table td strong { font-weight: 700; }
.v4-table tr:hover td { background: #fcfcfd; }

/* 상세 */
.v4-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.v4-detail__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1; background: #f6f7f9;
  border-radius: 8px; padding: 30px;
}
.v4-detail__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v4-detail__brand { font-size: 12px; font-weight: 600; color: #8f9198; }
.v4-detail__name { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; margin: 8px 0 0; line-height: 1.36; }
.v4-detail__model { font-size: 12.5px; color: #9aa0a6; margin-top: 6px; }
.v4-detail__price { margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--v4-line-2); border-bottom: 1px solid var(--v4-line-2); }
.v4-detail__opts { margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.v4-opt-group__label { font-size: 12px; font-weight: 600; color: var(--v4-muted-2); margin-bottom: 7px; display: block; }
.v4-opt-row { display: flex; gap: 6px; flex-wrap: wrap; }
.v4-opt {
  height: 38px; padding: 0 16px; border: 1px solid var(--v4-line); background: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600; color: #555;
}
.v4-opt.is-active { border-color: var(--v4-ink); color: var(--v4-ink); font-weight: 700; }
.v4-detail__actions { display: flex; gap: 8px; margin-top: 26px; }
.v4-detail__actions > * {
  flex: 1; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-detail__actions > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-detail__actions > *:hover { border-color: var(--v4-ink); }
.v4-detail__meta { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.v4-detail__meta li { font-size: 13px; color: var(--v4-body); display: flex; gap: 8px; }
.v4-detail__meta svg { width: 15px; height: 15px; color: #9aa0a6; flex: 0 0 auto; margin-top: 2px; }

/* 주문서 */
.v4-order { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.v4-form { display: flex; flex-direction: column; gap: 18px; }
.v4-field label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 7px; }
.v4-field label em { font-style: normal; color: var(--v4-red); margin-left: 2px; }
.v4-field input[type="text"], .v4-field input[type="tel"], .v4-field input[type="date"], .v4-field textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--v4-line);
  border-radius: 4px; font-size: 14.5px; font-family: inherit; color: var(--v4-ink); background: #fff;
}
.v4-field textarea { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.v4-field input:focus, .v4-field textarea:focus { outline: none; border-color: var(--v4-ink); }
.v4-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v4-field__hint { font-size: 12px; color: var(--v4-muted-2); margin-top: 6px; }
.v4-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #444; line-height: 1.5; }
.v4-agree input { margin-top: 2px; }
.v4-form__msg { font-size: 13px; color: var(--v4-red); min-height: 18px; }
.v4-summary { border: 1px solid var(--v4-line); border-radius: 8px; padding: 22px 20px; background: #fff; position: sticky; top: 120px; }
.v4-summary h2 { font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
.v4-summary__item { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--v4-line-2); }
.v4-summary__item img { width: 64px; height: 64px; object-fit: contain; background: #f6f7f9; border-radius: 4px; }
.v4-summary__name { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--v4-ink); }
.v4-summary__model { font-size: 11.5px; color: #9aa0a6; margin-top: 3px; }
.v4-summary__rows { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; border-bottom: 1px solid var(--v4-line-2); }
.v4-summary__row { display: flex; justify-content: space-between; font-size: 13px; color: #555; }
.v4-summary__row strong { font-weight: 700; color: var(--v4-ink); }
.v4-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.v4-summary__total span { font-size: 13px; color: #555; }
.v4-summary__total strong { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--v4-ink); }
.v4-summary__note { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: var(--v4-muted-2); }
.v4-submit { width: 100%; height: 54px; margin-top: 18px; border: 0; border-radius: 4px; background: var(--v4-ink); color: #fff; font-size: 16px; font-weight: 700; }

/* 주문 완료 */
.v4-done { max-width: 720px; margin: 0 auto; }
.v4-done__head { text-align: center; padding: 18px 0 26px; }
.v4-done__mark {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  border: 1px solid var(--v4-line); display: grid; place-items: center; color: var(--v4-ink);
}
.v4-done__mark svg { width: 24px; height: 24px; }
.v4-done__head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.v4-done__head p { margin: 8px 0 0; font-size: 13.5px; color: var(--v4-body); }
.v4-done__no {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border: 1px solid var(--v4-line); border-radius: 6px; background: #fafbfc;
  font-size: 13px; color: #555;
}
.v4-done__no strong { font-size: 16px; font-weight: 800; letter-spacing: 0.02em; color: var(--v4-ink); }
.v4-escrow { margin-top: 16px; border: 1px solid var(--v4-ink); border-radius: 6px; padding: 22px 20px; }
.v4-escrow__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.v4-escrow__title svg { width: 18px; height: 18px; }
.v4-escrow__desc { font-size: 13px; color: var(--v4-body); line-height: 1.6; margin: 0 0 16px; }
.v4-escrow__table { border-top: 1px solid var(--v4-line-2); }
.v4-escrow__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--v4-line-2); font-size: 13.5px; }
.v4-escrow__row span { color: #666; }
.v4-escrow__row strong { font-weight: 700; color: var(--v4-ink); letter-spacing: 0.01em; }
.v4-escrow__row strong i { font-style: normal; color: #b0b4ba; font-weight: 600; }
.v4-escrow__notice { margin: 16px 0 0; padding: 12px 14px; background: #fafbfc; border-radius: 4px; font-size: 12.5px; line-height: 1.7; color: #555; }
.v4-escrow__notice strong { color: var(--v4-ink); }
.v4-done__act { display: flex; gap: 8px; margin-top: 24px; }
.v4-done__act > * {
  flex: 1; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--v4-line); background: #fff; color: var(--v4-ink);
}
.v4-done__act > .is-solid { background: var(--v4-ink); border-color: var(--v4-ink); color: #fff; }
.v4-done__foot { margin-top: 18px; font-size: 12px; line-height: 1.7; color: var(--v4-muted-2); text-align: center; }
.v4-demo-note {
  margin-top: 26px; padding: 14px 16px; border: 1px dashed #d5d7db; border-radius: 6px;
  font-size: 12.5px; line-height: 1.7; color: #8f9198; background: #fcfcfd;
}
.v4-demo-note strong { color: #6b7075; }

@media (max-width: 1080px) {
  .v4-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v4-detail { grid-template-columns: 1fr; gap: 24px; }
  .v4-order { grid-template-columns: 1fr; gap: 24px; }
  .v4-summary { position: static; }
  .v4-page-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 768px) {
  .v4-page { padding: 22px 0 40px; }
  .v4-page-head h1 { font-size: 22px; }
  .v4-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v4-product__body { padding: 12px 12px 14px; }
  .v4-product__name { font-size: 13px; }
  .v4-tab { flex: 1; padding: 0 12px; }
  .v4-field-row { grid-template-columns: 1fr; }
  .v4-detail__name { font-size: 21px; }
  .v4-detail__actions > * { font-size: 14px; height: 48px; }
  .v4-done__act { flex-direction: column; }
  .v4-table { font-size: 12.5px; }
  .v4-table th, .v4-table td { padding: 10px 8px; }
}


.v4-panel::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px;}
.v4-hero__shade{background:linear-gradient(90deg,rgba(255,255,255,.70) 0%,rgba(255,255,255,.55) 26%,rgba(255,255,255,.24) 44%,rgba(255,255,255,0) 64%);}
.v4-search-btn{width:262px;}
.v4-search-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

