/*
 * r08 앱 스타일 — 휴대폰 앱 화면. 모바일: 앱 전체 폭 + 하단 탭바(그 위로 공통 상담 바).
 * PC: 가운데 좁은 앱 화면(440px) + 왼쪽 카테고리·메뉴 패널 + 오른쪽 상담·바로가기 패널 (Header.php 가 셸을 열고 Footer.php 가 닫는다).
 * 시안: design/rental-skins/templates/r08-app-like/style.css + shared/base.css (토큰)
 *
 * 규칙
 * - 스킨 클래스는 모두 r08- 로 시작한다(상태 클래스 is-* 만 예외) — 코어 front.css·렌탈 front.css·상품 상세 본문과 겹치지 않게.
 * - 스킨이 그린 덩어리에만 .r08-scope 를 단다. 공통 조각(상세 구매 상자 등)은 .r08-dt 아래 선택자로 모양만 덮는다.
 * - 대표 색은 --brand / --on-brand (서버 head_style 이 사이트 대표 색 → 스킨 첫 추천 색으로 넣는다).
 * - 스킨 화면(메인 섹션·목록·상세)이 아닌 공통 화면(장바구니·주문·마이페이지·검색 등)은 앱 화면을 사이트 폭으로 넓히고 옆 패널을 숨긴다.
 */
:root {
  --brand: #3065f2;
  --on-brand: #ffffff;
  --brand-50: color-mix(in oklab, var(--brand) 6%, white);
  --brand-100: color-mix(in oklab, var(--brand) 12%, white);
  --brand-200: color-mix(in oklab, var(--brand) 24%, white);
  --brand-300: color-mix(in oklab, var(--brand) 42%, white);
  --brand-400: color-mix(in oklab, var(--brand) 70%, white);
  --brand-600: color-mix(in oklab, var(--brand) 86%, black);
  --brand-700: color-mix(in oklab, var(--brand) 70%, black);
  --brand-800: color-mix(in oklab, var(--brand) 52%, black);
  --brand-900: color-mix(in oklab, var(--brand) 34%, black);
  --brand-a10: color-mix(in srgb, var(--brand) 10%, transparent);
  --brand-a20: color-mix(in srgb, var(--brand) 20%, transparent);

  --r08-bg: #ffffff;
  --r08-surface: #f3f4f6;
  --r08-surface-2: #e9ebef;
  --r08-text: #121418;
  --r08-sub: #3e434c;
  --r08-muted: #7c828d;
  --r08-line: #eceef1;
  --r08-app-w: 440px;
  --r08-tab-h: 64px;
  --r08-r: 18px;
  --r08-hdr: 110px;
  --r08-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
/* 공통 화면도 같은 글꼴·대표 색 */
html body[data-skin] {
  font-family: var(--r08-font);
  --color-primary: var(--brand);
  --color-primary-hover: var(--brand-600);
  --color-primary-active: var(--brand-700);
  --color-primary-subtle: var(--brand-50);
  --bs-primary: var(--brand);
  background: radial-gradient(900px 600px at 15% 0%, var(--brand-a20), transparent 60%), radial-gradient(800px 600px at 90% 100%, var(--brand-a10), transparent 60%), var(--brand-50);
  background-attachment: fixed;
}
body.r08-no-scroll { overflow: hidden; }

/* ── 스킨 덩어리 기본 — 코어 front.css 의 제목·문단·small·b 기본 모양을 스킨 안에서만 걷어 낸다 */
.r08-scope :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.r08-scope :where(small) { font-size: inherit; color: inherit; }
.r08-scope :where(b, strong) { font-weight: 700; }
.r08-scope { font-family: var(--r08-font); font-size: 15px; line-height: 1.5; letter-spacing: -0.01em; color: var(--r08-text); word-break: keep-all; overflow-wrap: anywhere; }
.r08-scope :where(a) { color: inherit; text-decoration: none; }
.r08-scope :where(ul, ol) { list-style: none; padding: 0; }
.r08-scope img { display: block; max-width: 100%; }
.r08-scope :where(button, input, select) { font: inherit; color: inherit; }
.r08-scope :where(button) { cursor: pointer; }
.r08-scope *, .r08-scope *::before, .r08-scope *::after { box-sizing: border-box; }
.r08-scope [hidden], .r08-sheet[hidden] { display: none !important; }
.r08-scope :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.r08-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r08-clamp-2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.r08-clamp-3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.r08-scope .rs-icon { flex: none; }
@media (prefers-reduced-motion: reduce) { .r08-scope *, .r08-dt * { animation: none !important; transition: none !important; } }

/* ── 앱 화면 안의 코어 틀: 좌우 여백·최대 폭을 걷어 앱 폭을 그대로 쓴다 */
.r08-app .mublo-main { margin: 0; padding: 0; }
.r08-app .mublo-content, .r08-app .mublo-content--wide { width: auto; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.r08-app .mublo-layout { display: block; margin: 0; }
.r08-app .page-index .block-section { margin: 0; padding: 0; }
.r08-app .page-index .block-container { width: auto; max-width: none; margin: 0; padding: 0; }
.r08-app .page-index .block-row { margin: 0; gap: 0; }
.r08-app .page-index .block-column { padding: 0; }
/* 스튜디오 메인 배너 칸(banner 자리) — 앱 화면 안에서 둥근 카드로 */
.r08-app .page-index .block-section:has([data-block-type="banner"]) { padding: 14px 16px 4px; }
.r08-app .page-index [data-block-type="banner"] { border-radius: 22px; overflow: hidden; }
.r08-app .page-index [data-block-type="banner"] img { width: 100%; height: auto; }

/* ══ 아래는 시안 style.css 를 r08- 접두사로 옮긴 것 (실제 몰 보강은 그 다음) */
/* ── 셸 */
.r08-shell { display: grid; grid-template-columns: 236px var(--r08-app-w) 300px; gap: 28px; justify-content: center; align-items: start; padding: 24px 16px 0; }
.r08-app {
  position: relative; min-width: 0; min-height: calc(100vh - 48px); border-radius: 32px; background: var(--r08-bg); overflow: clip;
  box-shadow: 0 0 0 1px rgba(17, 20, 24, .05), 0 30px 70px -24px rgba(17, 20, 24, .28);
}
.r08-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }

/* PC 왼쪽 패널 */
.r08-side-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--r08-text); }
.r08-side-logo b { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.r08-side-logo .r08-logo-mark { width: 40px; height: 40px; border-radius: 13px; }
.r08-side-tag { color: var(--r08-sub); font-size: 14px; line-height: 1.55; }
.r08-side-cats { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .78); box-shadow: 0 1px 0 var(--brand-a10); backdrop-filter: blur(8px); }
.r08-side-cats a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border-radius: 14px; color: var(--r08-sub); font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.r08-side-cats a:hover { background: var(--brand-50); color: var(--brand-800); }
.r08-side-cats a.is-on { background: var(--brand); color: var(--on-brand); }
.r08-side-cats small { margin-left: auto; color: var(--r08-muted); font-size: 12px; }
.r08-side-cats a.is-on small { color: inherit; opacity: .8; }
.r08-side-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--r08-surface); color: var(--brand-700); }
.r08-side-ic .rs-icon { width: 18px; height: 18px; }
.r08-side-cats a.is-on .r08-side-ic { background: color-mix(in srgb, var(--on-brand) 20%, transparent); color: inherit; }

