/* ==========================================================================
   렌탈 페이지 — 검색창부터 푸터 위까지
   레퍼런스(ajd.co.kr/electronics)의 치수를 실측해 맞춘 레이아웃.
   컨테이너 1024 / 섹션 상단 여백 64 / 본문 폰트 SUIT
   ========================================================================== */

.rt {
  --rt-w: 1024px;
  /* 색은 미디어 사이트(vlackbox.com)와 같은 값을 쓴다 (디자이너 수정본).
     렌탈만 파란 계열이라 사이트 안에서 혼자 떠 보였다. */
  --rt-primary: #FF6F0F;
  --rt-primary-bg: #FFF4EC;
  --rt-text: #191919;
  --rt-sub: #555555;
  --rt-muted: #70747D;
  --rt-line: #E0E0E0;
  --rt-line-soft: #F0F0F0;
  --rt-tile: #F5F5F5;

  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--rt-text);
  background: #fff;
  padding: 0 0 80px;
}
.rt *, .rt *::before, .rt *::after { box-sizing: border-box; }
.rt img { display: block; max-width: 100%; }
.rt a { color: inherit; text-decoration: none; }
/* 콘텐츠 폭이 정확히 1024 가 되도록 좌우 여백을 바깥에 둔다 */
.rt-inner { width: 100%; max-width: calc(var(--rt-w) + 40px); margin: 0 auto; padding: 0 20px; }

/* ── 검색창 (상단 고정) ───────────────────────────────────── */
.rt-search { position: sticky; top: 0; z-index: 30; padding: 12px 0; background: #fff; border-bottom: 1px solid var(--rt-line-soft); }
.rt-search-form {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 12px 0 16px;
  border: 1px solid var(--rt-line); border-radius: 10px; background: #fff;
}
.rt-search-form input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 17px; font-weight: 500; color: var(--rt-text);
}
.rt-search-form input::placeholder { color: var(--rt-muted); font-weight: 400; }
.rt-search-btn { flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; color: var(--rt-sub); }
.rt-search-btn i { width: 22px; height: 22px; }

/* ── 히어로 비주얼 ────────────────────────────────────────── */
.rt-visual { padding: 20px 0 0; }
.rt-visual-box { position: relative; height: 340px; border-radius: 16px; overflow: hidden; background: var(--rt-tile); }
.rt-visual-box .swiper-wrapper { height: 100%; }
.rt-visual-slide { display: block; height: 340px; position: relative; }
.rt-visual-slide img { width: 100%; height: 100%; object-fit: cover; }
.rt-visual-copy { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); max-width: 460px; }
.rt-visual-copy .badge { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 100px; background: var(--rt-primary); color: #fff; font-size: 13px; font-weight: 700; }
.rt-visual-copy strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.35; color: var(--rt-text); word-break: keep-all; }
.rt-visual-copy span { display: block; margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--rt-sub); word-break: keep-all; }
.rt-visual-copy em { display: inline-block; margin-top: 18px; padding: 11px 22px; border-radius: 100px; background: var(--rt-primary); color: #fff; font-size: 15px; font-style: normal; font-weight: 700; }
.rt-visual-count {
  position: absolute; right: 16px; bottom: 14px; z-index: 3;
  padding: 4px 11px; border-radius: 100px; background: rgba(31, 36, 41, 0.55);
  font-size: 12px; font-weight: 600; color: #fff;
}
.rt-visual-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--rt-text); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.rt-visual-arrow.prev { left: 14px; }
.rt-visual-arrow.next { right: 14px; }
.rt-visual-arrow i { width: 18px; height: 18px; }

/* ── 섹션 공통 ────────────────────────────────────────────── */
.rt-sec { padding-top: 64px; }
.rt-sec > h2 { margin: 0 0 20px; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--rt-text); letter-spacing: -0.01em; }
.rt-sec > h2 b { color: var(--rt-primary); font-weight: 700; }
.rt-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rt-sec-head h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--rt-text); }
.rt-sec-head a { font-size: 15px; font-weight: 500; color: var(--rt-sub); }
.rt-sec-head a:hover { color: var(--rt-primary); }

