/**
 * FluxShop 렌탈 예약 — 프론트(차량 목록 · 차량 상세 · 달력 · 예약 패널)
 *
 * 원본: 클라이언트 시안 campingncar-main.html (#rent) · campingncar-detail.html 의 <style>.
 * 클래스명·값은 시안 그대로이고, 사이트·테마와 충돌하지 않도록 모든 규칙을 .fxrent 래퍼 아래로만 스코프했다.
 * (:root 변수 → .fxrent, body → .fxrent, 헤더·드로어·푸터·퀵버튼 등 사이트 공통부는 테마 몫이라 이식하지 않음)
 * 테마의 고정 헤더 높이는 --fxrent-header-h 로 덮어쓸 수 있다(기본은 시안 값 72px / 태블릿 이하 64px).
 */
/* ===================
   1. CSS Variables
   =================== */
.fxrent {
  --ink: #15191C;
  --ink-2: #3E464C;
  --muted: #687177;
  --line: #E4E7E8;
  --line-2: #EEF0F1;
  --bg: #FFFFFF;
  --bg-2: #F5F6F6;
  --brand: #0F5C6B;          /* 캠핑엔카 로고 딥 틸 */
  --brand-deep: #0A4552;
  --brand-soft: #E6F0F2;
  --brand-line: #BFD6DB;
  --sale: #D2432D;           /* 할인가 전용 */
  --sale-soft: #FCEBE7;
  --kakao: #FEE500;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-1: 0 1px 2px rgba(21, 25, 28, .06);
  --shadow-2: 0 8px 24px rgba(21, 25, 28, .10);
  --shadow-3: 0 18px 44px rgba(21, 25, 28, .16);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: .22s;

  --container: 1200px;
  --gutter: 24px;
  --header-h: var(--fxrent-header-h, 72px);
  --section-gap: 96px;
}
/* ===================
   2. Reset & Base
   =================== */
.fxrent *, .fxrent *::before, .fxrent *::after { box-sizing: border-box; margin: 0; padding: 0; }