/* PC 오른쪽 패널 */
.r08-panel { padding: 20px; border-radius: 24px; background: var(--r08-bg); box-shadow: 0 1px 0 var(--brand-a10), 0 18px 40px -26px rgba(17, 20, 24, .3); }
.r08-panel-k { display: flex; align-items: center; gap: 7px; color: var(--brand-700); font-size: 14px; font-weight: 800; }
.r08-panel-k .rs-icon { width: 18px; height: 18px; }
.r08-panel-tel { display: block; margin-top: 6px; color: var(--r08-text); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.r08-panel-hours { color: var(--r08-muted); font-size: 12px; }
.r08-panel-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.r08-panel-form input:not([type]) { width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: 13px; background: var(--r08-surface); font-size: 14px; outline: none; }
.r08-panel-form input:not([type]):focus { box-shadow: inset 0 0 0 2px var(--brand); background: var(--r08-bg); }
.r08-panel-agree { display: flex; align-items: center; gap: 6px; color: var(--r08-sub); font-size: 12px; }
.r08-panel-agree input { accent-color: var(--brand); }
.r08-panel-kakao { width: 100%; margin-top: 8px; }
.r08-panel-benefit h2 { margin-bottom: 10px; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.r08-bf { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 14px; color: var(--r08-text); transition: background .15s; }
.r08-bf + .r08-bf { border-top: 1px solid var(--r08-line); border-radius: 0; }
.r08-bf:hover { background: var(--brand-50); border-radius: 14px; }
.r08-bf-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.r08-bf-ic .rs-icon { width: 20px; height: 20px; }
.r08-bf > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; color: var(--r08-muted); font-size: 12px; }
.r08-bf b { color: var(--r08-text); font-size: 16px; font-weight: 800; }
.r08-bf > .rs-icon { width: 16px; height: 16px; color: var(--r08-muted); }
.r08-panel-note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--r08-surface); color: var(--r08-muted); font-size: 12px; line-height: 1.5; }

/* ── 버튼 · 칩 */
.r08-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 18px; border: 0; border-radius: 15px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .1s, filter .15s, background .15s;
}
.r08-btn:active { transform: scale(.97); }
.r08-btn .rs-icon { width: 18px; height: 18px; }
.r08-btn-brand { background: var(--brand); color: var(--on-brand); }
.r08-btn-brand:hover { filter: brightness(1.07); }
.r08-btn-soft { background: var(--brand-50); color: var(--brand-800); }
.r08-btn-soft:hover { background: var(--brand-100); }
.r08-btn-block { display: flex; width: calc(100% - 32px); margin: 14px 16px 2px; }
.r08-pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 15px; border-radius: 999px;
  background: var(--r08-surface); color: var(--r08-sub); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s;
}
.r08-pill small { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--r08-bg); color: var(--r08-muted); font-size: 11px; font-weight: 700; }
.r08-pill:hover { background: var(--brand-100); color: var(--brand-800); }
.r08-pill.is-on { background: var(--brand); color: var(--on-brand); }
.r08-pill.is-line { background: var(--r08-bg); box-shadow: inset 0 0 0 1px var(--r08-surface-2); }
.r08-pill.is-line.is-on { background: var(--r08-text); color: #fff; box-shadow: none; }
.r08-chip-row { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.r08-chip-row::-webkit-scrollbar, .r08-hscroll::-webkit-scrollbar, .r08-chips::-webkit-scrollbar, .r08-banner-track::-webkit-scrollbar, .r08-seg::-webkit-scrollbar { display: none; }
.r08-ex { padding: 2px 7px; border-radius: 6px; background: var(--r08-surface); color: var(--r08-muted); font-size: 11px; font-weight: 700; font-style: normal; vertical-align: 3px; }

/* ── 앱바 */
.r08-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 36px; padding: 0 16px; background: var(--brand-50); font-size: 12px; }
.r08-strip-tel { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-800); font-weight: 600; }
.r08-strip-tel .rs-icon { width: 15px; height: 15px; }
.r08-strip-acc { display: flex; align-items: center; gap: 8px; color: var(--r08-sub); }
.r08-strip-acc i { width: 1px; height: 10px; background: var(--r08-surface-2); }
.r08-strip-acc a:hover { color: var(--brand-700); }
.r08-topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--r08-line);
}
.r08-top-row { display: flex; align-items: center; gap: 6px; height: 60px; padding: 0 8px 0 14px; }
.r08-logo { display: inline-flex; align-items: center; gap: 7px; flex: none; color: var(--r08-text); }
.r08-logo b { font-size: 17px; font-weight: 800; letter-spacing: -0.04em; }
.r08-logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: var(--on-brand); }
.r08-logo-mark .rs-icon { width: 60%; height: 60%; stroke-width: 2.2; }
.r08-search { position: relative; flex: 1; min-width: 0; margin-left: 4px; }
.r08-search > .rs-icon { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; color: var(--r08-muted); }
.r08-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 0; border-radius: 13px; background: var(--r08-surface); font-size: 14px; outline: none; transition: box-shadow .15s, background .15s; }
.r08-search input::placeholder { color: #9aa0ab; }
.r08-search input:focus { background: var(--r08-bg); box-shadow: inset 0 0 0 2px var(--brand); }
.r08-icon-btn { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 13px; background: none; color: var(--r08-text); cursor: pointer; }
.r08-icon-btn:hover { background: var(--r08-surface); }
.r08-icon-btn .rs-icon { width: 24px; height: 24px; }
.r08-dot-badge {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: var(--on-brand);
  font-size: 10px; font-weight: 800; font-style: normal; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--r08-bg);
}
.r08-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 16px 12px; scrollbar-width: none; }
.r08-chip {
  display: inline-flex; align-items: center; gap: 5px; flex: none; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--r08-surface); color: var(--r08-sub); font-size: 14px; font-weight: 600; transition: background .15s, color .15s;
}
.r08-chip .rs-icon { width: 16px; height: 16px; color: var(--brand-600); }
.r08-chip:hover { background: var(--brand-100); color: var(--brand-800); }
.r08-chip.is-on { background: var(--r08-text); color: #fff; }
.r08-chip.is-on .rs-icon { color: inherit; }

/* ── 화면 공통 */
.r08-screen { padding-bottom: 10px; }
.r08-sec { padding: 26px 0 8px; }
.r08-sec { border-top: 8px solid var(--r08-surface); }
.r08-sec.is-tint { background: var(--brand-50); border-top-color: var(--r08-surface); padding-bottom: 22px; }
.r08-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; margin-bottom: 14px; }
.r08-sec-head h2 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 19px; font-weight: 800; letter-spacing: -0.035em; }
.r08-sec-head h2 small { color: var(--r08-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.r08-more { display: inline-flex; align-items: center; flex: none; gap: 1px; color: var(--r08-muted); font-size: 13px; font-weight: 600; }
.r08-more .rs-icon { width: 15px; height: 15px; }
.r08-more:hover { color: var(--brand-700); }

/* 인사 + 빠른 버튼 */
.r08-greet { padding: 20px 16px 4px; }
.r08-greet-hi { color: var(--brand-700); font-size: 13px; font-weight: 700; }
.r08-greet h1 { margin-top: 6px; font-size: 26px; line-height: 1.3; font-weight: 800; letter-spacing: -0.045em; }
.r08-greet h1 em { font-style: normal; color: var(--brand); }
.r08-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.r08-quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 11px; border-radius: 18px; background: var(--r08-surface); color: var(--r08-sub); font-size: 12px; font-weight: 700; transition: background .15s, transform .1s; }
.r08-quick a:hover { background: var(--brand-50); color: var(--brand-800); }
.r08-quick a:active { transform: scale(.96); }
.r08-q-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--r08-bg); color: var(--brand-700); box-shadow: 0 4px 10px -6px var(--brand-a20); }
.r08-q-ic .rs-icon { width: 22px; height: 22px; }
.r08-quick li:first-child .r08-q-ic { background: var(--brand); color: var(--on-brand); }