/* 가운데 더보기 버튼 (480x48) */
.rt-more { display: block; width: 480px; max-width: 100%; margin: 24px auto 0; }
.rt-more span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; border: 1px solid var(--rt-line); border-radius: 10px; background: #fff;
  font-size: 16px; font-weight: 600; color: var(--rt-text);
}
.rt-more span:hover { border-color: var(--rt-primary); color: var(--rt-primary); }
.rt-more i { width: 16px; height: 16px; }

/* ── 1. 카테고리 그리드 ───────────────────────────────────── */
.rt-cat h2 { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 24px; color: #000; }
.rt-cat-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 16px; }
/* 태그 사이 공백이 인라인 박스를 만들어 높이가 늘어나므로 font-size 0 으로 없앤다 */
.rt-cat-item { display: block; text-align: center; font-size: 0; line-height: 0; }
.rt-cat-tile {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border-radius: 12px; background: var(--rt-tile); overflow: hidden;
}
.rt-cat-tile i { width: 40px; height: 40px; color: var(--rt-primary); stroke-width: 1.6; }
.rt-cat-tile img { width: 90px; height: 90px; object-fit: contain; }
.rt-cat-tile i, .rt-cat-tile img { font-size: 15px; }
.rt-cat-item > span:last-child { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; line-height: 22px; color: var(--rt-text); word-break: keep-all; }
.rt-cat-item.is-active .rt-cat-tile { background: var(--rt-primary-bg); box-shadow: inset 0 0 0 1.5px var(--rt-primary); }
.rt-cat-item.is-active span { font-weight: 700; color: var(--rt-primary); }
.rt-cat-item:hover .rt-cat-tile { background: var(--rt-primary-bg); }