.fxrent {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;

}
.fxrent img { max-width: 100%; display: block; }
.fxrent a { color: inherit; text-decoration: none; }
.fxrent button, .fxrent input, .fxrent select { font: inherit; color: inherit; }
.fxrent button { cursor: pointer; background: none; border: 0; }
.fxrent ul, .fxrent ol { list-style: none; }
.fxrent h1, .fxrent h2, .fxrent h3, .fxrent h4 { line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.fxrent p { text-wrap: pretty; }
.fxrent .num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fxrent [hidden] { display: none !important; }
.fxrent .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fxrent :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.fxrent .icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* ===================
   3. Layout
   =================== */
.fxrent .container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.fxrent .section { padding-block: var(--section-gap) 0; }
.fxrent .block-title { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.fxrent .list-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 56px 0 24px; }
.fxrent .list-head .block-title { margin: 0; }
.fxrent .list-head__side { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
/* ===================
   4. Components
   =================== */
/* Buttons */
.fxrent .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform .12s var(--ease); }
.fxrent .btn:active { transform: scale(.98); }
.fxrent .btn:disabled, .fxrent .btn:disabled:hover { background: var(--line); border-color: var(--line); color: var(--muted); cursor: default; transform: none; }
.fxrent .btn--primary { background: var(--brand); color: #fff; }
.fxrent .btn--primary:hover { background: var(--brand-deep); }
.fxrent .btn--line { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.fxrent .btn--line:hover { border-color: var(--ink); }
.fxrent .btn--ghost { color: var(--brand); padding: 0 12px; }
.fxrent .btn--ghost:hover { background: var(--brand-soft); }
.fxrent .btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.fxrent .icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.fxrent .icon-btn:hover { border-color: var(--ink); }
.fxrent .icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* Tags */
.fxrent .tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.fxrent .tag--brand { background: var(--brand-soft); color: var(--brand-deep); }
.fxrent .tag--sale { background: var(--sale-soft); color: var(--sale); }
.fxrent .tag--dark { background: rgba(21, 25, 28, .78); color: #fff; backdrop-filter: blur(6px); }

/* Spec line (차량 사양) */
.fxrent .specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink-2); }
.fxrent .specs li { display: inline-flex; align-items: center; gap: 5px; }
.fxrent .specs .icon { width: 16px; height: 16px; color: var(--muted); }

/* Price */
.fxrent .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fxrent .price__now { font-size: 18px; font-weight: 700; }
.fxrent .price__unit { font-size: 14px; color: var(--muted); }
.fxrent .price__was { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.fxrent .price__sale { color: var(--sale); }

/* Select pill (필터) */
.fxrent .select { position: relative; display: inline-flex; }
.fxrent .select select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 38px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.fxrent .select select:hover { border-color: var(--ink-2); }
.fxrent .select.is-active select { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.fxrent .select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
/* -------- Rent search + list (campingncar-main.html #rent) -------- */
.fxrent .filterbar__count { font-size: 15px; color: var(--muted); }
.fxrent .filterbar__count strong { color: var(--ink); font-weight: 700; }
.fxrent .date-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.fxrent .date-chip[hidden] { display: none; }
.fxrent .date-chip .icon { width: 16px; height: 16px; }
.fxrent .date-chip button { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.fxrent .date-chip button:hover { background: rgba(255, 255, 255, .16); }

.fxrent .grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.fxrent .grid-cards--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.fxrent .car { position: relative; display: flex; flex-direction: column; gap: 12px; }
.fxrent .car[hidden] { display: none; }
.fxrent .car__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.fxrent .car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fxrent .car:hover .car__media img { transform: scale(1.04); }
.fxrent .car__body { display: flex; flex-direction: column; gap: 4px; }
.fxrent .car__region { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.fxrent .car__region .icon { width: 14px; height: 14px; }
.fxrent .car__name { font-size: 17px; font-weight: 700; }
.fxrent .car__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.fxrent .car__link:focus-visible { outline: none; }
.fxrent .car__link:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 4px; }
.fxrent .car__price { margin-top: 6px; }
.fxrent .car__class { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }

.fxrent .car__avail { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--brand); }
.fxrent .car__avail[hidden] { display: none; }
.fxrent .car__avail .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.fxrent .empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 56px 24px; border: 1px dashed #CBD1D3; border-radius: var(--r-lg); }
.fxrent .empty[hidden] { display: none; }
.fxrent .empty__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--muted); }
.fxrent .empty__icon .icon { width: 26px; height: 26px; }
.fxrent .empty h3 { font-size: 19px; font-weight: 700; }
.fxrent .empty p { color: var(--muted); font-size: 15px; }
.fxrent .empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.fxrent .search-panel { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; padding: 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.fxrent .search-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fxrent .search-panel .select, .fxrent .search-panel .select select { width: 100%; }
.fxrent .search-panel .select select { border-radius: 10px; }
.fxrent .search-panel .btn { min-height: 44px; }
/* ===================
   5. Sections (상세)
   =================== */
.fxrent .detail { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; padding-top: 28px; }

/* -------- 대표 사진 + (모바일) 제목 -------- */
.fxrent .d-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.fxrent .d-media img { width: 100%; height: 100%; object-fit: cover; }
.fxrent .d-head-m { display: none; }
.fxrent .detail__main { min-width: 0; }

/* -------- 탭 -------- */
.fxrent .d-tabs { position: sticky; top: var(--header-h); z-index: 20; display: flex; margin-top: 32px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.fxrent .d-tab { flex: 1; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fxrent .d-tab:hover { color: var(--ink-2); }
.fxrent .d-tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.fxrent .d-tab .num { font-weight: 500; color: inherit; }
.fxrent .d-panel { padding-top: 24px; scroll-margin-top: calc(var(--header-h) + 64px); }

.fxrent .d-imgs { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.fxrent .d-imgs figure { scroll-margin-top: calc(var(--header-h) + 64px); }
.fxrent .d-imgs img { width: 100%; height: auto; display: block; }

/* Q&A 빈 상태 */
.fxrent .qna-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 56px 24px; border: 1px dashed #CBD1D3; border-radius: var(--r-lg); }
.fxrent .qna-empty__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--muted); }
.fxrent .qna-empty__icon .icon { width: 26px; height: 26px; }
.fxrent .qna-empty__title { font-size: 19px; font-weight: 700; }
.fxrent .qna-empty p { font-size: 15px; color: var(--muted); }
.fxrent .qna-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }

/* -------- 후기 · Q&A 목록 (U9) --------
   시안 부분(.rv-head … .rv-more)은 campingncar-detail.html 그대로(.fxrent 스코프만 추가).
   아래 「시안에 없는 부품」은 작성 폼·평균 별점·페이지 이동·답글·안내 문구로, 시안의 토큰(--line, --r, --brand …)만 써서 만들었다. */
.fxrent .rv-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.fxrent .rv-head__title { font-size: 20px; font-weight: 700; }
.fxrent .rv-head__title .num { color: var(--brand); }
.fxrent .rv-head__side { display: flex; align-items: center; gap: 8px; }
.fxrent .rv-photo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.fxrent .rv-photo:hover { background: var(--bg-2); }
.fxrent .rv-photo input { width: 18px; height: 18px; accent-color: var(--brand); }
.fxrent .rv { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.fxrent .rv__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fxrent .stars { display: inline-flex; gap: 2px; color: var(--ink); }
.fxrent .stars svg { width: 15px; height: 15px; fill: currentColor; }
.fxrent .rv__meta { font-size: 13px; color: var(--muted); }
.fxrent .rv__text { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.fxrent .rv-more { display: flex; justify-content: center; margin-top: 24px; }

/* 시안에 없는 부품 */
.fxrent .rv-list { margin: 0; }
.fxrent .stars svg.off { color: var(--line); }
.fxrent .rv-avg { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); vertical-align: 1px; }
.fxrent .rv-avg svg { width: 16px; height: 16px; fill: var(--ink); }
.fxrent .rv-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.fxrent .rv-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--r); font-size: 14px; font-weight: 500; }
.fxrent .rv-msg--ok { background: var(--brand-soft); color: var(--brand-deep); }
.fxrent .rv-msg--err { background: var(--sale-soft); color: var(--sale); }
.fxrent .rv__text--muted { color: var(--muted); }
.fxrent .rv__photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fxrent .rv__photo { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-2); }
.fxrent .rv__reply { margin-top: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--bg-2); }
.fxrent .rv__reply strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.fxrent .rv__reply p { margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.fxrent .qa-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.fxrent .qa-badge--wait { background: var(--bg-2); color: var(--ink-2); }
.fxrent .qa-badge--done { background: var(--brand-soft); color: var(--brand-deep); }
.fxrent .qa-badge--secret { border: 1px solid var(--line); color: var(--muted); }

/* 작성 폼 */
.fxrent .rv-form { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.fxrent .rv-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-bottom: 16px; border: 0; }
.fxrent .rv-form__field > label, .fxrent .rv-form__field > legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.fxrent .rv-form__hint { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.fxrent .rv-form textarea, .fxrent .rv-form select, .fxrent .rv-form input[type="file"] { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.fxrent .rv-form textarea { min-height: 120px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.fxrent .rv-form select { min-height: 48px; padding: 0 14px; }
.fxrent .rv-form input[type="file"] { min-height: 48px; padding: 10px 12px; }
.fxrent .rv-form textarea:hover, .fxrent .rv-form select:hover, .fxrent .rv-form input[type="file"]:hover { border-color: var(--ink-2); }
.fxrent .rv-form textarea:focus-visible, .fxrent .rv-form select:focus-visible, .fxrent .rv-form input[type="file"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.fxrent .rv-form__check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.fxrent .rv-form__check input { width: 18px; height: 18px; accent-color: var(--brand); }
.fxrent .rv-form__foot { display: flex; flex-wrap: wrap; gap: 8px; }
.fxrent .rv-stars-input { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-self: flex-start; }
.fxrent .rv-stars-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fxrent .rv-stars-input label { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--line); cursor: pointer; transition: color var(--dur) var(--ease); }
.fxrent .rv-stars-input label svg { width: 28px; height: 28px; fill: currentColor; }
.fxrent .rv-stars-input input:checked ~ label, .fxrent .rv-stars-input label:hover, .fxrent .rv-stars-input label:hover ~ label { color: var(--ink); }
.fxrent .rv-stars-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r-sm); }

/* 페이지 이동 */
.fxrent .rv-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 24px; }
.fxrent .rv-pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fxrent .rv-pager__link:hover { background: var(--bg-2); }
.fxrent .rv-pager__link.is-current { background: var(--ink); color: #fff; font-weight: 600; }
.fxrent .rv-pager__gap { min-width: 24px; text-align: center; color: var(--muted); }
.fxrent .d-tabs { scroll-margin-top: var(--header-h); }
@media (max-width: 768px) {
  .fxrent .rv-form { padding: 16px; }
  .fxrent .rv-form__foot .btn { flex: 1; }
  .fxrent .rv__photo { width: 72px; height: 72px; }
}

/* -------- 예약 패널 -------- */
.fxrent .bk { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 32px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); overflow: hidden; }
.fxrent .bk__sheet-head { display: none; }
.fxrent .bk__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 24px 8px; scrollbar-width: thin; }
.fxrent .bk__intro { padding-top: 24px; }
.fxrent .bk__scroll { scroll-padding-top: 76px; }
.fxrent .bk-steps { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; margin: 16px -24px 0; padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--line-2); }
.fxrent .bk-steps a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fxrent .bk-steps a b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; font-variant-numeric: tabular-nums; }
.fxrent .bk-steps a:hover { background: var(--bg-2); color: var(--ink); }
.fxrent .bk-steps a[aria-current="step"] { background: var(--ink); color: #fff; }
.fxrent .bk-steps a[aria-current="step"] b { border-color: #fff; }
.fxrent .bk-steps a .done { width: 14px; height: 14px; stroke-width: 2.6; }
.fxrent .bk__foot { position: relative; }
.fxrent .bk__foot::before { content: ''; position: absolute; left: 0; right: 12px; bottom: 100%; height: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; opacity: 0; transition: opacity .2s var(--ease); }
.fxrent .bk.has-more .bk__foot::before { opacity: 1; }
.fxrent .bk-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-bottom: 10px; border-radius: 10px; background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 600; transition: background-color var(--dur) var(--ease); }
.fxrent .bk-more:hover { background: var(--line-2); }
.fxrent .bk-more .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.fxrent .bk-total__price.is-empty { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.fxrent .bk__kicker { font-size: 14px; font-weight: 600; color: var(--brand); }
.fxrent .bk__title { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.fxrent .bk__tagline { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.fxrent .bk__from { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.fxrent .bk__from strong { font-size: 18px; font-weight: 700; }
.fxrent .bk__from span { font-size: 14px; color: var(--muted); }

.fxrent .bk-step { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line-2); }
.fxrent .bk-step__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.fxrent .bk-step__title b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.fxrent .bk-step__title small { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }

/* 달력 */
.fxrent .bcal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fxrent .bcal__title { font-size: 16px; font-weight: 700; }
.fxrent .bcal__nav { display: flex; gap: 6px; }
.fxrent .bcal__nav .icon-btn { width: 44px; height: 44px; }
.fxrent .bcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.fxrent .bcal__dow { padding: 6px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.fxrent .bcal__dow.is-sun { color: var(--sale); }
.fxrent .bday { position: relative; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.fxrent .bday small { font-size: 11px; font-weight: 700; line-height: 1.2; }
.fxrent .bday:not(:disabled):hover { background: var(--bg-2); border-radius: 10px; }
.fxrent .bday.is-sun { color: var(--sale); }
.fxrent .bday.is-peak::before { content: ''; position: absolute; top: 6px; right: calc(50% - 14px); width: 5px; height: 5px; border-radius: 50%; background: var(--sale); }
.fxrent .bday.is-today { text-decoration: underline; text-underline-offset: 3px; }
.fxrent .bday:disabled { color: #BCC2C5; cursor: default; }
.fxrent .bday.is-booked:disabled { text-decoration: line-through; }
.fxrent .bday.is-range { background: var(--brand-soft); color: var(--brand-deep); border-radius: 0; }
.fxrent .bday.is-start, .fxrent .bday.is-end { background: var(--brand); color: #fff; border-radius: 10px; }
.fxrent .bday.is-start.has-end { border-radius: 10px 0 0 10px; }
.fxrent .bday.is-end { border-radius: 0 10px 10px 0; }
.fxrent .bday.is-start:hover, .fxrent .bday.is-end:hover { background: var(--brand-deep); }
.fxrent .bday.is-start.has-end.is-sat, .fxrent .bday.is-end.is-sun { border-radius: 10px; }
.fxrent .bday.is-range.is-sun { border-radius: 10px 0 0 10px; }
.fxrent .bday.is-range.is-sat { border-radius: 0 10px 10px 0; }
.fxrent .bcal__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.fxrent .bcal__legend span { display: inline-flex; align-items: center; gap: 5px; }
.fxrent .bcal__legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--sale); }
.fxrent .bcal__hint { margin-top: 8px; font-size: 13px; color: var(--brand-deep); font-weight: 600; min-height: 20px; }

.fxrent .bk-sum { margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); }
.fxrent .bk-sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fxrent .bk-sum__date { font-size: 15px; font-weight: 600; }
.fxrent .bk-sum__date b { color: var(--brand); margin-right: 6px; }
.fxrent .bk-sum__price { font-size: 17px; font-weight: 700; white-space: nowrap; }
.fxrent .bk-sum__rates { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.fxrent .bk-note { display: flex; gap: 8px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-deep); font-size: 13px; line-height: 1.55; }
.fxrent .bk-note .icon { width: 16px; height: 16px; margin-top: 2px; }
.fxrent .bk-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* 인원 · 옵션 */
.fxrent .opt-group + .opt-group { margin-top: 18px; }
.fxrent .opt-group__title { font-size: 13px; font-weight: 700; color: var(--muted); padding-bottom: 4px; }
.fxrent .opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.fxrent .opt[hidden] { display: none; }
.fxrent .opt__name { font-size: 15px; font-weight: 600; line-height: 1.45; }
.fxrent .opt__price { grid-column: 1; font-size: 13px; color: var(--muted); }
.fxrent .opt__qty { grid-column: 2; grid-row: 1 / span 2; }
.fxrent .opt.is-on .opt__name { color: var(--brand-deep); }
.fxrent .opt--pick { margin-top: 8px; padding: 14px; border: 1px solid var(--brand-line); border-radius: var(--r); background: var(--brand-soft); }
.fxrent .opt--pick .opt__price { color: var(--ink-2); }
.fxrent .opt--pick .opt__badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-bottom: 4px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.fxrent .opt__more { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 44px; margin: -6px 0; padding-right: 8px; font-size: 13px; font-weight: 600; color: var(--brand); }
.fxrent .opt__more .icon { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.fxrent .opt__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.fxrent .opt__desc { grid-column: 1 / -1; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.fxrent .opt__desc p + p, .fxrent .opt__desc p + ul, .fxrent .opt__desc ul + p { margin-top: 6px; }
.fxrent .opt__desc strong { color: var(--ink); }
.fxrent .opt__desc ul { padding-left: 16px; list-style: disc; }
.fxrent .opt__auto { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--brand-deep); }
.fxrent .opt__auto.is-warn { color: var(--sale); }
.fxrent .opt__auto.is-warn::before { content: '! '; font-weight: 800; }
.fxrent .opt-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 4px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fxrent .opt-toggle:hover { background: var(--bg-2); color: var(--ink); }
.fxrent .opt-toggle .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.fxrent .opt-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.fxrent .qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--line); border-radius: 999px; transition: border-color var(--dur) var(--ease); }
.fxrent .opt.is-on .qty, .fxrent .qty.is-on { border-color: var(--brand); }
.fxrent .qty button { position: relative; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); }
.fxrent .qty button::before { content: ''; position: absolute; inset: -3px; }
.fxrent .qty button:hover:not(:disabled) { background: var(--bg-2); }
.fxrent .qty button:disabled { color: #C3C8CB; cursor: default; }
.fxrent .qty button .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.fxrent .qty output { min-width: 26px; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 패널 하단: 합계 + 예약 */
.fxrent .bk__foot { padding: 14px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
.fxrent .bk-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fxrent .bk-total__label { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -4px 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.fxrent .bk-total__label .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.fxrent .bk-total__label[aria-expanded="true"] .icon { transform: rotate(180deg); }
.fxrent .bk-total__price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.fxrent .bk-lines { margin: 6px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); font-size: 13px; color: var(--ink-2); }
.fxrent .bk-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.fxrent .bk-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fxrent .bk-approve { display: flex; gap: 6px; margin: 8px 0 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fxrent .bk-approve .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--brand); }
.fxrent .bk-approve strong { color: var(--ink-2); }
.fxrent .bk-cta { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.fxrent .bk-cta .btn--primary { min-height: 52px; font-size: 17px; }

/* 모바일 하단 예약 바 */
.fxrent .m-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(21, 25, 28, .06); }
.fxrent .m-book__text { flex: 1; min-width: 0; line-height: 1.35; }
.fxrent .m-book__text strong { display: block; font-size: 18px; font-weight: 800; }
.fxrent .m-book__text span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxrent .m-book .btn { min-height: 48px; padding: 0 28px; }
.fxrent .bk-dim { position: fixed; inset: 0; z-index: 140; background: rgba(21, 25, 28, .45); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.fxrent .bk-dim.is-open { opacity: 1; visibility: visible; }
/* ===================
   4-b. 시안에 없어 최소로 추가한 부분 (시안 토큰·값 재사용)
   =================== */
/* 검색 패널의 날짜 입력 — .select select 와 같은 값 */
.fxrent .search-panel input[type="date"] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; transition: border-color var(--dur) var(--ease); }
.fxrent .search-panel input[type="date"]:hover { border-color: var(--ink-2); }
.fxrent .date-chip a { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.fxrent .date-chip a:hover { background: rgba(255, 255, 255, .16); }
.fxrent .date-chip a:focus-visible { outline-color: #fff; }

/* 상세정보 패널: 요금표 · 차량 정보 · 특징 · 설명 · 사진 */
.fxrent .d-sec + .d-sec { margin-top: 40px; }
.fxrent .d-sec__title { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 20px; font-weight: 700; }
.fxrent .d-rates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fxrent .d-rates th, .fxrent .d-rates td { padding: 14px 8px; border-bottom: 1px solid var(--line-2); font-size: 15px; text-align: right; }
.fxrent .d-rates thead th { font-size: 13px; font-weight: 600; color: var(--muted); }
.fxrent .d-rates tbody th { font-weight: 600; color: var(--ink-2); text-align: left; }
.fxrent .d-rates td { font-weight: 700; }
.fxrent .d-rates td.is-empty { font-weight: 500; color: var(--muted); }
.fxrent .d-rates__note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.fxrent .d-facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
.fxrent .d-facts dt, .fxrent .d-facts dd { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.fxrent .d-facts dt { font-weight: 600; color: var(--muted); }
.fxrent .d-facts dd { color: var(--ink-2); }
.fxrent .d-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fxrent .d-feats li { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-size: 14px; font-weight: 600; }
.fxrent .d-feats .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.fxrent .d-desc { margin-top: 16px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.fxrent .d-desc p + p { margin-top: 12px; }
.fxrent .d-desc ul, .fxrent .d-desc ol { padding-left: 20px; margin-top: 8px; list-style: disc; }
.fxrent .d-desc ol { list-style: decimal; }
.fxrent .d-desc img { max-width: 100%; height: auto; }
.fxrent .d-imgs { margin-top: 16px; }

/* 달력: 예약 마감 날짜는 focus 가능한 aria-disabled 로 표시 */
.fxrent .bday[aria-disabled="true"] { color: #BCC2C5; cursor: default; }
.fxrent .bday[aria-disabled="true"]:hover { background: transparent; }
.fxrent .bday.is-booked[aria-disabled="true"] { text-decoration: line-through; }
.fxrent .bcal__grid[aria-busy="true"] { opacity: .5; }

/* 옵션: once(체크) · 필수 표시 · 안내 문구 */
.fxrent .opt__check { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.fxrent .opt__check input { width: 22px; height: 22px; accent-color: var(--brand); cursor: pointer; }
.fxrent .opt__check input:disabled { cursor: default; }
.fxrent .opt__req { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-right: 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.fxrent .opt.is-locked .opt__name, .fxrent .opt.is-locked .opt__price { color: var(--muted); }
.fxrent .opt-empty { padding: 12px 0; font-size: 14px; color: var(--muted); }
.fxrent .bk-msg { margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--sale); }
.fxrent .bk-msg:empty { display: none; }
.fxrent .bk-people-note { font-size: 13px; color: var(--muted); }
.fxrent .d-notice { padding: 40px 24px; }

/* 이용자 정보(이름·연락처·동의) — 예약 생성 API 가 요구하는 입력 */
.fxrent .bday.is-booked.is-end { text-decoration: none; }
.fxrent .bk-field + .bk-field { margin-top: 12px; }
.fxrent .bk-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fxrent .bk-field .fld { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; transition: border-color var(--dur) var(--ease); }
.fxrent .bk-field .fld:hover { border-color: var(--ink-2); }
.fxrent .bk-field .fld[aria-invalid="true"] { border-color: var(--sale); }
.fxrent .bk-agree { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.fxrent .bk-agree input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--brand); }
.fxrent .bk-agree input[aria-invalid="true"] { outline: 2px solid var(--sale); outline-offset: 2px; }

/* ===================
   6. Responsive
   =================== */
@media (max-width: 1280px) {
  .fxrent .detail { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
}
@media (max-width: 1024px) {
  .fxrent { --section-gap: 72px; --header-h: var(--fxrent-header-h, 64px); }
  .fxrent .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .fxrent .search-panel { grid-template-columns: repeat(3, 1fr); }
  .fxrent .search-panel .btn { grid-column: span 3; }

  .fxrent .detail { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 12px; }
  .fxrent .d-media { max-width: 640px; margin-inline: auto; width: 100%; }
  .fxrent .d-head-m { display: block; padding-top: 20px; }
  .fxrent .d-head-m .bk__title { font-size: 24px; }
  .fxrent .d-head-m__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
  .fxrent .d-head-m__acts { display: flex; gap: 8px; }
  .fxrent .d-tabs { margin-top: 24px; }

  /* 예약 패널 → 바텀시트 */
  .fxrent .bk { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 150; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; border: 0; transform: translateY(105%); transition: transform .32s var(--ease); visibility: hidden; }
  .fxrent .bk.is-open { transform: none; visibility: visible; }
  .fxrent .bk__sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 4px 20px; }
  .fxrent .bk__sheet-head strong { font-size: 16px; }
  .fxrent .bk__sheet-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
  .fxrent .bk__intro { display: none; }
  .fxrent .bk__scroll { padding: 0 20px 8px; overscroll-behavior: contain; }
  .fxrent .bk-steps { top: 0; margin: 0 -20px; padding: 8px 20px; }
  .fxrent .bk__scroll > .bk-step:first-of-type { margin-top: 0; border-top: 0; padding-top: 8px; }
  .fxrent .bk__foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); }
  .fxrent .m-book { display: flex; }
  .fxrent.fxrent--detail { padding-bottom: 76px; }
}
@media (max-width: 768px) {
  .fxrent { --section-gap: 64px; --gutter: 16px; }
  .fxrent .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .fxrent .search-panel { grid-template-columns: 1fr 1fr; padding: 16px; }
  .fxrent .search-panel .btn { grid-column: span 2; }

  .fxrent .d-media { border-radius: var(--r); }
  .fxrent .detail { padding-top: 8px; }
  .fxrent .d-tab { font-size: 15px; min-height: 52px; }
  .fxrent .d-facts { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .fxrent .grid-cards { grid-template-columns: 1fr; gap: 28px; }
  .fxrent .search-panel { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fxrent *, .fxrent *::before, .fxrent *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* 찜하기 — 시안 .car__like / .bk-like (campingncar-main.html·detail.html) */
.fxrent .car__media { position: relative; }
.fxrent .car__like { position: absolute; top: 6px; right: 6px; z-index: 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: none; border: 0; cursor: pointer; transition: transform .15s var(--ease); }
.fxrent .car__like:active { transform: scale(.9); }
.fxrent .car__like svg { width: 24px; height: 24px; fill: rgba(21, 25, 28, .28); stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); transition: fill var(--dur) var(--ease); }
.fxrent .car__like[aria-pressed="true"] svg { fill: var(--sale); }
.fxrent .bk-like { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.fxrent .bk-like:hover { border-color: var(--ink); }
.fxrent .bk-like svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill var(--dur) var(--ease), stroke var(--dur) var(--ease); }
.fxrent .bk-like[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }
/* 검색 패널 날짜 칸이 좁은 화면에서 열 폭을 밀어내 가로 스크롤을 만들지 않게 */
.fxrent .search-panel > *, .fxrent .search-panel label, .fxrent .search-panel .select { min-width: 0; }
.fxrent .search-panel input[type="date"] { min-width: 0; max-width: 100%; box-sizing: border-box; }