/* 배너 줄 */
.r08-banners { padding: 18px 0 4px; }
.r08-banner-track { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.r08-banner {
  position: relative; flex: 0 0 calc(100% - 32px); display: grid; grid-template-columns: minmax(0, 1fr) 128px; align-items: center; gap: 12px; min-height: 182px;
  padding: 22px 16px 22px 22px; border-radius: 24px; scroll-snap-align: start; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--on-brand);
}
.r08-banner:nth-child(2n) { background: var(--brand-800); color: #fff; }
.r08-banner::before { content: ""; position: absolute; z-index: -1; right: -50px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: color-mix(in srgb, #fff 12%, transparent); }
.r08-banner-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.r08-banner-tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, #fff 18%, transparent); font-size: 11px; font-weight: 800; }
.r08-banner-name { font-size: 17px; font-weight: 700; line-height: 1.38; letter-spacing: -0.03em; }
.r08-banner-fee { font-size: 14px; font-weight: 600; }
.r08-banner-fee b { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.r08-banner-card { padding: 3px 9px; border-radius: 8px; background: #fff; color: var(--brand-800); font-size: 12px; font-weight: 800; }
.r08-banner-img { display: grid; place-items: center; width: 128px; height: 128px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .4); }
.r08-banner-img img { width: 100%; height: 100%; object-fit: contain; }
/* 첫 화면 대표 상품 — 약정·관리 한 줄, 고른 그림은 흰 둥근 칸을 꽉 채운다(규격 1:1 rounded) */
.r08-banner-terms { font-size: 12px; font-weight: 600; opacity: .85; }
.r08-banner-img.is-art { padding: 0; overflow: hidden; }
.r08-banner-img.is-art img { object-fit: cover; object-position: center; }
.r08-banner-pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 0; }
.r08-dots { display: flex; gap: 5px; }
.r08-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--r08-surface-2); transition: width .2s, background .2s; }
.r08-dots i.is-on { width: 18px; background: var(--brand); }
.r08-count { padding: 2px 9px; border-radius: 999px; background: var(--r08-surface); color: var(--r08-muted); font-size: 12px; font-weight: 600; }
.r08-count b { color: var(--r08-text); }

/* 카테고리 아이콘 */
.r08-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 4px; padding: 0 10px; }
.r08-cat-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--r08-text); text-align: center; }
.r08-cat-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 20px; background: var(--r08-surface); color: var(--brand-700); transition: transform .15s, background .15s; }
.r08-cat-ic .rs-icon { width: 28px; height: 28px; }
.r08-cat-ic.is-all { background: var(--brand); color: var(--on-brand); }
.r08-cat-grid a:hover .r08-cat-ic { transform: translateY(-2px); background: var(--brand-100); }
.r08-cat-grid b { font-size: 12px; font-weight: 600; line-height: 1.25; }
.r08-budget { margin-top: 22px; }
.r08-budget-k { display: flex; align-items: center; gap: 6px; padding: 0 16px; margin-bottom: 10px; color: var(--r08-sub); font-size: 14px; font-weight: 800; }
.r08-budget-k .rs-icon { width: 17px; height: 17px; color: var(--brand-600); }

/* 앱 상품 카드 */
.r08-hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.r08-hscroll > * { flex: 0 0 148px; scroll-snap-align: start; }
.r08-acard { position: relative; min-width: 0; }
.r08-acard > a { display: flex; flex-direction: column; color: var(--r08-text); }
.r08-acard-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 9px; padding: 12px; border-radius: var(--r08-r); background: var(--r08-surface); overflow: hidden; }
.r08-acard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.r08-acard:hover .r08-acard-img img { transform: scale(1.05); }
.r08-acard-badge { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; overflow: hidden; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 800; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.r08-acard-brand { color: var(--r08-muted); font-size: 12px; font-weight: 600; }
.r08-acard-name { min-height: 2.7em; margin-top: 1px; font-size: 14px; line-height: 1.35; font-weight: 500; }
.r08-acard-fee { margin-top: 6px; font-size: 13px; font-weight: 700; }
.r08-acard-fee b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.r08-acard-card { margin-top: 1px; color: var(--brand-700); font-size: 12px; font-weight: 600; }
.r08-acard-card b { font-weight: 800; }
.r08-acard-card.is-none { color: var(--r08-muted); font-weight: 500; }
.r08-acard-meta { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--r08-line); color: var(--r08-muted); font-size: 11px; }
.r08-heart { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #a3a8b1; cursor: pointer; transition: color .15s, transform .1s; }
.r08-heart .rs-icon { width: 19px; height: 19px; }
.r08-heart:hover { color: var(--brand); }
.r08-heart:active { transform: scale(.9); }
.r08-heart[aria-pressed="true"] { color: var(--brand); }
.r08-heart[aria-pressed="true"] .rs-icon { fill: currentColor; }
.r08-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding: 0 16px; }

/* 카드 할인 티켓 */
.r08-hscroll.is-ticket > * { flex: 0 0 300px; }
.r08-ticket {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 118px; border-radius: 20px; overflow: hidden; color: var(--r08-text);
  background: var(--r08-bg); box-shadow: 0 6px 18px -12px rgba(17, 20, 24, .3);
  -webkit-mask: radial-gradient(circle 9px at 112px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 112px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at 112px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 112px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.r08-ticket-save { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 10px 0 14px; background: var(--brand); color: var(--on-brand); border-right: 2px dashed color-mix(in srgb, var(--on-brand) 40%, transparent); }
.r08-ticket-save small { font-size: 11px; font-weight: 700; opacity: .85; }
.r08-ticket-save b { white-space: nowrap; font-size: 17px; font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; }
.r08-ticket-body { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; }
.r08-ticket-img { display: grid; place-items: center; flex: none; width: 64px; height: 64px; padding: 6px; border-radius: 14px; background: var(--r08-surface); }
.r08-ticket-img img { width: 100%; height: 100%; object-fit: contain; }
.r08-ticket-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.r08-ticket-name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.r08-ticket-calc { display: flex; flex-direction: column; line-height: 1.25; }
.r08-ticket-calc s { color: var(--r08-muted); font-size: 11px; }
.r08-ticket-calc b { color: var(--brand-700); font-size: 15px; font-weight: 800; }

/* 세그먼트 탭 */
.r08-seg { display: flex; gap: 4px; margin: 0 16px; padding: 4px; overflow-x: auto; border-radius: 15px; background: var(--r08-surface); scrollbar-width: none; }
.r08-seg button { flex: 1 0 auto; height: 38px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--r08-muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.r08-seg button[aria-selected="true"] { background: var(--r08-bg); color: var(--r08-text); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .18); }
.r08-tab-desc { display: flex; align-items: center; gap: 6px; margin: 14px 16px; color: var(--r08-sub); font-size: 13px; font-weight: 600; }
.r08-tab-desc .rs-icon { width: 16px; height: 16px; color: var(--brand); }

/* 설정 화면 같은 목록 */
.r08-menu-list { margin: 0 16px; border-radius: 20px; background: var(--r08-surface); overflow: hidden; }
.r08-menu-list li + li { border-top: 1px solid var(--r08-surface-2); }
.r08-menu-list a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px 8px 12px; color: var(--r08-text); transition: background .15s; }
.r08-menu-list a:hover { background: var(--brand-50); }
.r08-ml-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--r08-bg); color: var(--brand-700); }
.r08-ml-ic .rs-icon { width: 21px; height: 21px; }
.r08-ml-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.r08-ml-txt b { font-size: 15px; font-weight: 700; }
.r08-ml-txt small { color: var(--r08-muted); font-size: 12px; }
.r08-ml-fee { color: var(--brand-700); font-size: 14px; font-weight: 800; white-space: nowrap; }
.r08-menu-list a > .rs-icon { width: 16px; height: 16px; color: var(--r08-muted); }