/* ── 2. 신뢰 섹션 (레퍼런스의 후기 자리) ──────────────────── */
.rt-trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.rt-trust-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-areas: "img txt" "img cta"; gap: 0 20px; padding: 20px; border-radius: 20px; background: var(--rt-tile); }
.rt-trust-img { grid-area: img; width: 160px; height: 212px; border-radius: 16px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.rt-trust-img i { width: 52px; height: 52px; color: var(--rt-primary); stroke-width: 1.5; }
.rt-trust-img img { width: 100%; height: 100%; object-fit: cover; }
.rt-trust-txt { grid-area: txt; align-self: start; }
.rt-trust-txt strong { display: block; font-size: 18px; font-weight: 700; line-height: 26px; color: var(--rt-text); word-break: keep-all; }
.rt-trust-txt p { display: -webkit-box; overflow: hidden; margin: 10px 0 0; font-size: 15px; font-weight: 400; line-height: 23px; color: var(--rt-sub); word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rt-trust-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rt-trust-list li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 500; color: var(--rt-sub); word-break: keep-all; }
.rt-trust-list li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--rt-primary); }
.rt-trust-cta { grid-area: cta; align-self: end; }
.rt-trust-cta span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 56px; border-radius: 12px; background: var(--rt-primary); color: #fff; font-size: 16px; font-weight: 700; }
.rt-trust-cta.ghost span { background: #fff; color: var(--rt-text); border: 1px solid var(--rt-line); }
.rt-trust-cta i { width: 18px; height: 18px; }

/* ── 3. BEST 상품 ─────────────────────────────────────────── */
.rt-tabs { display: flex; align-items: center; gap: 0; height: 49px; margin-bottom: 20px; border-bottom: 1px solid var(--rt-line-soft); overflow-x: auto; scrollbar-width: none; }
.rt-tabs::-webkit-scrollbar { display: none; }
.rt-tab {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--rt-sub); white-space: nowrap;
}
.rt-tab.is-active { border-bottom-color: var(--rt-primary); color: var(--rt-primary); font-weight: 700; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.rt-chip {
  height: 40px; padding: 11px 20px; border: 1px solid var(--rt-line); border-radius: 100px; background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--rt-sub); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.rt-chip.is-active { border-color: var(--rt-primary); background: var(--rt-primary-bg); color: var(--rt-primary); }

.rt-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rt-prod { display: block; }
.rt-prod-image {
  display: flex; position: relative; height: 180px; border-radius: 16px; overflow: hidden; background: var(--rt-tile);
  display: flex; align-items: center; justify-content: center;
}
.rt-prod-image img { width: 100%; height: 100%; object-fit: cover; }
.rt-prod-image > i { width: 54px; height: 54px; color: var(--rt-muted); stroke-width: 1.4; }
.rt-prod-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  padding: 4px 9px; border-radius: 6px; background: var(--rt-primary); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.01em;
}
.rt-prod-badge.is-new { background: #191919; }
.rt-prod-info { display: block; min-height: 138px; margin-top: 12px; padding: 0 2px; }
.rt-prod-brand { display: block; font-size: 13px; font-weight: 400; line-height: 20px; color: var(--rt-sub); }
.rt-prod-name {
  display: -webkit-box; overflow: hidden; margin: 2px 0 0; min-height: 44px;
  font-size: 16px; font-weight: 700; line-height: 22px; color: var(--rt-text);
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-break: keep-all;
}
.rt-prod-price { margin-top: 8px; display: grid; gap: 0; }
.rt-prod-row { display: flex; align-items: baseline; gap: 4px; }
.rt-prod-row .label { font-size: 13px; font-weight: 500; line-height: 20px; color: var(--rt-sub); }
.rt-prod-row b { font-size: 18px; font-weight: 700; line-height: 24px; color: var(--rt-text); }
.rt-prod-row .unit { font-size: 13px; font-weight: 500; line-height: 20px; color: var(--rt-sub); }
.rt-prod-row.is-accent b, .rt-prod-row.is-accent .unit { color: var(--rt-primary); }
.rt-prod-row.is-accent .label { color: var(--rt-muted); }
.rt-prod-empty { padding: 40px 0; font-size: 15px; font-weight: 500; color: var(--rt-muted); }

/* ── 4. 고르는 법 (가이드) ────────────────────────────────── */
.rt-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rt-guide-card { display: block; }
.rt-guide-thumb {
  display: flex; height: 240px; border-radius: 16px; overflow: hidden; background: var(--rt-tile);
  display: flex; align-items: center; justify-content: center;
}
.rt-guide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rt-guide-thumb i { width: 48px; height: 48px; color: var(--rt-primary); stroke-width: 1.4; }
.rt-guide-info { display: block; margin-top: 12px; padding: 0 2px; }
.rt-guide-info strong { display: block; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 22px; color: var(--rt-text); white-space: nowrap; text-overflow: ellipsis; }
.rt-guide-info span { display: block; overflow: hidden; margin-top: 2px; font-size: 15px; font-weight: 400; line-height: 22px; color: var(--rt-sub); white-space: nowrap; text-overflow: ellipsis; }

/* ── 5. FAQ ───────────────────────────────────────────────── */
.rt-faq-list { display: grid; gap: 8px; }
.rt-faq-item { border-radius: 12px; background: var(--rt-tile); overflow: hidden; }
.rt-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; line-height: 24px; color: var(--rt-text); word-break: keep-all;
}
.rt-faq-item summary::-webkit-details-marker { display: none; }
.rt-faq-item summary i { flex: none; width: 20px; height: 20px; color: var(--rt-muted); transition: transform 0.18s ease; }
.rt-faq-item[open] summary i { transform: rotate(180deg); }
.rt-faq-item[open] summary { color: var(--rt-primary); font-weight: 700; }
.rt-faq-item p { margin: 0; padding: 0 16px 18px; font-size: 15px; font-weight: 400; line-height: 24px; color: var(--rt-sub); word-break: keep-all; }

