:root {
  --ink: #171815;
  --muted: #76776f;
  --line: #deddd7;
  --surface: #f7f6f2;
  --paper: #ffffff;
  --orange: #ff5a1f;
  --orange-soft: #fff0e8;
  --green: #16854f;
  --blue: #3e65f3;
  --device-w: 402px;
  --device-h: 874px;
}

* { box-sizing: border-box; }
button, input { font: inherit; }
button { cursor: pointer; }
body {
  margin: 0;
  min-width: 1180px;
  min-height: 760px;
  overflow: hidden;
  color: var(--ink);
  background: #ebe9e4;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  height: 72px;
  padding: 0 28px 0 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #d9d7d0;
  background: rgba(250, 249, 246, .94);
  -webkit-app-region: drag;
}
.topbar button { -webkit-app-region: no-drag; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: #5e5e58; }
.brand b { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 9px; font-weight: 800; }
.project-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; color: #5e5f59; letter-spacing: .01em; }
.project-dot { width: 7px; height: 7px; background: #38a56c; border-radius: 50%; box-shadow: 0 0 0 4px #dff1e7; }
.top-actions { justify-self: end; display: flex; gap: 8px; }
.top-actions button { height: 36px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.ghost-button { border: 1px solid var(--line); background: #fff; color: #5f6059; }
.dark-button { border: 0; background: var(--ink); color: #fff; }

.studio { height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(650px, 1.08fr) minmax(510px, .92fr); }
.stage {
  min-width: 0;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 22% 14%, rgba(255,255,255,.9), transparent 32%),
    #e4e7e7;
  border-right: 1px solid #d4d5d2;
}
.stage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.stage-head small, .control-head > small { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: #8b8e8b; }
.stage h1 { margin: 10px 0 0; font-size: clamp(27px, 2.4vw, 40px); line-height: 1.08; letter-spacing: -.045em; font-weight: 530; }
.stage h1 b { font-weight: 820; }
.mode-switch { padding: 4px; display: flex; align-items: center; gap: 3px; background: rgba(255,255,255,.62); border: 1px solid rgba(20,20,20,.08); border-radius: 12px; }
.mode-switch > i { color: #a2a49e; font-size: 14px; }
.mode-switch button { height: 40px; padding: 0 13px; display: flex; align-items: center; gap: 5px; border: 0; border-radius: 8px; background: transparent; color: #777a77; font-size: 12px; font-weight: 750; }
.mode-switch button small { font: 800 8px/1 monospace; opacity: .7; }
.mode-switch button.active { color: #fff; background: var(--ink); box-shadow: 0 3px 12px rgba(0,0,0,.15); }
body[data-mode="before"] .mode-switch button.active { background: #e65428; }

.device-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 28px; transform: translateY(-4px); }
.device {
  position: relative;
  width: var(--device-w);
  height: var(--device-h);
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 7px solid #161716;
  border-radius: 52px;
  box-shadow: 0 30px 70px rgba(39,43,42,.22), 0 3px 10px rgba(0,0,0,.16);
  transform-origin: center;
}
.device-island { position: absolute; z-index: 20; top: 10px; left: 50%; width: 118px; height: 28px; transform: translateX(-50%); background: #0c0c0c; border-radius: 18px; }
.mobile-status { position: absolute; z-index: 19; top: 0; left: 0; right: 0; height: 48px; padding: 14px 22px 0; display: flex; justify-content: space-between; color: #171715; background: #fff; font-size: 13px; }
.mobile-status > span { display: flex; gap: 4px; font-size: 14.5px; }
.mobile-viewport { position: absolute; inset: 47px 0 20px; overflow: hidden; background: #f7f7f5; }
.home-indicator { position: absolute; z-index: 20; bottom: 7px; left: 50%; width: 132px; height: 5px; transform: translateX(-50%); background: #141414; border-radius: 8px; }
.tap-note { display: flex; align-items: center; gap: 10px; color: #747875; font-size: 13px; line-height: 1.5; }
.tap-note i { font-size: 22px; color: #3f4442; }

.control-panel { padding: 38px 44px 30px; overflow: auto; background: #f9f8f5; }
.control-head { position: relative; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.live-chip { position: absolute; right: 0; top: -2px; display: flex; align-items: center; gap: 6px; color: #4c725e; font: 700 11px/1 monospace; letter-spacing: .1em; }
.live-chip i { width: 6px; height: 6px; background: #36a36b; border-radius: 50%; box-shadow: 0 0 0 4px #ddf0e5; }
.control-head h2 { margin: 18px 0 8px; font-size: 30px; line-height: 1.1; letter-spacing: -.045em; }
.control-head p { max-width: 520px; margin: 0; color: #6c6e68; font-size: 14.5px; line-height: 1.65; }
.journey { padding: 22px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.journey button { min-width: 62px; padding: 0; display: grid; gap: 3px; text-align: left; border: 0; background: transparent; color: #9a9b96; }
.journey button span { font: 700 11px/1 monospace; }
.journey button b { font-size: 14px; white-space: nowrap; }
.journey button small { font: 500 11px/1.1 monospace; }
.journey button.active { color: var(--ink); }
.journey button.active span { color: var(--orange); }
.journey > i { height: 1px; flex: 1; min-width: 12px; margin: 0 8px; background: #d9d8d2; }

.reference-proof { margin-top: 20px; padding: 17px; border: 1px solid var(--line); background: #f1f1ed; border-radius: 16px; }
.reference-proof-head { display: flex; align-items: flex-start; justify-content: space-between; }
.reference-proof-head small { color: #91938c; font: 700 10px/1 monospace; letter-spacing: .09em; }
.reference-proof-head h3 { margin: 6px 0 0; font-size: 14.5px; }
.reference-proof-head > b { color: #666860; font: 700 10px/1 monospace; }
.reference-sites { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.reference-sites article { min-width: 0; padding: 10px; background: #fff; border-radius: 10px; }
.reference-sites span { color: var(--orange); font: 800 10px/1 monospace; }
.reference-sites b { min-height: 30px; margin-top: 6px; display: block; font-size: 11px; line-height: 1.35; }
.reference-sites p { margin: 6px 0 0; color: #85877f; font-size: 10px; line-height: 1.4; }
.reference-rule { margin-top: 8px; padding: 9px 10px; display: flex; align-items: center; gap: 7px; color: #53554e; background: #e6e6e1; border-radius: 9px; font-size: 10px; }
.reference-rule span { margin-right: auto; color: #85877f; font-weight: 700; }
.reference-rule i { width: 12px; height: 1px; background: #b5b6b0; }

.category-comparison { margin-top: 12px; padding: 17px; border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.category-comparison[hidden] { display: none; }
.category-comparison-head small { color: #969790; font: 700 10px/1 monospace; letter-spacing: .09em; }
.category-comparison-head h3 { margin: 6px 0 12px; font-size: 14.5px; }
.category-pair { display: grid; grid-template-columns: 1fr 18px 1fr; align-items: center; gap: 6px; }
.category-pair > i { color: var(--orange); text-align: center; }
.category-pair article { min-width: 0; padding: 10px; border-radius: 10px; }
.category-pair article > span { font: 800 10px/1 monospace; }
.category-pair article > div { height: 39px; margin: 8px 0; display: flex; align-items: center; gap: 4px; overflow: hidden; }
.category-pair article b { height: 28px; padding: 0 7px; display: flex; align-items: center; justify-content: center; border-radius: 15px; font-size: 8px; line-height: 1.05; white-space: nowrap; }
.category-pair article p { margin: 0; color: #777970; font-size: 10px; line-height: 1.35; }
.category-before { background: #fff0e9; }
.category-before > span { color: #c8502e; }
.category-before b { min-width: 60px; color: #7b6b64; background: #fff; border: 1px solid #ead4ca; white-space: normal !important; }
.category-before b:nth-child(2) { min-width: 82px; }
.category-after { background: #eff5f1; }
.category-after > span { color: var(--green); }
.category-after b { flex: 1; min-width: 0; color: #fff; background: #272824; }

.comparison-card { margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(36,37,34,.04); }
.comparison-head { display: flex; justify-content: space-between; align-items: center; }
.comparison-head span { font-size: 14px; font-weight: 800; }
.comparison-head b { color: var(--orange); font: 700 11px/1 monospace; letter-spacing: .06em; }
.change-list { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.change-list div { min-height: 61px; padding: 12px; display: grid; grid-template-columns: 24px 1fr 15px; align-items: start; gap: 6px; border-radius: 11px; background: var(--surface); }
.change-list span { color: #a7a79f; font: 700 11px/1.4 monospace; }
.change-list p { margin: 0; color: #464842; font-size: 13px; font-weight: 650; line-height: 1.45; }
.change-list i { color: var(--green); font-size: 15.5px; }

.schema-card { margin-top: 14px; padding: 20px; border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.schema-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.schema-card small { color: #979891; font: 700 11px/1 monospace; letter-spacing: .1em; }
.schema-tag { padding: 5px 8px; color: #86553c; background: #fff0e8; border-radius: 7px; font-size: 11px; font-weight: 800; }
.source-title { margin: 12px 0 0; max-height: 43px; overflow: hidden; color: #8b8c86; font-size: 12px; line-height: 1.5; text-decoration: line-through; }
.schema-arrow { height: 26px; display: grid !important; place-items: center; color: var(--orange); }
.title-parts { display: grid !important; grid-template-columns: 1.1fr 1.4fr .8fr; gap: 6px; }
.title-parts span { padding: 9px; display: grid; gap: 5px; background: #f4f4f1; border-radius: 9px; }
.title-parts b { font-size: 12px; line-height: 1.35; }
.presentation-tip { margin-top: 14px; padding: 15px 17px; display: flex; gap: 11px; color: #686a64; background: #eeeee9; border-radius: 13px; }
.presentation-tip > i { margin-top: 2px; color: #64665f; font-size: 18px; }
.presentation-tip p { margin: 0; display: grid; gap: 4px; font-size: 12px; line-height: 1.5; }
.presentation-tip b { color: var(--ink); font-size: 12px; }

/* Mobile app */
.mobile-page { min-height: 100%; padding-bottom: 76px; color: #1a1b18; background: #f7f7f5; }
.m-header { height: 54px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #fff; border-bottom: 1px solid #ecece8; }
.m-header button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; font-size: 20px; border-radius: 50%; }
.m-logo { color: var(--orange); font-size: 19px; font-weight: 900; letter-spacing: -.04em; }
.m-logo span { margin-left: 3px; color: #33342f; font-size: 11px; letter-spacing: .02em; }
.m-header > strong { font-size: 17px; }
.m-header-actions { justify-self: end; display: flex; }
.m-header-actions em { position: absolute; right: -1px; top: 1px; width: 15px; height: 15px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: 10px; font-style: normal; }
.search-bar { height: 42px; margin: 10px 14px 8px; padding-left: 13px; display: flex; align-items: center; gap: 8px; border: 1.5px solid #282925; background: #fff; border-radius: 22px; font-size: 14px; }
.search-bar span { flex: 1; }
.search-bar button { height: 34px; margin-right: 3px; padding: 0 16px; border: 0; color: #fff; background: #22231f; border-radius: 18px; font-size: 12px; font-weight: 800; }
.category-tabs { padding: 0 14px 10px; display: flex; gap: 7px; overflow: hidden; background: #fff; border-bottom: 1px solid #ededeb; }
.category-tabs button { flex: 0 0 auto; height: 30px; padding: 0 13px; border: 1px solid #e2e2dd; background: #fff; border-radius: 16px; color: #676962; font-size: 12px; white-space: nowrap; }
.category-tabs button.active { color: #fff; background: #242520; border-color: #242520; }
.catalog-intro { padding: 18px 14px 13px; background: #f7f7f5; }
.catalog-intro small { color: #8b8c85; font-size: 11px; }
.catalog-intro h2 { margin: 6px 0 13px; font-size: 20px; line-height: 1.18; letter-spacing: -.045em; }
.catalog-intro > div { display: flex; gap: 7px; }
.catalog-intro button { height: 29px; padding: 0 11px; display: flex; align-items: center; gap: 5px; border: 1px solid #dbdcd6; background: #fff; border-radius: 8px; color: #55574f; font-size: 11px; }
.product-grid { padding: 0 12px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-card { min-width: 0; padding: 0 0 12px; overflow: hidden; text-align: left; border: 0; background: #fff; border-radius: 13px; box-shadow: 0 2px 8px rgba(20,20,18,.04); }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; background: #f1f0ed; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.product-card > small, .product-card h3, .product-card p, .product-card .rating, .product-card > strong, .product-card > em { margin-left: 10px; margin-right: 8px; }
.product-card > small { margin-top: 9px; display: block; color: #30322d; font-size: 10px; font-weight: 850; letter-spacing: .01em; }
.product-card h3 { margin-top: 4px; margin-bottom: 0; font-size: 14px; line-height: 1.28; letter-spacing: -.025em; }
.product-card p { margin-top: 3px; margin-bottom: 5px; color: #898b84; font-size: 10px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rating { color: #52544d; font-size: 10px; }
.rating i { color: #f0a91c; }
.rating span { color: #94958f; }
.product-card > strong { margin-top: 5px; display: block; font-size: 15.5px; }
.product-card > em { margin-top: 3px; display: block; color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }
.bottom-nav { position: absolute; z-index: 8; bottom: 0; left: 0; right: 0; height: 64px; padding: 7px 8px 13px; display: flex; justify-content: space-around; background: rgba(255,255,255,.97); border-top: 1px solid #e8e8e4; }
.bottom-nav button { width: 58px; display: grid; place-items: center; gap: 2px; border: 0; background: transparent; color: #8c8e87; font-size: 19px; }
.bottom-nav button span { font-size: 10px; }
.bottom-nav button.active { color: var(--ink); }

.detail-page, .checkout-page { padding-bottom: 86px; overflow-y: auto; height: 100%; }
.cart-page { padding-bottom: 172px; overflow-y: auto; height: 100%; }
.cart-page .bottom-nav { bottom: 0; z-index: 8; }
.cart-page .cart-sticky { bottom: 64px; z-index: 9; }
.detail-hero { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f4eeee; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.detail-hero span { position: absolute; right: 13px; bottom: 12px; padding: 5px 9px; color: #fff; background: rgba(20,20,20,.58); border-radius: 14px; font-size: 11px; }
.detail-copy { padding: 15px 16px; background: #fff; }
.product-type { color: #7a7c74; font-size: 11px; font-weight: 750; }
.detail-copy h2 { margin: 5px 0 3px; font-size: 20px; letter-spacing: -.045em; }
.spec-summary { margin: 0; color: #565851; font-size: 13px; line-height: 1.45; }
.rating-line { margin: 10px 0 14px; display: flex; gap: 10px; font-size: 11px; color: #777971; }
.rating-line b { color: #353730; }
.rating-line i { color: #f0a91c; }
.detail-price { font-size: 25px; letter-spacing: -.04em; }
.price-note { margin: 3px 0 11px; color: #989a93; font-size: 10px; }
.delivery-card { padding: 11px; display: grid; grid-template-columns: 20px 1fr 14px; gap: 6px; align-items: center; color: var(--green); background: #f1f8f4; border-radius: 11px; font-size: 16.5px; }
.delivery-card span { display: grid; gap: 3px; color: #33352f; font-size: 11px; }
.delivery-card small { color: #6f716a; font-size: 10px; }
.option-section { margin-top: 8px; padding: 14px 16px; background: #fff; }
.option-section > div { margin-bottom: 10px; display: flex; justify-content: space-between; font-size: 12px; }
.option-section > div span { color: #777970; }
.option { height: 33px; margin-right: 6px; padding: 0 11px; border: 1px solid #deded9; background: #fff; border-radius: 8px; font-size: 11px; }
.option.active { border: 1.5px solid var(--ink); background: #f8f8f5; font-weight: 800; }
.seo-source { margin-top: 8px; padding: 0 16px; background: #fff; }
.seo-source button { width: 100%; height: 45px; padding: 0; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.seo-source button span { display: flex; align-items: center; gap: 7px; }
.seo-source p { display: none; margin: 0; padding: 0 0 14px; color: #6f716a; font-size: 11px; line-height: 1.55; }
.seo-source.open p { display: block; }
/* ── TO-BE 카테고리 — 비포와 같은 레일+그리드, 읽기만 개선 ── */
.category-page { background: #fff; display: flex; flex-direction: column; }
.cat-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 112px 1fr; }

.cat-rail { overflow-y: auto; background: #f7f7f4; border-right: 1px solid #ededea; scrollbar-width: none; padding-bottom: 70px; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail-group {
  margin: 0; padding: 11px 10px 5px;
  color: #a3a59d; font-size: 11px; font-weight: 800; letter-spacing: .06em;
}
.cat-rail-group:first-child { padding-top: 8px; }
.cat-rail button {
  width: 100%; padding: 9px 10px; display: block; text-align: left;
  border: 0; border-left: 3px solid transparent; background: transparent;
  color: #56584f; font-size: 13px; line-height: 1.35;
  /* 긴 복합명이 글자 중간에서 끊기지 않게 */
  word-break: keep-all; overflow-wrap: break-word;
}
.cat-rail button.active {
  background: #fff; color: var(--ink); font-weight: 800;
  border-left-color: var(--orange);
}

.cat-panel { overflow-y: auto; padding: 14px 12px 80px; scrollbar-width: none; }
.cat-panel::-webkit-scrollbar { display: none; }
.cat-panel-head { margin-bottom: 12px; }
.cat-panel-head h3 { font-size: 17px; letter-spacing: -.03em; word-break: keep-all; }
.cat-panel-head small { display: block; margin-top: 4px; color: #8b8c85; font-size: 12px; }

.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.cat-tile { display: grid; justify-items: center; gap: 7px; border: 0; background: transparent; padding: 0; }
.cat-tile-img {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background: #f2f2ef;
}
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile-name {
  /* 두 줄 고정 — 이름 길이가 달라도 줄이 흔들리지 않아 목록처럼 읽힌다 */
  min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px; line-height: 1.3; text-align: center; color: #33352f;
  word-break: keep-all;
}

/* ── 리뷰 키워드 검색 (개편안 전용) ──
   원본에는 리뷰를 골라 보는 수단이 정렬뿐이라, 궁금한 조건을 확인하려면
   끝까지 스크롤해야 한다. 개편안은 키워드로 바로 찾고 건수를 함께 보여준다. */
.rv-search-block { margin-top: 14px; padding-top: 15px; border-top: 1px solid #ededea; }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; }
.rv-head small { color: #85877f; font-size: 12px; font-weight: 700; }
.rv-head h4 { margin-top: 4px; font-size: 16.5px; letter-spacing: -.03em; }
.rv-head > b { color: #55574f; font-size: 13px; }

.rv-aspects { margin-top: 12px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px;
  padding: 13px; background: #f5f5f2; border-radius: 11px; }
.rv-aspects strong { font-size: 28px; letter-spacing: -.05em; }
.rv-aspects dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rv-aspects dl div { display: grid; gap: 3px; text-align: center; }
.rv-aspects dt { color: #74776f; font-size: 12px; }
.rv-aspects dd { margin: 0; font-size: 14.5px; font-weight: 800; }

.rv-spread { margin-top: 12px; display: grid; gap: 5px; }
.rv-spread div { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; }
.rv-spread span { color: #6f726a; font-size: 12px; }
.rv-spread i { height: 5px; background: #eeeeea; border-radius: 3px; overflow: hidden; }
.rv-spread em { display: block; height: 100%; background: var(--orange); border-radius: 3px; }
.rv-spread b { text-align: right; color: #45473f; font-size: 12px; }

.rv-input { margin-top: 13px; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 11px; border: 1.5px solid #deded9; border-radius: 10px; background: #fff; }
.rv-input i { color: #9a9c95; font-size: 15.5px; }
.rv-input input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 14px; background: transparent; }
.rv-input button { width: 20px; height: 20px; display: grid; place-items: center;
  border: 0; background: #ececE8; border-radius: 50%; color: #6f726a; font-size: 12px; }

.rv-chips { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.rv-chips button { display: flex; align-items: center; gap: 4px; padding: 6px 10px;
  border: 1px solid #deded9; background: #fff; border-radius: 15px; color: #55574f; font-size: 12px; }
.rv-chips button em { color: #a7a89f; font-size: 11px; font-style: normal; }
.rv-chips button.on { color: var(--orange); border: 1.5px solid var(--orange); background: #fff8f4; font-weight: 800; }
.rv-chips button.on em { color: var(--orange); }

.rv-sub { margin-top: 13px; color: #85877f; font-size: 12px; line-height: 1.5; }
.rv-flags { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.rv-flags button {
  display: flex; align-items: center; gap: 4px; padding: 6px 10px;
  border: 1px solid #deded9; background: #fff; border-radius: 15px;
  color: #55574f; font-size: 14px;
}
.rv-flags button em { color: #a7a89f; font-size: 11px; font-style: normal; }
.rv-flags button.on { border: 1.5px solid var(--ink); background: #f6f6f3; font-weight: 800; }
.rv-flags button.on em { color: #55574f; }

.rv-count { margin-top: 12px; color: #6f726a; font-size: 13px; }
.rv-count b { color: var(--ink); }
.rv-list { margin-top: 8px; display: grid; gap: 8px; }
.rv-list article { padding: 11px 12px; background: #f7f7f4; border-radius: 9px; }
.rv-list header { display: flex; align-items: baseline; gap: 6px; }
.rv-list header b { font-size: 13px; }
.rv-flag { font-size: 14px; }
.rv-origin-btn { margin-top: 7px; display: flex; align-items: center; gap: 4px;
  padding: 5px 9px; border: 1px solid #dcdcd7; background: #fff; border-radius: 13px;
  color: #55574f; font-size: 11.5px; font-weight: 650; }
.rv-origin-btn.on { border-color: #b9c6d4; background: #eef3f8; color: #3f5f7f; }
.rv-origin { margin-top: 6px; padding: 9px 10px; background: #eef3f8; border-radius: 7px;
  color: #3f5f7f; font-size: 12.5px; line-height: 1.6; word-break: break-word; }
.rv-native { margin-top: 6px; color: #a4a69e; font-size: 11.5px; }
.rv-list header small { margin-left: auto; color: #9a9c95; font-size: 11px; }
.rv-stars { color: #f0a91c; font-size: 12px; letter-spacing: -.5px; }
.rv-opt { margin-top: 4px; color: #8b8d85; font-size: 11px; }
.rv-body { margin-top: 5px; color: #43453f; font-size: 13px; line-height: 1.6; word-break: keep-all; }
.rv-body mark { background: #ffe9b8; color: #7a5312; padding: 0 2px; border-radius: 2px; }
.rv-more { margin-top: 8px; text-align: center; color: #9a9c95; font-size: 12px; }
.rv-empty { margin-top: 12px; padding: 16px; text-align: center;
  background: #f7f7f4; border-radius: 9px; color: #7c7e76; font-size: 13px; line-height: 1.6; }

.cat-back {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px; border: 1px solid #dbdcd6; border-radius: 15px;
  background: #fff; color: #55574f; font-size: 13px; font-weight: 650;
}

/* ── 목록 위 필터 바 (개편안) ── */
.filter-bar {
  position: sticky; top: 0; z-index: 6;
  display: flex; gap: 6px; align-items: center;
  padding: 9px 12px; background: #fff; border-bottom: 1px solid #ededea;
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button { flex: 0 0 auto; }
.filter-bar .filter-open {
  display: flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 12px; border: 1.5px solid #22231f; border-radius: 15px;
  background: #22231f; color: #fff; font-size: 13px; font-weight: 800;
}
.filter-bar .filter-open.on { background: var(--orange); border-color: var(--orange); }
.filter-bar .filter-sort {
  display: flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 11px; border: 1px solid #dbdcd6; border-radius: 15px;
  background: #fff; color: #55574f; font-size: 13px;
}
.filter-chip-on {
  display: flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 10px; border: 1.5px solid var(--orange); border-radius: 15px;
  background: #fff8f4; color: var(--orange); font-size: 13px; font-weight: 750; white-space: nowrap;
}
.filter-reset-inline {
  height: 30px; padding: 0 10px; border: 0; background: transparent;
  color: #8b8d85; font-size: 13px; text-decoration: underline;
}

/* ── 장바구니 목록 (비포와 같은 항목) ── */
.cart-list { padding: 8px 10px 0; display: grid; gap: 8px; }
.cart-allbar { display: flex; align-items: center; gap: 8px; padding: 11px 12px; background: #fff; border-bottom: 1px solid #f0f0ec; font-size: 14px; font-weight: 700; }
.cart-allbar em { margin-left: auto; color: #8b8d85; font-size: 12px; font-style: normal; font-weight: 500; }
.cart-check {
  width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1.5px solid #cfcfc9; border-radius: 50%; background: #fff;
  color: transparent; font-size: 13px; padding: 0; overflow: hidden;
}
.cart-check.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.cart-row2.off { opacity: .45; }
.cart-row2 { display: grid; grid-template-columns: 24px 96px 1fr; gap: 10px; align-items: center; padding: 11px; background: #fff; border-radius: 12px; }
.cart-row2 img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: #f2f2ef; }
.cart-row2 > div { min-width: 0; }
.cart-row2 small { color: #8b8c85; font-size: 11px; }
.cart-row2 h3 { margin: 3px 0 0; font-size: 14px; line-height: 1.35; word-break: keep-all; }
.cart-row2 p { margin: 4px 0 0; color: #7c7e76; font-size: 12px; }
.cart-row2-price { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; }
.cart-row2-price strong { font-size: 16.5px; }
.cart-row2-price del { color: #aeb0a8; font-size: 12px; }
.cart-warn { display: inline-block; margin-top: 5px; color: #c2410c; background: #fff1e6; font-size: 11px; font-style: normal; padding: 2px 6px; border-radius: 4px; }

/* ── SEO 키워드 → 해시태그 ──
   원본 제목에 검색 노출용으로 덕지덕지 붙어 있던 키워드를 상품명에서 걷어내고
   따로 묶어 보여준다. 검색용 데이터는 버리지 않되 제목은 읽히게 만든다. */
.tag-section { margin-top: 8px; padding: 15px 16px; background: #fff; }
.tag-section small { display: block; color: #85877f; font-size: 12px; font-weight: 700; }
.hash-tags { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.hash-tags span {
  padding: 5px 9px; border-radius: 13px;
  color: #4a6b8a; background: #eef3f8;
  font-size: 12px; font-weight: 650;
}

/* ── 상품 필터 · TO-BE ── */
.filter-sheet { position: absolute; z-index: 30; inset: 0; display: flex; flex-direction: column; background: #fff; animation: filter-in .22s ease; }
@keyframes filter-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.filter-head { height: 54px; padding: 0 13px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border-bottom: 1px solid #ededea; }
.filter-head button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; font-size: 20px; }
.filter-head strong { text-align: center; font-size: 18px; }
.filter-category { padding: 17px 16px 14px; border-bottom: 8px solid #f4f4f1; }
.filter-category h3 { margin: 0; font-size: 17px; }
.filter-category p { margin: 5px 0 0; color: #85877f; font-size: 13px; }
.filter-cat-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.filter-cat-chips button { height: 34px; padding: 0 14px; border: 1px solid #deded9; background: #fff; border-radius: 18px; color: #45473f; font-size: 14px; white-space: nowrap; }
.filter-cat-chips button.active { color: var(--orange); border: 1.5px solid var(--orange); background: #fff8f4; font-weight: 800; }
.filter-cat-more { width: 100%; height: 38px; margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; color: #55574f; font-size: 14px; font-weight: 650; }
.filter-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 104px 1fr; }
.filter-rail { overflow-y: auto; background: #f7f7f5; scrollbar-width: none; }
.filter-rail button { width: 100%; height: 48px; padding: 0 14px; display: block; text-align: left; border: 0; border-left: 3px solid transparent; background: transparent; color: #6f726a; font-size: 14px; }
.filter-rail button.active { color: var(--ink); background: #fff; border-left-color: var(--orange); font-weight: 800; }
.filter-content { padding: 16px 15px; overflow-y: auto; scrollbar-width: none; }
.filter-content section + section { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f0f0ec; }
.filter-content h4 { margin: 0 0 11px; font-size: 15.5px; }
.filter-content ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.filter-content li { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 14px; }
.filter-content li i { width: 17px; height: 17px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1.5px solid #cfcfc9; border-radius: 4px; font-size: 13px; color: transparent; }
.filter-content li.on i { background: var(--orange); border-color: var(--orange); color: #fff; }
.filter-content li.on span { font-weight: 800; }
.filter-chips button.on { border: 1.5px solid var(--orange); background: #fff8f4; color: var(--orange); font-weight: 800; }

/* 이 그룹이 원본의 어떤 속성들을 묶은 것인지 */
.filter-merge-note {
  margin-bottom: 12px; padding: 9px 10px;
  background: #f4f6f9; border-radius: 7px;
  color: #5a6b7d; font-size: 12px; line-height: 1.5;
}
.filter-merge-note b { color: #2f4a63; font-weight: 750; }

/* 원본에서 골랐지만 개편안에는 항목이 없는 것 — 어디로 흡수됐는지 알려준다 */
.filter-dropped { display: grid; gap: 4px; margin-bottom: 12px; }
.filter-dropped span {
  padding: 7px 9px; border-radius: 6px;
  background: #fff4e6; color: #8a5a20;
  font-size: 12px; line-height: 1.45;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chips button { height: 32px; padding: 0 12px; border: 1px solid #deded9; background: #fff; border-radius: 8px; color: #4f524b; font-size: 13px; }
.filter-foot { padding: 10px 12px 14px; display: grid; grid-template-columns: 94px 1fr; gap: 8px; border-top: 1px solid #ededea; background: #fff; }
.filter-reset { border: 1px solid #d8d8d3; background: #fff; border-radius: 22px; font-size: 14px; font-weight: 700; }
.filter-apply { height: 46px; border: 0; color: #fff; background: var(--orange); border-radius: 23px; font-size: 14.5px; font-weight: 800; }
.capture-hotspot.filter-hotspot { top: 13%; height: 7%; }

/* ── 상품 필터 · AS-IS 재현 ── */
.asis-filter { background: #fff; }
.asis-filter-label { padding: 11px 13px; display: grid; gap: 4px; color: #75432f; background: #fff0e8; }
.asis-filter-label b { font-size: 13px; }
.asis-filter-label span { font-size: 11px; line-height: 1.45; }
.asis-filter-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 92px 1fr; }
.asis-filter-body > nav { overflow-y: auto; background: #f2f2f0; scrollbar-width: none; }
.asis-filter-body > nav button { width: 100%; padding: 14px 11px; display: block; text-align: left; border: 0; border-left: 3px solid transparent; background: transparent; color: #85877f; font-size: 13px; line-height: 1.35; }
.asis-filter-body > nav button.active { color: var(--ink); background: #fff; border-left-color: var(--orange); font-weight: 700; }
.asis-filter-content { padding: 14px 13px 0; overflow-y: auto; scrollbar-width: none; }
.asis-filter-content h4 { margin: 0 0 10px; font-size: 14.5px; }
.asis-filter-content h4 ~ h4 { margin-top: 18px; }
.asis-filter-chips { display: grid; gap: 7px; justify-items: start; }
.asis-filter-chips.row { grid-auto-flow: column; justify-content: start; }
.asis-filter-chips.row.wrap { grid-auto-flow: row; grid-template-columns: 1fr 1fr; justify-items: stretch; }
.asis-filter-chips button { max-width: 100%; padding: 9px 13px; border: 1px solid #d8d8d3; background: #fff; border-radius: 18px; color: #45473f; font-size: 13px; text-align: center; }
.asis-filter-chips button.active { border: 1.5px solid #22231f; font-weight: 700; }
.asis-filter-more { padding: 9px 12px !important; }
.asis-filter-foot { padding: 10px 12px 14px; display: grid; grid-template-columns: 84px 1fr; gap: 8px; border-top: 1px solid #ededea; background: #fff; }
.asis-filter-foot button { height: 42px; border: 1px solid #d8d8d3; background: #fff; border-radius: 21px; font-size: 14px; font-weight: 700; }
.asis-filter-apply { border: 0 !important; color: #fff; background: var(--orange); font-size: 14.5px !important; font-weight: 800; }

/* ── AI 리뷰 인사이트 (TO-BE 신규 기능) ── */
.review-insight { margin-top: 8px; padding: 20px 18px; background: #fff; }
.insight-head { display: flex; align-items: center; gap: 8px; }
.insight-badge { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6d7bf0, #9a6df0); border-radius: 8px; font: 800 13px/1 monospace; }
.insight-head b { font-size: 18px; letter-spacing: -.03em; }
.insight-head em { margin-left: auto; display: flex; align-items: center; gap: 4px; color: #85877f; font-size: 13px; font-style: normal; }
.insight-sub { margin: 9px 0 0; color: #6f726a; font-size: 14px; line-height: 1.5; }
.insight-chips { margin: 13px 0 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.insight-chips::-webkit-scrollbar { display: none; }
.insight-chips button { flex: 0 0 auto; height: 34px; padding: 0 14px; border: 1px solid #deded9; background: #fff; border-radius: 18px; color: #656860; font-size: 14px; font-weight: 650; }
.insight-chips button.active { color: var(--orange); border: 1.5px solid var(--orange); background: #fff8f4; font-weight: 800; }
.insight-card { margin-top: 13px; padding: 16px; background: #f5f5fd; border: 1px solid #e6e6f7; border-radius: 13px; }
.insight-flag { display: flex; align-items: center; gap: 6px; color: #5f5aa8; font-size: 13px; font-weight: 700; }
.insight-flag i { width: 6px; height: 6px; background: #7b6df0; border-radius: 50%; }
.insight-card h4 { margin: 9px 0 8px; font-size: 17px; line-height: 1.4; letter-spacing: -.03em; word-break: keep-all; }
.insight-card > p { margin: 0; color: #4f524b; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.insight-stats { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.insight-stats div { padding: 10px 11px; display: grid; gap: 4px; background: #fff; border: 1px solid #e7e7f2; border-radius: 9px; }
.insight-stats small { color: #85877f; font-size: 12px; }
.insight-stats b { font-size: 14px; }
.insight-disclaimer { margin: 11px 0 0; padding: 11px 12px; display: flex; gap: 7px; color: #86653a; background: #fff8e8; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.insight-disclaimer i { margin-top: 1px; font-size: 14.5px; }
.insight-evidence { margin-top: 11px; border: 1px solid #deded9; border-radius: 10px; overflow: hidden; }
.insight-evidence > button { width: 100%; height: 44px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border: 0; background: #fff; color: #45473f; font-size: 14px; font-weight: 750; }
.insight-evidence > button i { transition: transform .2s; }
.insight-evidence.open > button i { transform: rotate(180deg); }
.insight-quotes { display: none; padding: 0 13px 4px; border-top: 1px solid #ededea; }
.insight-evidence.open .insight-quotes { display: block; }
.insight-quotes article { padding: 13px 0; border-bottom: 1px solid #f0f0ec; }
.insight-quotes article:last-child { border-bottom: 0; }
.insight-quotes header { display: flex; align-items: baseline; gap: 7px; }
.insight-quotes header b { font-size: 14px; }
.insight-quotes header small { color: #85877f; font-size: 12px; }
.insight-quotes p { margin: 6px 0 0; color: #4f524b; font-size: 14px; line-height: 1.6; word-break: keep-all; }

.review-section { margin-top: 8px; padding: 20px 18px 100px; background: #fff; }
.review-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.review-heading small { color: #777a72; font-size: 14px; font-weight: 700; }
.review-heading h3 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.025em; }
.review-heading h3 span { color: #777a72; font-size: 16.5px; }
.review-heading button { min-height: 36px; border: 0; background: transparent; color: #555850; font-size: 14.5px; font-weight: 700; }
.review-summary { margin-top: 15px; padding: 15px; display: grid; grid-template-columns: 52px 72px 1fr; align-items: center; gap: 11px; background: #f5f5f2; border-radius: 12px; }
.review-summary > strong { font-size: 30px; letter-spacing: -.05em; }
.review-summary > div { display: grid; gap: 4px; }
.review-summary > div b { color: #f0a91c; font-size: 14.5px; white-space: nowrap; }
.review-summary > div span { color: #6f726a; font-size: 14px; }
.review-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.review-summary dl div { display: grid; gap: 4px; text-align: center; }
.review-summary dt { color: #74776f; font-size: 13px; }
.review-summary dd { margin: 0; font-size: 15.5px; font-weight: 800; }
.review-filters { margin: 14px 0 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.review-filters button { flex: 0 0 auto; height: 36px; padding: 0 12px; border: 1px solid #deded9; background: #fff; border-radius: 18px; color: #656860; font-size: 14px; font-weight: 650; }
.review-filters button.active { color: #fff; background: #272824; border-color: #272824; }
.sample-disclosure { margin: 13px 0 0; color: #6f726a; font-size: 14px; line-height: 1.55; }
.review-list article { padding: 22px 0; border-bottom: 1px solid #e5e5e0; }
.review-list header { display: flex; justify-content: space-between; }
.review-list header > span { display: grid; gap: 4px; }
.review-list header b { font-size: 16.5px; }
.review-list header small { color: #777a72; font-size: 14px; }
.review-list header em { color: #e99b0d; font-size: 14.5px; font-style: normal; font-weight: 750; }
.review-tags { margin-top: 10px; display: flex; gap: 5px; }
.review-tags span { padding: 6px 9px; color: #3c654f; background: #eaf5ef; border-radius: 6px; font-size: 14px; font-weight: 650; }
.review-list h4 { margin: 14px 0 8px; font-size: 18px; line-height: 1.4; }
.review-list p { margin: 0; color: #3f423c; font-size: 16.5px; line-height: 1.65; word-break: keep-all; }
.review-list article > button { margin-top: 14px; min-height: 36px; padding: 0 12px; border: 1px solid #d9d9d4; background: #fff; border-radius: 8px; color: #656860; font-size: 14px; font-weight: 650; }
.sticky-purchase { position: absolute; z-index: 10; bottom: 0; left: 0; right: 0; height: 72px; padding: 10px 12px 14px; display: flex; gap: 8px; background: rgba(255,255,255,.98); border-top: 1px solid #e6e6e2; }
.save-button { width: 46px; border: 1px solid #dadad5; background: #fff; border-radius: 12px; font-size: 20px; }
.buy-button { flex: 1; border: 0; color: #fff; background: var(--orange); border-radius: 12px; font-size: 14px; font-weight: 800; }

.cart-product { margin: 10px; padding: 12px; position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 10px; background: #fff; border-radius: 14px; }
.cart-product img { width: 118px; height: 118px; object-fit: cover; object-position: center; border-radius: 9px; }
.cart-product > div:nth-child(2) { min-width: 0; }
.cart-product small { color: #85877f; font-size: 10px; }
.cart-product h3 { margin: 3px 0; font-size: 14px; }
.cart-product p { margin: 0; overflow: hidden; color: #777970; font-size: 10px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.cart-product span { margin-top: 6px; display: block; color: #777970; font-size: 10px; }
.cart-product strong { margin-top: 8px; display: block; font-size: 16.5px; }
.quantity { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; border: 1px solid #deded9; border-radius: 8px; overflow: hidden; }
.quantity button, .quantity b { width: 24px; height: 25px; display: grid; place-items: center; border: 0; background: #fff; font-size: 12px; }
.cart-delivery { margin: 0 10px; padding: 12px; display: flex; gap: 9px; color: var(--green); background: #eef8f2; border-radius: 12px; font-size: 19px; }
.cart-delivery div { color: #31332d; font-size: 11px; }
.cart-delivery p { margin: 3px 0 0; color: #74766f; font-size: 10px; }
.price-summary { margin: 10px; padding: 16px; background: #fff; border-radius: 14px; }
.price-summary h3 { margin: 0 0 14px; font-size: 14.5px; }
.price-summary p, .final-summary p { margin: 8px 0; display: flex; justify-content: space-between; color: #686a63; font-size: 11px; }
.discount b { color: var(--orange); }
.price-summary > div, .final-summary > div { margin-top: 13px; padding-top: 13px; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid #ecece8; font-size: 12px; }
.price-summary > div strong, .final-summary > div strong { font-size: 20px; }
.trust-note { margin: 0 10px; color: #60625b; text-align: center; font-size: 11px; }
.cart-sticky { align-items: center; }
.cart-sticky > div { min-width: 125px; display: grid; gap: 3px; }
.cart-sticky small { color: #81837b; font-size: 10px; }
.cart-sticky b { font-size: 17px; }

.checkout-section { margin: 9px 10px 0; padding: 14px; background: #fff; border-radius: 14px; }
.section-label { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.section-label span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.section-label button { border: 0; background: transparent; color: #71736c; font-size: 11px; }
.address h3 { margin: 0 0 4px; font-size: 13px; }
.address p { margin: 0 0 7px; color: #64665f; font-size: 11px; line-height: 1.45; }
.address small { color: var(--green); font-size: 10px; font-weight: 700; }
.order-item > div:last-child { display: flex; gap: 9px; }
.order-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.order-item p { margin: 0; flex: 1; display: grid; gap: 4px; font-size: 11px; }
.order-item p span { color: #7c7e76; font-size: 10px; }
.order-item p strong { font-size: 13px; }
.payment > button { width: 100%; height: 40px; margin-top: 6px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #deded9; background: #fff; border-radius: 9px; font-size: 12px; }
.payment > button em { margin-left: auto; display: none; color: var(--orange); font-size: 16.5px; }
.payment > button.active { border: 1.5px solid var(--orange); background: #fff8f4; }
.payment > button.active em { display: block; }
.agreement { margin: 10px 15px; display: flex; align-items: flex-start; gap: 8px; color: #6d6f68; font-size: 10px; line-height: 1.45; }
.agreement input { accent-color: var(--orange); }
.checkout-sticky .buy-button { width: 100%; }

.success-page { height: 100%; padding: 104px 26px 30px; text-align: center; background: #fff; }
.success-icon { width: 60px; height: 60px; margin: 0 auto 17px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 28px; box-shadow: 0 10px 26px rgba(22,133,79,.22); }
.success-page > small { color: #8c8e87; font: 700 10px/1 monospace; letter-spacing: .15em; }
.success-page h2 { margin: 9px 0 7px; font-size: 25px; letter-spacing: -.04em; }
.success-page > p { margin: 0; color: #777970; font-size: 12px; line-height: 1.6; }
.order-status { margin: 26px 0 22px; padding: 14px; text-align: left; background: #f5f5f2; border-radius: 13px; }
.order-status div { padding: 7px 0; display: flex; justify-content: space-between; font-size: 11px; }
.order-status span { color: #81837c; }
.delivery-progress { margin: 0 8px 28px; display: flex; align-items: flex-start; }
.delivery-progress span { width: 58px; display: grid; justify-items: center; gap: 6px; color: #94968f; font-size: 10px; }
.delivery-progress span i { width: 11px; height: 11px; background: #d7d8d3; border-radius: 50%; }
.delivery-progress span.done { color: var(--green); }
.delivery-progress span.done i { background: var(--green); box-shadow: 0 0 0 4px #dff0e7; }
.delivery-progress em { flex: 1; height: 1px; margin-top: 5px; background: #deded9; }
.success-primary, .success-secondary { width: 100%; height: 44px; border-radius: 11px; font-size: 13px; font-weight: 800; }
.success-primary { border: 0; color: #fff; background: var(--ink); }
.success-secondary { margin-top: 8px; border: 1px solid #deded9; color: #555750; background: #fff; }

/* Actual capture mode */
.source-capture { position: relative; width: 100%; height: 100%; overflow-y: auto; background: #fff; scroll-behavior: smooth; }
.source-scroll-content { position: relative; }
.source-segment { position: relative; width: 100%; overflow: hidden; background: #fff; }
.source-segment > img { width: 100%; display: block; }
.source-segment.live-mirror-capture { min-height: 100%; }
.source-segment.live-mirror-capture > img {
  width: 105.3%;
  max-width: none;
  margin-top: -9.25%;
  margin-left: -2.65%;
}
.source-segment.continuation { height: 690px; border-top: 4px solid #fff; }
.source-segment.continuation > img { margin-top: -165px; }
.source-segment.clean-ios-capture { border-bottom: 8px solid #f2f2ef; }
.source-segment.clean-ios-capture > img { width: 100%; margin: 0; }
.asis-review { padding: 20px 17px 100px; color: #22231f; background: #fff; border-top: 8px solid #f2f2ef; }
.asis-review-label { margin-bottom: 15px; padding: 11px; display: grid; gap: 4px; color: #75432f; background: #fff0e8; border-radius: 8px; }
.asis-review-label b { font-size: 13px; }
.asis-review-label span { font-size: 12px; line-height: 1.45; }
.asis-review > header { display: flex; justify-content: space-between; align-items: center; }
.asis-review > header > div { display: flex; align-items: center; gap: 10px; }
.asis-review > header strong { font-size: 32px; }
.asis-review > header span { display: grid; color: #e99b0d; font-size: 14px; }
.asis-review > header small { color: #666960; font-size: 12px; }
.asis-review > header button { min-height: 32px; border: 0; background: transparent; font-size: 13px; font-weight: 700; }
.asis-review-chips { margin: 15px 0; display: flex; gap: 6px; overflow-x: auto; }
.asis-review-chips span { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #d8d8d3; border-radius: 16px; font-size: 12px; }
.asis-review article { padding: 18px 0; border-top: 1px solid #e5e5e0; }

body[data-mode="before"] .device-island,
body[data-mode="before"] .mobile-status,
body[data-mode="before"] .home-indicator { display: none; }
body[data-mode="before"] .mobile-viewport { inset: 0; }
.asis-review article > div { display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.asis-review article b { font-size: 14px; }
.asis-review article em { color: #e99b0d; font-size: 13px; font-style: normal; }
.asis-review article small { grid-column: 1 / -1; color: #777a72; font-size: 12px; }
.asis-review article p { margin: 10px 0; color: #4f524b; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.asis-review article button { min-height: 30px; border: 0; background: transparent; color: #656860; font-size: 12px; font-weight: 650; }
.capture-label { position: absolute; z-index: 6; top: 8px; left: 10px; padding: 7px 9px; display: grid; gap: 2px; color: #fff; background: rgba(17,18,16,.82); border-radius: 8px; backdrop-filter: blur(7px); }
.capture-label b { font-size: 10px; }
.capture-label span { color: #cbccc6; font-size: 8px; }
.live-mirror-source > .capture-label { display: none; }
.clean-ios-source > .capture-label { display: none; }
.capture-hotspot { position: absolute; z-index: 5; left: 3%; width: 94%; border: 2px dashed rgba(255,90,31,.9); background: rgba(255,90,31,.08); border-radius: 10px; }
.capture-hotspot span { position: absolute; right: 5px; bottom: 5px; padding: 5px 7px; color: #fff; background: var(--orange); border-radius: 6px; font-size: 8px; font-weight: 800; }
.capture-hotspot.catalog { top: 24%; height: 30%; }
.capture-hotspot.detail { top: 88%; height: 10%; }
.capture-hotspot.cart { top: 77%; height: 20%; }
.capture-hotspot.checkout { top: 78%; height: 20%; }
.actual-product-hotspot { position: absolute; z-index: 5; width: 46%; height: 29%; border: 2px dashed rgba(255,90,31,.88); background: rgba(255,90,31,.045); border-radius: 9px; }
.actual-product-hotspot span { position: absolute; right: 4px; bottom: 4px; max-width: 90%; padding: 4px 6px; overflow: hidden; color: #fff; background: rgba(230,84,40,.92); border-radius: 5px; font-size: 7px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.actual-product-hotspot.product-1 { top: 24%; left: 1%; height: 42%; }
.actual-product-hotspot.product-2 { top: 24%; left: 51%; height: 33%; }
.actual-product-hotspot.product-3 { top: 70%; left: 1%; height: 25%; }
.actual-product-hotspot.product-4 { top: 58%; left: 51%; height: 36%; }
.generated-source-detail { color: #222; background: #fff; }
.generated-source-bar { position: sticky; z-index: 8; top: 0; height: 48px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); }
.generated-source-bar button { width: 30px; height: 30px; border: 0; background: transparent; font-size: 19px; }
.generated-source-bar b { color: var(--orange); font-size: 17px; }
.generated-source-bar span { display: flex; gap: 10px; font-size: 19px; }
.generated-source-image { width: 100%; height: 330px; display: block; object-fit: cover; object-position: center top; }
.generated-source-copy { padding: 0 13px 18px; }
.source-promo { margin: 0 -13px 12px; padding: 11px 13px; color: #c73535; background: #fff0f0; font-size: 11px; font-weight: 750; white-space: nowrap; overflow: hidden; }
.generated-source-copy > p { margin: 0; max-height: 47px; overflow: hidden; font-size: 14px; line-height: 1.45; }
.generated-source-copy > small { margin: 7px 0; display: inline-block; padding: 3px 5px; background: #eef1f7; font-size: 10px; }
.generated-source-copy > div:not(.source-promo) { display: flex; justify-content: space-between; font-size: 11px; }
.generated-source-copy > strong { margin-top: 10px; display: inline-block; font-size: 24px; }
.generated-source-copy > em { margin-left: 6px; padding: 3px 5px; color: #c96a20; border: 1px solid #e5a56e; font-size: 10px; font-style: normal; }
.generated-source-copy > button { width: 100%; height: 46px; margin-top: 13px; border: 0; color: #fff; background: #ff7a18; border-radius: 23px; font-size: 14px; font-weight: 800; }
.scroll-guide { position: sticky; z-index: 7; left: 50%; bottom: 14px; width: max-content; margin: -46px auto 12px; padding: 8px 11px; display: flex; align-items: center; gap: 6px; color: #fff; background: rgba(22,23,20,.84); border-radius: 18px; backdrop-filter: blur(8px); font-size: 10px; font-weight: 700; pointer-events: none; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; padding: 11px 16px; color: #fff; background: #22231f; border-radius: 10px; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; transition: .22s ease; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.presentation-controls { display: none; }

@media (max-height: 920px) {
  .device { transform: scale(.78); }
  .device-wrap { margin: -72px 0; }
}
@media (min-height: 921px) and (max-height: 1020px) {
  .device { transform: scale(.88); }
  .device-wrap { margin: -42px 0; }
}
@media (max-width: 1280px) {
  .stage { padding-left: 30px; padding-right: 30px; }
  .control-panel { padding-left: 30px; padding-right: 30px; }
  .tap-note { display: none; }
}

body.presentation-mode .topbar,
body.presentation-mode .control-panel { display: none; }
body.presentation-mode .studio { height: 100vh; display: block; }
body.presentation-mode .stage { width: 100%; height: 100%; border: 0; }
body.presentation-mode .stage-head { position: absolute; z-index: 30; top: 42px; left: 50px; right: 50px; }
body.presentation-mode .device { transform: scale(.94); }
body.presentation-mode .device-wrap { margin: -25px 0; }
body.presentation-mode .presentation-controls { position: fixed; z-index: 100; left: 28px; bottom: 24px; display: flex; gap: 8px; }
body.presentation-mode .presentation-controls button { height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 7px; color: #fff; background: rgba(20,21,19,.9); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; font-size: 13px; font-weight: 750; box-shadow: 0 8px 25px rgba(0,0,0,.18); backdrop-filter: blur(10px); }

/* ── 상품 상세 (리뷰 아래) ──
   비포가 이미지 한 장에 박아 둔 사이즈·소재를 표와 항목으로 옮겨 적은 구간.
   글자가 화면 폭을 따라가므로 확대하지 않아도 읽힌다. */
.pdp { margin: 10px 0 0; padding: 0 0 96px; background: #fff; }
.pdp-title { margin: 0; padding: 18px 18px 4px; font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pdp-block { margin: 12px 14px 0; padding: 14px 15px; border: 1px solid #ecebe6; border-radius: 14px; background: #fdfdfc; }
.pdp-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 11px; }
.pdp-h b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.pdp-h span { margin-left: auto; font-size: 12.5px; color: #9a9c96; }

.pdp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pdp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdp-table th { padding: 8px 6px; background: #f4f3ef; color: #6b6d66; font-weight: 700; font-size: 13px; white-space: nowrap; }
.pdp-table th:first-child, .pdp-table td:first-child { text-align: left; padding-left: 10px; }
.pdp-table td { padding: 9px 6px; text-align: center; color: #4a4c46; border-top: 1px solid #eeede8; white-space: nowrap; }
.pdp-table tr.mine td { background: #eef7f1; color: #1c6b48; font-weight: 700; }
.pdp-table tr.mine td em { margin-left: 6px; padding: 2px 6px; border-radius: 8px; background: #1c6b48; color: #fff; font: 700 11px/1 inherit; font-style: normal; }
.pdp-note { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: #8b8e88; }

.pdp-rows { margin: 0; display: grid; gap: 1px; background: #eeede8; border-radius: 9px; overflow: hidden; }
.pdp-rows > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding: 9px 11px; background: #fff; }
.pdp-rows dt { margin: 0; font-size: 13.5px; color: #8b8e88; }
.pdp-rows dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.45; }

.pdp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-chips span { padding: 6px 11px; border: 1px solid #e2e1db; border-radius: 16px; font-size: 13.5px; color: #5c5e57; background: #fff; }

.pdp-cuts { display: grid; gap: 8px; }
.pdp-cuts img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* ── 여정 밖의 화면 바로 열기 ──
   카테고리·필터·리뷰는 01~05 구매 여정에 끼워 넣을 자리가 없다.
   발표 중 바로 띄울 일이 많아 아래 줄로 따로 뺐다. */
.journey-extra {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 0 16px; border-bottom: 1px solid var(--line);
}
.journey-extra > span {
  flex: 0 0 auto; font: 700 11px/1 monospace; letter-spacing: .1em; color: #a8aaa4;
}
.journey-extra button {
  flex: 1 1 0; min-width: 0; padding: 9px 10px;
  display: grid; gap: 3px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: #7b7d76; cursor: pointer;
}
.journey-extra button b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.journey-extra button small { font: 500 10px/1 monospace; color: #a8aaa4; }
.journey-extra button:hover { border-color: #c9cbc4; color: var(--ink); }
.journey-extra button.active {
  border-color: var(--ink); background: var(--ink); color: #fff;
}
.journey-extra button.active small { color: rgba(255,255,255,.6); }

/* 고른 조건이 칩 자리보다 많을 때 남은 개수 */
.filter-chip-more {
  flex: 0 0 auto; padding: 0 9px; height: 30px; display: inline-flex; align-items: center;
  border-radius: 15px; background: #eeede8; color: #7b7d76; font-size: 12px; font-weight: 700;
}