/* 목록형 줄 */
.r08-rows { display: flex; flex-direction: column; padding: 0 16px; }
.r08-rows li + li { border-top: 1px solid var(--r08-line); }
.r08-arow { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--r08-text); }
.r08-arow-no { flex: none; width: 22px; color: var(--r08-muted); font-size: 17px; font-weight: 800; text-align: center; }
.r08-arow-no.is-top { color: var(--brand); }
.r08-arow-img { display: grid; place-items: center; flex: none; width: 76px; height: 76px; padding: 8px; border-radius: 16px; background: var(--r08-surface); }
.r08-arow-img img { width: 100%; height: 100%; object-fit: contain; }
.r08-arow-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r08-arow-name { font-size: 14px; line-height: 1.38; }
.r08-arow:hover .r08-arow-name { color: var(--brand-700); }
.r08-arow-fee { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.r08-arow-fee b { font-size: 16px; font-weight: 800; }
.r08-arow-fee small { color: var(--brand-700); font-size: 12px; font-weight: 700; }

/* 후기 */
.r08-hscroll.is-review > * { flex: 0 0 248px; }
.r08-review { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 16px; border-radius: 20px; background: var(--r08-surface); }
.r08-rv-star { color: var(--brand); font-size: 13px; letter-spacing: 1px; }
.r08-rv-star span { color: #d2d5db; }
.r08-review blockquote { margin: 0; min-height: 4.2em; font-size: 14px; line-height: 1.5; }
.r08-review figcaption { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.r08-rv-img { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 3px; border-radius: 10px; background: var(--r08-bg); }
.r08-rv-img img { width: 100%; height: 100%; object-fit: contain; }
.r08-review figcaption > span:last-child { display: flex; flex-direction: column; min-width: 0; font-size: 12px; }
.r08-review figcaption small { color: var(--r08-muted); font-size: 11px; }

/* FAQ */
.r08-faq { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.r08-faq details { border-radius: 16px; background: var(--r08-surface); }
.r08-faq summary { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.r08-faq summary::-webkit-details-marker { display: none; }
.r08-faq summary span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 900; }
.r08-faq summary .rs-icon { width: 18px; height: 18px; margin-left: auto; color: var(--r08-muted); transition: transform .2s; }
.r08-faq details[open] summary .rs-icon { transform: rotate(180deg); }
.r08-faq details p { padding: 0 16px 16px 48px; color: var(--r08-sub); font-size: 14px; line-height: 1.6; }

/* 상담 카드 */
.r08-cs-card { margin: 0 16px; padding: 24px 20px; border-radius: 24px; background: var(--brand-900); color: #fff; }
.r08-cs-k { display: flex; align-items: center; gap: 6px; color: var(--brand-300); font-size: 13px; font-weight: 700; }
.r08-cs-k .rs-icon { width: 17px; height: 17px; }
.r08-cs-card h2 { margin-top: 8px; font-size: 20px; line-height: 1.38; font-weight: 800; letter-spacing: -0.04em; }
.r08-cs-tel { display: block; margin-top: 14px; color: var(--brand-300); font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.r08-cs-hours { color: rgba(255, 255, 255, .65); font-size: 12px; }
.r08-cs-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.r08-btn-on { background: var(--brand); color: var(--on-brand); }
.r08-btn-line { background: rgba(255, 255, 255, .1); color: #fff; }
.r08-btn-line:hover { background: rgba(255, 255, 255, .18); }

/* ── 하단 탭바: PC에서는 앱 화면 아래쪽에 떠 있고(상담 바 위), 모바일에서는 화면 맨 아래 고정 */
.r08-tabbar {
  position: sticky; bottom: 82px; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--r08-tab-h); margin: 0 12px 12px;
  border-radius: 22px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--r08-line), 0 12px 30px -14px rgba(17, 20, 24, .35);
}
.r08-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: #9ea4ae; font-size: 11px; font-weight: 700; cursor: pointer; }
.r08-tab .rs-icon { width: 24px; height: 24px; }
.r08-tab:hover { color: var(--r08-sub); }
.r08-tab.is-on { color: var(--brand); }
.r08-tab.is-on .rs-icon { stroke-width: 2.2; }
.r08-tab .r08-dot-badge { top: 7px; right: calc(50% - 22px); }

/* ── 푸터 */
.r08-foot { padding: 26px 16px 20px; border-top: 8px solid var(--r08-surface); font-size: 12px; color: var(--r08-muted); }
.r08-foot-cs p { font-size: 12px; font-weight: 700; }
.r08-foot-cs a { display: block; color: var(--r08-text); font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.r08-foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; color: var(--r08-sub); font-size: 13px; }
.r08-foot-links b { color: var(--r08-text); }
.r08-foot-co { margin-top: 12px; border-radius: 14px; background: var(--r08-surface); }
.r08-foot-co summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; color: var(--r08-sub); font-weight: 700; cursor: pointer; list-style: none; }
.r08-foot-co summary::-webkit-details-marker { display: none; }
.r08-foot-co summary .rs-icon { width: 16px; height: 16px; }
.r08-foot-co dl { display: grid; gap: 4px; margin: 0; padding: 0 14px 14px; }
.r08-foot-co dl div { display: flex; gap: 8px; }
.r08-foot-co dt { flex: none; width: 84px; }
.r08-foot-co dd { margin: 0; color: var(--r08-sub); }
.r08-foot-notice { margin-top: 12px; line-height: 1.55; }
.r08-foot-copy { margin-top: 8px; }

/* ── 바텀시트 */
.r08-sheet { position: fixed; inset: 0; z-index: 1000; }
.r08-sheet-dim { position: absolute; inset: 0; background: rgba(12, 14, 18, .45); opacity: 0; transition: opacity .2s; }
.r08-sheet-panel {
  position: absolute; left: 50%; bottom: 0; width: min(100%, var(--r08-app-w)); max-height: 86vh; overflow-y: auto; padding: 8px 0 20px;
  border-radius: 26px 26px 0 0; background: var(--r08-bg); transform: translate(-50%, 100%); transition: transform .22s ease-out;
}
.r08-sheet.is-open .r08-sheet-dim { opacity: 1; }
.r08-sheet.is-open .r08-sheet-panel { transform: translate(-50%, 0); }
.r08-sheet-grip { width: 40px; height: 4px; margin: 0 auto 6px; border-radius: 2px; background: var(--r08-surface-2); }
.r08-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 8px 20px; }
.r08-sheet-head h2 { font-size: 19px; font-weight: 800; }
.r08-sheet-acc, .r08-sheet-cs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 16px 16px; }
.r08-sheet-cs { padding-top: 18px; }
.r08-sheet-body .r08-cat-grid { gap: 16px 4px; }
.r08-fs-group { padding: 6px 16px 14px; }
.r08-fs-k { margin-bottom: 10px; font-size: 15px; font-weight: 800; }
.r08-fs-k small { color: var(--r08-muted); font-size: 12px; font-weight: 500; }
.r08-fs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.r08-fs-k.is-sub { margin: 14px 0 8px; font-size: 13px; color: var(--r08-sub); }
/* 도구 줄 카드 할인 칩 (켜고 끄기) */
.r08-pill.is-card { gap: 4px; }
.r08-pill.is-card .rs-icon { width: 15px; height: 15px; }

/* ── 목록 */
.r08-list-head { padding: 14px 16px 6px; }
.r08-crumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--r08-muted); font-size: 12px; }
.r08-crumb i { color: var(--r08-surface-2); font-style: normal; }
.r08-crumb a:hover { color: var(--brand-700); }
.r08-crumb [aria-current] { color: var(--r08-sub); font-weight: 700; }
.r08-crumb-back { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -6px; border-radius: 10px; color: var(--r08-text); }
.r08-crumb-back:hover { background: var(--r08-surface); }
.r08-crumb-back .rs-icon { width: 20px; height: 20px; }
.r08-list-head h1 { margin-top: 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.25; }
.r08-list-count { margin-top: 2px; color: var(--r08-muted); font-size: 13px; }
.r08-list-count b { color: var(--brand-700); }
.r08-toolbar { position: sticky; top: var(--r08-hdr, 110px); z-index: 30; display: flex; align-items: center; gap: 6px; padding: 10px 0 10px 16px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); }
.r08-toolbar .r08-chip-row { flex: 1; min-width: 0; padding: 0; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.r08-toolbar .r08-pill { height: 36px; font-size: 13px; }
.r08-tool { display: inline-flex; align-items: center; gap: 5px; flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--r08-bg); box-shadow: inset 0 0 0 1px var(--r08-surface-2); color: var(--r08-sub); font-size: 13px; font-weight: 700; cursor: pointer; }
.r08-tool .rs-icon { width: 16px; height: 16px; }
.r08-tool em { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-style: normal; }
.r08-tool.is-on { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-800); }
.r08-sort { position: relative; flex: none; margin-right: 10px; }
.r08-sort summary { display: inline-flex; align-items: center; gap: 3px; height: 36px; padding: 0 6px 0 10px; border-radius: 12px; color: var(--r08-text); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.r08-sort summary::-webkit-details-marker { display: none; }
.r08-sort summary .rs-icon { width: 16px; height: 16px; }
.r08-sort summary:hover { background: var(--r08-surface); }
.r08-sort-menu { position: absolute; right: 0; top: 42px; z-index: 5; width: 180px; padding: 6px; border-radius: 16px; background: var(--r08-bg); box-shadow: 0 0 0 1px var(--r08-line), 0 16px 40px -14px rgba(17, 20, 24, .35); }
.r08-sort-menu a { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border-radius: 11px; color: var(--r08-sub); font-size: 14px; font-weight: 600; }
.r08-sort-menu a:hover { background: var(--r08-surface); }
.r08-sort-menu a.is-on { color: var(--brand-700); font-weight: 800; }
.r08-sort-menu .rs-icon { width: 17px; height: 17px; }
.r08-chip-row.is-brand { padding-top: 2px; padding-bottom: 6px; }
.r08-chip-row.is-brand .r08-pill { height: 32px; padding: 0 12px; font-size: 13px; }
.r08-active-f { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 16px 0; }
.r08-active-f a { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-800); font-size: 12px; font-weight: 700; }
.r08-active-f .rs-icon { width: 14px; height: 14px; }
.r08-grid2.is-feed { padding-top: 16px; }
.r08-pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 28px 16px 10px; }
.r08-pg, .r08-pg-step { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 14px; color: var(--r08-sub); font-weight: 700; }
.r08-pg:hover, a.r08-pg-step:hover { background: var(--r08-surface); }
.r08-pg.is-on { background: var(--r08-text); color: #fff; }
.r08-pg-step { background: var(--r08-surface); }
.r08-pg-step .rs-icon { width: 20px; height: 20px; }
.r08-pg-step.is-off { color: #c8ccd3; background: none; }
.r08-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 24px 30px; text-align: center; }
.r08-empty-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 26px; background: var(--brand-50); color: var(--brand-700); }
.r08-empty-ic .rs-icon { width: 34px; height: 34px; }
.r08-empty h2 { font-size: 20px; font-weight: 800; }
.r08-empty p { color: var(--r08-muted); font-size: 14px; line-height: 1.55; }
.r08-empty .r08-btn { width: 100%; max-width: 280px; }