/* ── 하단 상담 배너 ───────────────────────────────────────── */
.rt-cta-band {
  margin-top: 64px; padding: 36px 40px; border-radius: 20px; background: var(--rt-primary);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.rt-cta-band strong { display: block; font-size: 24px; font-weight: 700; line-height: 34px; color: #fff; word-break: keep-all; }
.rt-cta-band p { margin: 6px 0 0; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.82); word-break: keep-all; }
.rt-cta-band a {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 52px; padding: 0 26px; border-radius: 100px; background: #fff;
  font-size: 16px; font-weight: 700; color: var(--rt-primary);
}
.rt-cta-band i { width: 18px; height: 18px; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .rt-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rt-prod-grid, .rt-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-visual-copy { left: 32px; max-width: 60%; }
  .rt-visual-copy strong { font-size: 25px; }
}
@media (max-width: 767px) {
  .rt { padding-bottom: 56px; }
  .rt-inner { padding: 0 16px; }
  .rt-search { padding: 10px 0; }
  .rt-search-form { height: 44px; }
  .rt-search-form input { font-size: 15px; }
  .rt-visual-box, .rt-visual-slide { height: 200px; }
  .rt-visual-copy { left: 20px; max-width: 70%; }
  .rt-visual-copy strong { font-size: 19px; }
  .rt-visual-copy span { font-size: 13px; margin-top: 6px; }
  .rt-visual-copy em { margin-top: 12px; padding: 8px 16px; font-size: 13px; }
  .rt-sec { padding-top: 40px; }
  .rt-sec > h2, .rt-sec-head h2 { font-size: 20px; line-height: 28px; }
  .rt-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; }
  .rt-cat-tile i { width: 30px; height: 30px; }
  .rt-cat-item span { font-size: 13px; margin-top: 7px; }
  .rt-trust-grid { grid-template-columns: minmax(0, 1fr); }
  .rt-prod-grid, .rt-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-prod-image { height: 140px; }
  .rt-guide-thumb { height: 160px; }
  .rt-prod-name, .rt-guide-info strong { font-size: 15px; }
  .rt-more { width: 100%; }
  .rt-cta-band { margin-top: 40px; padding: 26px 22px; }
  .rt-cta-band strong { font-size: 19px; line-height: 27px; }
  .rt-cta-band a { width: 100%; justify-content: center; }
  .rt-faq-item summary { font-size: 15.5px; min-height: 54px; padding: 14px; }
  .rt-faq-item p { padding: 0 14px 16px; font-size: 14px; }
}

/* ── 모바일 보완 (v6) ─────────────────────────────────────── */
.rt-visual-slide picture { display: block; width: 100%; height: 100%; }

@media (max-width: 767px) {
  /* PC용 가로 배너(3:1)를 그대로 쓰면 좌우가 잘려 글씨를 못 읽는다.
     모바일 전용 배너가 없을 때만 전체가 보이도록 맞춘다. */
  .rt-visual-slide.no-mobile-image { background: var(--rt-tile); }
  .rt-visual-slide.no-mobile-image img { object-fit: contain; }

  /* 손가락으로 누를 수 있는 크기 확보 */
  .rt-search-btn { width: 40px; height: 40px; margin-right: -8px; }
  .rt-sec-head a {
    display: inline-flex; align-items: center; min-height: 40px;
    padding-left: 8px; margin-right: -8px;
  }
  .rt-cat-item span { padding: 2px 0; }
}

/* ── 검색 영역 구분선 제거 (v7) ─────────────────────────────
   헤더 아래 선과 검색창 아래 선이 나란히 두 줄로 보였다. 렌탈 페이지에서만 없앤다. */
.rt-search { border-bottom: 0; }
body:has(.rt) header.topbar { border-bottom: 0; }

@media (max-width: 767px) {
  /* 모바일 배너는 2:1 로 맞춰 잘림·여백 없이 들어가게 한다 */
  .rt-visual-box { height: auto; aspect-ratio: 2 / 1; }
  .rt-visual-slide { height: auto; aspect-ratio: 2 / 1; }
}