/* ══ r08 실제 몰 보강 (시안에 없던 실제 데이터·공통 화면 대응) */
.r08-pg:hover, a.r08-pg-step:hover { background: var(--r08-surface); }
.r08-shell { padding-bottom: 24px; }
.r08-side { max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: none; }
.r08-side::-webkit-scrollbar { display: none; }
.r08-app { padding-bottom: 0; }

/* 로고 그림 */
.r08-logo-img { display: block; width: auto; max-width: 150px; max-height: 32px; object-fit: contain; }
.r08-logo-img--m { display: none; }
.r08-side-logo .r08-logo-img { max-width: 200px; max-height: 44px; }
.r08-side-tag a { color: var(--brand-800); }
/* 왼쪽 패널: 관리자가 정한 메뉴 */
.r08-side-menu { display: flex; flex-direction: column; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .78); box-shadow: 0 1px 0 var(--brand-a10); }
.r08-side-menu a { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 12px; color: var(--r08-sub); font-size: 14px; font-weight: 700; }
.r08-side-menu a.is-sub { min-height: 32px; padding-left: 24px; color: var(--r08-muted); font-size: 13px; font-weight: 500; }
.r08-side-menu a:hover, .r08-side-menu a[aria-current] { background: var(--brand-50); color: var(--brand-800); }
/* 앱 띠: 관리자 링크 */
.r08-strip-acc { gap: 0; }
.r08-strip-acc a { padding: 0 6px; }
.r08-strip-acc a + a { border-left: 1px solid var(--r08-surface-2); }
.r08-strip-acc .is-admin { color: var(--brand-700); font-weight: 700; }
.r08-top-row .r08-logo { max-width: 40%; }
.r08-top-row .r08-logo b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 오른쪽 패널: 상담 요점·버튼 */
.r08-panel-points { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--r08-surface); font-size: 13px; color: var(--r08-sub); }
.r08-panel-points li { display: flex; align-items: center; gap: 6px; }
.r08-panel-points .rs-icon { width: 15px; height: 15px; color: var(--brand); }
.r08-panel-go { width: 100%; margin-top: 12px; }

/* 바텀시트 보강 */
.r08-sheet { font-family: var(--r08-font); }
.r08-sheet-panel { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.r08-sheet-h { margin: 18px 16px 10px; color: var(--r08-muted); font-size: 13px; font-weight: 800; }
.r08-sheet-search { margin: 4px 16px 14px; }
.r08-sheet-acc { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.r08-sheet-menu li > a { min-height: 52px; }
.r08-sheet-sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px 12px; }
.r08-sheet-sub a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--r08-bg); color: var(--r08-sub); font-size: 13px; font-weight: 600; }
.r08-sheet-cs { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.r08-sheet .r08-cat-grid { grid-template-columns: repeat(4, 1fr); }

/* 메인 보강 */
.r08-quick a { cursor: pointer; }
.r08-budget-k small { margin-left: 2px; color: var(--r08-muted); font-size: 12px; font-weight: 500; }
.r08-pill.is-static { cursor: default; }
.r08-pill.is-static:hover { background: var(--r08-surface); color: var(--r08-sub); }
.r08-tab-desc small { margin-left: auto; color: var(--r08-muted); font-size: 12px; font-weight: 600; }
.r08-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #c3c7ce; }
.r08-noimg .rs-icon { width: 40%; height: 40%; }
.r08-arow-img > .rs-icon { width: 60%; height: 60%; color: #c3c7ce; }
.r08-review figcaption a { color: inherit; }
.r08-cs-act { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.r08-cs-kakao { grid-column: 1 / -1; }
.r08-hscroll { overscroll-behavior-x: contain; }

/* 푸터 보강 */
.r08-foot-cs small { display: block; }
.r08-foot-kakao { display: inline-flex !important; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--r08-surface); font-size: 13px !important; font-weight: 700 !important; color: var(--r08-sub) !important; }
.r08-foot-kakao .rs-icon { width: 15px; height: 15px; }
.r08-foot-co dd a { color: inherit; }
.r08-foot-sns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.r08-foot-sns a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--r08-surface); color: var(--sns-color, var(--r08-sub)); }
.r08-foot-sns svg { width: 17px; height: 17px; }
.r08-foot-ict { margin-top: 12px; }
.r08-foot-ict img { display: inline-block; max-height: 48px; }

/* 목록 보강 */
.r08-list { padding-bottom: 10px; }
.r08-active-f .is-reset { background: none; color: var(--r08-muted); text-decoration: underline; }
.r08-pg.is-gap { min-width: 20px; color: var(--r08-muted); }
.r08-list .r08-sort-menu { z-index: 35; }
.r08-empty .r08-btn { height: 48px; }

/* ── 하단 탭바 + 공통 상담 바(.floating-cslt-bar): PC 는 앱 화면 아래에 떠 있고 그 아래에 상담 바, 모바일은 탭바가 맨 아래 */
.r08-tabbar { bottom: 96px; }
.r08-tab .r08-dot-badge { top: 7px; right: calc(50% - 22px); }
body[data-skin] .floating-cslt-bar { z-index: 900; }

/* ── 공통 화면(장바구니·주문·마이페이지·검색·게시판 등)은 앱 화면을 사이트 폭으로 — 옆 패널은 숨긴다 */
.r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) { grid-template-columns: minmax(0, var(--rs-site-width, 1032px)); }
.r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-side { display: none; }
.r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-app .mublo-content,
.r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-app .mublo-content--wide { padding: 20px 24px 32px; }
/* 코어 검색 결과 화면(/search) — 고정 파랑 대신 대표 색 */
body[data-skin] .search-form__inner:focus-within { border-color: var(--brand); }
body[data-skin] .search-form__btn, body[data-skin] .search-summary__count { background: var(--brand); color: var(--on-brand); }
body[data-skin] .search-result-item__title:hover, body[data-skin] .search-result-item__price, body[data-skin] .search-group__more a { color: var(--brand-700); }