/* ── 실제 이미지 타일 (v9) — 카테고리 타일은 사진이 타일 전체를 채운다 ── */
.rt-cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.rt-cat-item:hover .rt-cat-tile img { transform: scale(1.04); }
.rt-cat-item.is-active .rt-cat-tile { outline: 2px solid var(--rt-primary); outline-offset: -2px; }
.rt-guide-thumb img { transition: transform .3s ease; }
.rt-guide-card:hover .rt-guide-thumb img { transform: scale(1.03); }


/* ── 렌탈 메인 개편 (v11) — 레퍼런스(ajd.co.kr/electronics) 치수 ─────────────────
   카테고리: 114px 타일(회색 면, 12px) 안에 제품 이미지, 8칸, 끝에 '전체보기(+)'
   추천 제품 BEST4: 카테고리 탭(18px/700, 선택 파랑·나머지 회색) + 카드 4개 + '제품 더보기' 버튼 */
.rt-cat { padding-top: 40px; }
.rt-cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 16px; }
.rt-cat-tile { border-radius: 12px; background: var(--rt-tile); }
.rt-cat-tile img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.rt-cat-item:hover .rt-cat-tile img { transform: none; }
.rt-cat-item:hover .rt-cat-tile { background: #EBEBEB; }
.rt-cat-item.is-active .rt-cat-tile { outline: 2px solid var(--rt-primary); outline-offset: -2px; background: var(--rt-tile); box-shadow: none; }
.rt-cat-item > span:last-child { margin-top: 8px; font-size: 15px; font-weight: 400; line-height: 24px; color: var(--rt-text); }
.rt-cat-item.is-active > span:last-child { font-weight: 700; color: var(--rt-primary); }
.rt-cat-all .rt-cat-tile svg,
.rt-cat-all .rt-cat-tile i { width: 34px; height: 34px; color: #A3A6AC; stroke-width: 1.3; }

.rt-best > h2 { margin-bottom: 8px; }
.rt-best-tabs { display: flex; flex-wrap: wrap; margin: 0 -16px 16px; }
.rt-best-tab {
  padding: 10px 16px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 26px; color: #A3A6AC;
}
.rt-best-tab:hover { color: var(--rt-sub); }
.rt-best-tab.is-active { color: var(--rt-primary); }
.rt-best-tab:focus-visible { outline: 2px solid var(--rt-primary); outline-offset: -2px; border-radius: 8px; }
.rt-best .rt-prod-image { border-radius: 16px; }
.rt-best-more,
.rt-sec-head .rt-back-best { text-decoration: none; }
.rt-best-more {
  display: flex; align-items: center; justify-content: center; width: 480px; max-width: 100%; height: 48px; margin: 32px auto 0;
  border: 1px solid var(--rt-line); border-radius: 10px; background: #fff;
  font-size: 15px; font-weight: 500; color: var(--rt-text);
}
.rt-best-more:hover { border-color: var(--rt-text); }

@media (max-width: 1023px) {
  .rt-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rt-cat { padding-top: 28px; }
  .rt-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; }
  .rt-cat-item > span:last-child { font-size: 13px; line-height: 20px; }
  .rt-best-tabs { margin: 0 -12px 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rt-best-tabs::-webkit-scrollbar { display: none; }
  .rt-best-tab { flex: none; padding: 8px 12px; font-size: 16px; }
  .rt-best-more { margin-top: 24px; }
}


/* ── 렌탈 카테고리 상품 화면 (v12) — 레퍼런스(ajd.co.kr 가전렌탈 카테고리) 치수 ───────── */
.rt-lock, .rt-lock body { overflow: hidden; }
.rt-catpage { padding-bottom: 8px; }
.rt-ct {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 78px; margin-top: 24px; padding: 0 20px; border-radius: 16px; background: var(--rt-tile);
}
.rt-ct-switch { position: relative; }
.rt-ct-switch summary {
  display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  font-size: 24px; font-weight: 700; line-height: 34px; color: var(--rt-text);
}
.rt-ct-switch summary::-webkit-details-marker { display: none; }
.rt-ct-switch summary svg, .rt-ct-switch summary i { width: 24px; height: 24px; transition: transform .2s; }
.rt-ct-switch[open] summary svg { transform: rotate(180deg); }
.rt-ct-menu {
  position: absolute; z-index: 40; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 220px; margin: 0; padding: 8px; list-style: none;
  border: 1px solid var(--rt-line-soft); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(31, 36, 41, .12);
}
.rt-ct-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 8px;
  font-size: 16px; font-weight: 500; color: var(--rt-text); text-decoration: none;
}
.rt-ct-menu a:hover { background: var(--rt-tile); }
.rt-ct-menu a.is-active { color: var(--rt-primary); font-weight: 700; }
.rt-ct-menu em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--rt-muted); }
.rt-ct-search-btn {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--rt-text); cursor: pointer;
}
.rt-ct-search-btn svg { width: 24px; height: 24px; }
.rt-ct-search { display: flex; gap: 8px; margin-top: 12px; }
.rt-ct-search[hidden] { display: none; }
.rt-ct-search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--rt-line); border-radius: 10px;
  font-family: inherit; font-size: 16px; color: var(--rt-text);
}
.rt-ct-search input:focus { outline: none; border-color: var(--rt-primary); }
.rt-ct-search button {
  flex: none; padding: 0 20px; border: 0; border-radius: 10px; background: var(--rt-primary); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}