.r08-sec { padding: 26px 0 8px; }
.r08-sec.is-tint { padding-bottom: 22px; }
.r08-greet + .r08-sec, .r08-banners + .r08-sec { border-top: 0; }
.r08-tabbar .r08-tab { font-size: 11px; font-weight: 700; color: #9ea4ae; }
.r08-tabbar .r08-tab.is-on { color: var(--brand); }


/* ══ 상품 상세 — 공통 조각(마크업 그대로)에 앱 모양만 입힌다. 범위는 .r08-dt
 *    꽉 찬 사진 → 사진 위로 올라오는 둥근 시트(상품명·옵션·요금·버튼) → 세그먼트 탭 → 관련 상품 */
.r08-dt { font-family: var(--r08-font); letter-spacing: -0.01em; color: var(--r08-text); background: var(--r08-bg); }
.r08-dt *, .r08-dt *::before, .r08-dt *::after { box-sizing: border-box; }
.r08-dt-crumb .goods-view-breadcrumb { max-width: none; margin: 0; padding: 10px 16px 8px; font-size: 12px; }
.r08-dt-crumb .goods-list-breadcrumb__item, .r08-dt-crumb .goods-list-breadcrumb__item a { color: var(--r08-muted); }
.r08-dt-crumb .goods-list-breadcrumb__item.is-current { color: var(--r08-sub); font-weight: 700; }

/* 사진: 앱 폭 가득, 아래 썸네일 줄 */
.r08-dt .goods-image { position: static; width: 100%; max-width: none; margin: 0; padding: 0; background: #fff; }
.r08-dt .goods-image .goods-image-container { border: 0; border-radius: 0; background: #fff; overflow: hidden; }
.r08-dt .goods-image .goods-thumb-container { padding: 12px 16px 34px; background: #fff; }
.r08-dt .goods-image .goods-thumb-container .swiper-slide { border: 0; border-radius: 14px; background: var(--r08-surface); overflow: hidden; }
.r08-dt .goods-image .goods-thumb-container .swiper-slide-thumb-active:not(:has(.placeholder)) { box-shadow: inset 0 0 0 2px var(--brand); }
.r08-dt .goods-image .swiper-button-prev, .r08-dt .goods-image .swiper-button-next { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--r08-text); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); }
.r08-dt .goods-image .swiper-button-prev::after, .r08-dt .goods-image .swiper-button-next::after { font-size: 14px; font-weight: 900; }

/* 시트 머리 + 구매 상자 */
.r08-dt-sheet { position: relative; z-index: 1; margin-top: -22px; padding: 22px 16px 22px; border-radius: 26px 26px 0 0; background: var(--r08-bg); box-shadow: 0 -10px 24px -18px rgba(17, 20, 24, .35); }
.r08-dt-head { display: flex; margin-bottom: 8px; }
.r08-dt-brand { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px 0 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-800); font-size: 12.5px; font-weight: 800; }
.r08-dt-brand .rs-icon { width: 15px; height: 15px; }
.r08-dt-brand:hover { background: var(--brand-100); }
.r08-dt .goods-info { width: 100%; max-width: none; margin: 0; padding: 0; }
.r08-dt .goods-title { padding: 0 0 4px; border: 0; }
.r08-dt .goods-title .goods-name { margin: 0; font-size: 21px; line-height: 1.38; font-weight: 800; letter-spacing: -0.035em; color: var(--r08-text); }
.r08-dt .goods-title .goods-name .goods-name-suffix { font-size: 14px; font-weight: 600; color: var(--r08-muted); }
.r08-dt .goods-title .goods-meta { gap: 6px; margin-top: 8px; }
.r08-dt .goods-title .brand-name { border: 0; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.r08-dt .goods-title .model-name { font-size: 12.5px; color: var(--r08-muted); }

.r08-dt .goods-condition { margin: 16px -16px 0; padding: 18px 16px 4px; border: 0; border-top: 8px solid var(--r08-surface); border-radius: 0; background: var(--r08-bg); }
.r08-dt .goods-condition::before { content: ""; display: block; width: 40px; height: 4px; margin: -6px auto 14px; border-radius: 2px; background: var(--r08-surface-2); }
.r08-dt .goods-rental-stack, .r08-dt .goods-option-stack { display: grid; gap: 16px; }
.r08-dt .condition-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.r08-dt .condition-row.is-hidden { display: none; }
.r08-dt .condition-title { margin: 0; padding: 0; font-size: 14px; font-weight: 800; color: var(--r08-sub); }
.r08-dt .condition-title.d-flex { flex-direction: row; align-items: baseline !important; justify-content: space-between; gap: 6px; }
.r08-dt .condition-radio-label { position: relative; min-height: 52px; padding: 8px 12px; border: 0 !important; border-radius: 16px; background: var(--r08-surface); font-size: 14px; font-weight: 700; color: var(--r08-sub); line-height: 1.3; transition: background .15s, color .15s, transform .1s; }
.r08-dt .condition-radio-label:hover { background: var(--brand-100); color: var(--brand-800); }
.r08-dt .condition-radio-label:active { transform: scale(.97); }
.r08-dt .condition-radio-label__sub { font-size: 11.5px; font-weight: 600; opacity: .8; }
.r08-dt .btn-check:checked + .condition-radio-label { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 18px -10px var(--brand); }
.r08-dt .btn-check:checked + .condition-radio-label .condition-radio-label__sub { opacity: .85; }
.r08-dt .condition-item.item-card .accordion { border: 0; border-radius: 16px; background: var(--r08-surface); overflow: hidden; }
.r08-dt .condition-item.item-card .accordion-item { border: 0; background: transparent; }
.r08-dt .condition-item.item-card .accordion-button { min-height: 52px; background: var(--r08-surface); font-size: 14px; font-weight: 700; color: var(--r08-sub); box-shadow: none; }
.r08-dt .condition-item.item-card .condition-card-benefit .btn-check:checked + .condition-radio-label { background: var(--brand); color: var(--on-brand); }
.r08-dt .form-select { min-height: 50px; border: 0; border-radius: 15px; background-color: var(--r08-surface); font-size: 14px; }
.r08-dt .form-select:focus { box-shadow: inset 0 0 0 2px var(--brand); }

.r08-dt .goods-price { margin-top: 18px !important; padding: 16px; border: 0; border-radius: 20px; background: var(--r08-surface); white-space: normal; }
.r08-dt .goods-price dt { font-size: 13.5px; color: var(--r08-sub); }
.r08-dt .goods-price dd { font-size: 14.5px; }
.r08-dt .goods-price .discount-info dd { color: var(--brand-700); font-weight: 800; }
.r08-dt .goods-price .total-info { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--r08-surface-2); }
.r08-dt .goods-price .total-info dt { font-size: 15px; font-weight: 800; color: var(--r08-text); }
.r08-dt .goods-price .total-info dd { color: var(--brand); font-size: 18px; }
.r08-dt .goods-price .total-info dd .amount { font-size: 1.55em; font-weight: 900; letter-spacing: -0.03em; }
.r08-dt .goods-price .promo-info dl { color: var(--brand-800); }
.r08-dt .goods-price .promo-info .promo-name { border: 0; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.r08-dt .rental-summary { margin-top: 14px; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--brand-50); color: var(--brand-900); }
.r08-dt .rental-summary-title { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.r08-dt .goods-buttons { margin-top: 16px !important; gap: 8px; }
.r08-dt .goods-action-btn { min-height: 52px; border-radius: 16px; font-weight: 800; transition: transform .1s, filter .15s; }
.r08-dt .goods-action-btn:active { transform: scale(.97); }
.r08-dt .goods-buttons .goods-action-btn--primary.btn-counsel { border: 0; background: var(--r08-surface); color: var(--r08-sub); font-size: 13px; }
.r08-dt .goods-buttons .goods-action-btn--primary.btn-counsel:hover { background: var(--brand-50); color: var(--brand-800); }
.r08-dt .goods-buttons .btn-counsel[data-consultation] { background: var(--brand-50); color: var(--brand-800); }
.r08-dt .goods-buttons .btn-order { min-height: 56px; font-size: 16px; }
.r08-dt .goods-buttons .goods-action-btn--primary.btn-order { border: 0; background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 22px -12px var(--brand); }
.r08-dt .goods-buttons .goods-action-btn--primary.btn-order:hover { filter: brightness(1.07); }
.r08-dt .goods-buttons .goods-action-btn--outline.btn-order { border: 0; background: var(--brand-50); color: var(--brand-800); }
.r08-dt .goods-buttons .goods-action-btn--outline.btn-order:hover { background: var(--brand-100); }
.r08-dt .goods-buttons .goods-wish.active { color: var(--brand); }

/* 상세 탭 — 세그먼트 모양, 앱바 아래에 붙는다 */
.r08-dt-tabs { border-top: 8px solid var(--r08-surface); }
.r08-dt .goods-detail-tab-nav { padding: 10px 16px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); }
.r08-dt .goods-detail-tab-nav--sticky { top: var(--r08-hdr, 110px) !important; }
.r08-dt .goods-detail-tab-list, .r08-dt .goods-detail-tab-list.nav { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 4px; overflow-x: auto; border: 0; border-radius: 15px; background: var(--r08-surface); scrollbar-width: none; }
.r08-dt .goods-detail-tab-list::-webkit-scrollbar { display: none; }
.r08-dt .goods-detail-tab-item { flex: 1 0 auto; }
.r08-dt .goods-detail-tab-link { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 11px; background: none; color: var(--r08-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.r08-dt .goods-detail-tab-link:hover { color: var(--r08-text); }
.r08-dt .goods-detail-tab-link.active { background: var(--r08-bg); color: var(--r08-text); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .18); }
.r08-dt .goods-detail-tab-count { padding: 0; background: none; color: var(--brand); font-size: 12px; font-weight: 800; }
.r08-dt .goods-detail-tab-content, .r08-dt .tab-content { padding-left: 16px; padding-right: 16px; }
.r08-dt .goods-detail-tab-content img, .r08-dt .tab-content img { max-width: 100%; height: auto; }

/* 같은 카테고리 상품 — 앱 카드 모양, 2열 */
.r08-dt-related { padding: 26px 16px 24px; border-top: 8px solid var(--r08-surface); }
.r08-dt .related-goods { margin: 0; padding: 0; }
.r08-dt .related-goods__heading { margin: 0 0 14px; font-size: 19px; font-weight: 800; letter-spacing: -0.035em; }
.r08-dt .related-goods__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin: 0; }
.r08-dt .related-goods__grid > * { width: auto; max-width: none; padding: 0; }
.r08-dt .related-goods__card { border: 0; background: none; box-shadow: none; padding: 0; }
.r08-dt .related-goods__image { aspect-ratio: 1; width: 100%; height: auto; object-fit: contain; padding: 12px; border: 0; border-radius: var(--r08-r); background: var(--r08-surface); }
.r08-dt .related-goods__body { padding: 9px 0 0; }
.r08-dt .related-goods__model { font-size: 12px; font-weight: 600; color: var(--r08-muted); }
.r08-dt .related-goods__name { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--r08-text); }
.r08-dt .related-goods__price { margin-top: 6px; font-size: 17px; font-weight: 800; color: var(--r08-text); }

/* 플로팅 주문 패널 (조각은 .r08-dt 밖 — 대표 색과 둥근 모양) */
.fix-cart-wrapper .fix-cart-inner { border-radius: 22px; }
.fix-cart-wrapper .fix-cart-action { border-radius: 14px; }
.fix-cart-wrapper { --rental-cta: var(--brand); }
.fix-cart-wrapper .fix-cart-action--primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* 상세 본문(상품마다 등록한 HTML)의 넓은 표는 앱 폭 안에서 옆으로 밀어 본다 */
.r08-dt .tab-content table { display: block; max-width: 100%; overflow-x: auto; }


/* ══ 반응형 */
@media (max-width: 1100px) {
  .r08-shell { grid-template-columns: var(--r08-app-w) 300px; }
  .r08-side-l { display: none; }
}
@media (max-width: 800px) {
  html body[data-skin] { background: var(--r08-bg); }
  .r08-shell, .r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) { display: block; padding: 0; }
  .r08-side, .r08-side-r { display: none; }
  .r08-app { min-height: 100vh; border-radius: 0; box-shadow: none; overflow: visible; }
  .r08-logo-img--pc { display: none; }
  .r08-logo-img--m { display: block; max-height: 30px; }
  .r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-app .mublo-content,
  .r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-app .mublo-content--wide { padding: 14px 16px 24px; }
  .r08-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--r08-tab-h) + env(safe-area-inset-bottom)); margin: 0; padding-bottom: env(safe-area-inset-bottom);
    border-radius: 20px 20px 0 0; box-shadow: 0 -1px 0 var(--r08-line), 0 -10px 30px -18px rgba(17, 20, 24, .3);
    z-index: 950;
  }
  /* 공통 상담 바를 탭바 위로 올리고(접으면 손잡이만 탭바 위로), 마지막 내용이 두 막대에 가리지 않게 아래 여백을 늘린다 */
  body[data-skin] .floating-cslt-bar { bottom: calc(var(--r08-tab-h) + 8px + env(safe-area-inset-bottom)); }
  body[data-skin] .floating-cslt-bar.is-hidden { bottom: calc(var(--r08-tab-h) + env(safe-area-inset-bottom) - var(--cslt-bar-h, 100px)); }
  .r08-app { padding-bottom: calc(var(--r08-tab-h) + 24px + env(safe-area-inset-bottom)); }
  /* 상세: 탭바 대신 공통 플로팅 주문 줄 */
  .r08-shell:has(.r08-dt) .r08-tabbar { display: none; }
  .r08-shell:has(.r08-dt) .r08-app { padding-bottom: 96px; }
  .r08-shell:has(.r08-dt) .r08-chips { display: none; }
  body[data-skin]:has(.r08-dt) .floating-cslt-bar { bottom: 10px; }
}
@media (max-width: 480px) {
  .r08-pager { gap: 4px; padding-inline: 8px; }
  .r08-pg, .r08-pg-step { min-width: 34px; height: 40px; border-radius: 12px; font-size: 14px; }
  .r08-pg.is-gap { min-width: 14px; }
}
@media (max-width: 360px) {
  .r08-logo b { display: none; }
  .r08-cat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 801px) { .r08-shell:not(:has(.r08-screen, .r08-page, .r08-dt)) .r08-tabbar { display: none; } }

/* PC 상세: 떠 있는 탭바가 가격·옵션·상세 탭을 덮지 않게 앱 화면 맨 아래에 둔다 */
@media (min-width: 801px) { .r08-shell:has(.r08-dt) .r08-tabbar { position: relative; bottom: auto; } }
/* PC 상세: 공통 플로팅 주문은 다른 스킨처럼 사이트 폭 하단 줄(아래 '플로팅 주문 줄')로 뜬다 — 오른쪽 패널은 다른 화면과 같게 둔다 */

/* ══ 플로팅 주문 줄 — PC 에서도 사이트 폭(--rs-site-width, 화면이 더 좁으면 화면 폭)에 맞춘 하단 줄 (소유자: 모든 스킨의 하단 플로팅바는 웹사이트 넓이에 맞춘다).
   공통 조각(마크업·스크립트)은 그대로 두고 배치만 바꾼다: 왼쪽 = 조건(기간·관리·케어·카드), 오른쪽 = 요금·버튼. */
@media (min-width: 992px) {
  body[data-skin] .fix-cart-wrapper { left: 0; right: 0; bottom: 0; width: min(var(--rs-site-width, 1200px), 100%); margin: 0 auto; }
  body[data-skin] .fix-cart-wrapper.is-hidden { transform: translateY(calc(100% + 24px)); }
  body[data-skin] .fix-cart-wrapper .fix-cart-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "body foot"; border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, .14); }
  body[data-skin] .fix-cart-wrapper .fix-cart-header { grid-area: head; padding: 8px 18px; }
  body[data-skin] .fix-cart-wrapper .fix-cart-body { grid-area: body; flex-direction: row; flex-wrap: wrap; align-items: flex-start; align-content: center; gap: 10px 22px; max-height: none; overflow: visible; padding: 12px 18px; }
  body[data-skin] .fix-cart-wrapper .fix-cart-divider { display: none; }
  body[data-skin] .fix-cart-wrapper .fix-cart-options:empty { display: none; }
  body[data-skin] .fix-cart-wrapper .fix-cart-btn-group { flex-wrap: nowrap; }
  body[data-skin] .fix-cart-wrapper .fix-cart-btn-group .fix-cart-condition-btn { flex: 0 0 auto; padding-inline: 12px; white-space: nowrap; }
  body[data-skin] .fix-cart-wrapper .fix-cart-body select { width: 230px; max-width: 100%; }
  body[data-skin] .fix-cart-wrapper .fix-cart-footer { grid-area: foot; display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-top: 0; border-left: 1px solid var(--bs-border-color, var(--color-border)); }
  body[data-skin] .fix-cart-wrapper .fix-cart-price { min-width: 200px; }
  body[data-skin] .fix-cart-wrapper .fix-cart-buttons { width: 280px; margin-top: 0; }
  body[data-skin] .fix-cart-reopen { right: max(16px, calc((100% - var(--rs-site-width, 1200px)) / 2)); }
  body[data-skin]:has(.fix-cart-wrapper) { padding-bottom: 220px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  body[data-skin] .fix-cart-wrapper .fix-cart-footer { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
  body[data-skin] .fix-cart-wrapper .fix-cart-buttons { width: 260px; }
  body[data-skin] .fix-cart-wrapper .fix-cart-body select { width: 200px; }
}

/* ── PC(801px~)는 좌우 패널에 같은 메뉴(카테고리·바로가기·장바구니)가 있어 하단 탭바를 숨긴다 — 탭바는 휴대폰 화면에서만 */
@media (min-width: 801px) {
  .r08-tabbar { display: none; }
}
.r08-dots i { cursor: pointer; }
.r08-banner-track { cursor: grab; }
.r08-banner-track:active { cursor: grabbing; }

/* 목록 필터 — 누르면 0 개인 선택지(StorefrontListService disabled → $v->href: href 없음 + aria-disabled) 흐리게 */
.r08-scope a[aria-disabled="true"] { opacity: .4; cursor: default; pointer-events: none; }