.rt-ct-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 5px; }
.rt-ct-tabs a {
  display: flex; align-items: center; justify-content: center; height: 42px; border-bottom: 2px solid transparent;
  font-size: 16px; font-weight: 700; color: #A3A6AC; text-decoration: none;
}
.rt-ct-tabs a:hover { color: var(--rt-sub); }
.rt-ct-tabs a.is-active { border-bottom-color: var(--rt-primary); color: var(--rt-primary); }

.rt-cb { padding: 22px 0 0; }
.rt-cb-title { margin: 0; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--rt-text); }
.rt-cb-chips { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.rt-cb-chips::-webkit-scrollbar { display: none; }
.rt-cb-chip {
  flex: none; height: 40px; padding: 0 20px; border: 0; border-radius: 100px; background: #fff; box-shadow: inset 0 0 0 1px var(--rt-line-soft);
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--rt-sub); cursor: pointer; white-space: nowrap;
}
.rt-cb-chip.is-active { background: var(--rt-primary-bg); box-shadow: none; color: var(--rt-primary); }
.rt-cb-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rt-cb-list[hidden] { display: none; }
.rt-cb-card, .rt-ci { display: block; color: inherit; text-decoration: none; }
.rt-cb-image, .rt-ci-image {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--rt-tile);
}
.rt-cb-image { height: 150px; border-radius: 16px; }
.rt-cb-image img { width: 120px; height: 120px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.rt-cb-image svg, .rt-ci-image svg { width: 48px; height: 48px; color: var(--rt-muted); stroke-width: 1.4; }
.rt-cb-card:hover img, .rt-ci:hover .rt-ci-image img { transform: scale(1.04); }
.rt-cb-info, .rt-ci-body { display: flex; flex-direction: column; }
.rt-cb-info { gap: 4px; margin-top: 12px; }
.rt-code { font-size: 13px; font-weight: 400; line-height: 20px; color: var(--rt-muted); }
.rt-cb-name {
  display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font-size: 15px; font-weight: 500; line-height: 24px; color: var(--rt-text); word-break: keep-all;
}
.rt-price { display: flex; flex-direction: column; margin-top: 4px; }
.rt-price-label { font-size: 13px; font-weight: 500; line-height: 20px; color: var(--rt-sub); }
.rt-price b { font-size: 18px; font-weight: 700; line-height: 26px; color: var(--rt-primary); }
.rt-price.is-lg .rt-price-label { font-size: 15px; line-height: 24px; }
.rt-price.is-lg b { font-size: 20px; line-height: 28px; }
.rt-price small { margin-left: 1px; font-size: 15px; font-weight: 400; color: var(--rt-muted); }

.rt-ct-divider { height: 1px; margin: 40px 0; border: 0; background: #F0F0F0; }

.rt-cm { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.rt-catpage .rt-cb[hidden] + .rt-cm { margin-top: 32px; }
.rt-cf { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.rt-cf-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rt-line); }
.rt-cf-head h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 28px; color: var(--rt-text); }
.rt-cf-reset {
  display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--rt-muted);
}
.rt-cf-reset svg { width: 16px; height: 16px; }
.rt-cf-reset:hover { color: var(--rt-text); }
.rt-cf-close, .rt-cf-apply, .rt-cl-filter-btn { display: none; }
.rt-cf-none { margin: 20px 0; font-size: 14px; color: var(--rt-muted); }
.rt-cf-sec { padding: 24px 0; border-bottom: 1px solid var(--rt-line); }
.rt-cf-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 26px; color: var(--rt-text); text-align: left;
}
.rt-cf-toggle svg { width: 24px; height: 24px; color: #A3A6AC; transition: transform .2s; }
.rt-cf-sec.is-closed .rt-cf-toggle svg { transform: rotate(180deg); }
.rt-cf-items { padding-top: 12px; }
.rt-cf-sec.is-closed .rt-cf-items { display: none; }
.rt-cf-item { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; }
.rt-cf-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rt-cf-box {
  flex: none; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center;
  border: 1.5px solid var(--rt-line); border-radius: 6px; background: #fff; color: #fff;
}
.rt-cf-box svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.rt-cf-item input:checked + .rt-cf-box { border-color: var(--rt-primary); background: var(--rt-primary); }
.rt-cf-item input:checked + .rt-cf-box svg { opacity: 1; }
.rt-cf-item input:focus-visible + .rt-cf-box { outline: 2px solid var(--rt-primary); outline-offset: 2px; }
.rt-cf-text { flex: 1; font-size: 16px; font-weight: 400; line-height: 24px; color: var(--rt-text); word-break: keep-all; }
.rt-cf-item input:checked ~ .rt-cf-text { font-weight: 600; }
.rt-cf-item em { font-style: normal; font-size: 13px; color: var(--rt-muted); }

.rt-cl-top { display: flex; align-items: center; gap: 12px; height: 24px; margin-bottom: 20px; }
.rt-cl-count { flex: 1; margin: 0; font-size: 15px; font-weight: 500; line-height: 24px; color: var(--rt-text); }
.rt-cl-count b { font-weight: 700; }
.rt-cl-sort { position: relative; display: inline-flex; align-items: center; }
.rt-cl-sort select {
  appearance: none; -webkit-appearance: none; height: 28px; padding: 0 24px 0 4px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--rt-text);
}
.rt-cl-sort svg { position: absolute; right: 0; width: 20px; height: 20px; pointer-events: none; }
.rt-cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
.rt-ci[hidden] { display: none; }
.rt-ci-image { height: 230px; border-radius: 20px; }
.rt-ci-image img { width: 174px; height: 174px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.rt-ci-badge {
  position: absolute; top: 14px; left: 14px; padding: 3px 8px; border-radius: 6px; background: var(--rt-primary); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 16px;
}
.rt-ci-badge.is-new { background: var(--rt-text); }
.rt-ci-body { gap: 4px; margin-top: 12px; }
.rt-ci-name {
  display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font-size: 17px; font-weight: 500; line-height: 28px; color: var(--rt-text); word-break: keep-all;
}
.rt-ci-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.rt-ci-tags span { padding: 0 8px; border-radius: 6px; background: var(--rt-primary-bg); font-size: 12px; font-weight: 500; line-height: 20px; color: var(--rt-sub); }
.rt-cl-empty { padding: 60px 20px; border-radius: 16px; background: var(--rt-tile); text-align: center; }
.rt-cl-empty[hidden] { display: none; }
.rt-cl-empty p { margin: 0 0 16px; font-size: 16px; font-weight: 500; color: var(--rt-sub); }
.rt-cl-empty a, .rt-cl-empty button {
  display: inline-flex; height: 44px; align-items: center; padding: 0 20px; border: 1px solid var(--rt-line); border-radius: 10px; background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--rt-text); text-decoration: none; cursor: pointer;
}
.rt-catpage .rt-cta-band { margin-top: 72px; }
.rt-cf-dim { display: none; }

@media (max-width: 1023px) {
  .rt-cm { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  .rt-cb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rt-ct { height: 60px; margin-top: 16px; border-radius: 12px; }
  .rt-ct-switch summary { font-size: 20px; line-height: 28px; }
  .rt-ct-search-btn { right: 10px; }
  .rt-cb { padding-top: 20px; }
  .rt-cb-title { font-size: 20px; line-height: 28px; }
  .rt-cb-chips { margin: 16px -16px 0; padding: 0 16px; }
  /* 옆으로 미는 방식은 마지막 카드가 잘려 보여서, 4개가 다 보이는 2단 격자로 */
  .rt-cb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 16px 0 0; }
  .rt-cb-image { height: 140px; }
  .rt-cb-image img { width: 104px; height: 104px; }
  .rt-ct-divider { height: 8px; margin: 32px -16px 24px; border: 0; background: #F5F5F5; }

  .rt-cm { display: block; }
  .rt-cl-filter-btn {
    display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid var(--rt-line); border-radius: 100px; background: #fff;
    font-family: inherit; font-size: 14px; font-weight: 500; color: var(--rt-text); cursor: pointer;
  }
  .rt-cl-filter-btn svg { width: 16px; height: 16px; }
  .rt-cl-filter-btn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rt-primary); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
  .rt-cl-filter-btn b[hidden] { display: none; }
  .rt-cl-top { order: 0; height: auto; margin-bottom: 16px; }
  .rt-cl-sort select { font-size: 14px; }
  .rt-cl-grid { gap: 28px 12px; }
  .rt-ci-image { height: auto; aspect-ratio: 1 / 1; border-radius: 14px; }
  .rt-ci-image img { width: 76%; height: 76%; }
  .rt-ci-name { font-size: 15px; line-height: 22px; }
  .rt-price.is-lg .rt-price-label { font-size: 13px; line-height: 20px; }
  .rt-price.is-lg b { font-size: 17px; line-height: 24px; }
  .rt-price small { font-size: 13px; }
  .rt-ci-tags span:nth-child(n+3) { display: none; }

  .rt-cf {
    position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; top: auto; max-height: 80vh; padding: 0 20px 88px;
    border-radius: 20px 20px 0 0; background: #fff; transform: translateY(105%); transition: transform .25s ease; visibility: hidden;
  }
  .rt-catpage.is-filter-open .rt-cf { transform: none; visibility: visible; }
  .rt-cf-head { position: sticky; top: 0; z-index: 1; gap: 12px; background: #fff; }
  .rt-cf-head h2 { flex: 1; }
  .rt-cf-close { display: inline-flex; padding: 4px; border: 0; background: none; color: var(--rt-text); cursor: pointer; }
  .rt-cf-close svg { width: 24px; height: 24px; }
  .rt-cf-apply {
    position: fixed; left: 20px; right: 20px; bottom: 20px; display: block; height: 52px; border: 0; border-radius: 12px; background: var(--rt-primary); color: #fff;
    font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  }
  .rt-catpage:not(.is-filter-open) .rt-cf-apply { display: none; }
  .rt-cf-dim { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .45); }
  .rt-cf-dim[hidden] { display: none; }
  .rt-catpage .rt-cta-band { margin-top: 48px; }
}

/* 배경이 있는 상품 사진은 칸을 꽉 채움, 필터는 따라 내려오지 않게 */
.rt-cb-image img.is-photo, .rt-ci-image img.is-photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
@media (min-width: 768px) {
  .rt-cf { position: static; max-height: none; overflow: visible; }
}
