/* All layout and typography measurements use %, em, rem only. */
:root {
  color-scheme: light;
  --page-bg: var(--background-color);
  --line: var(--border-color);
  --text: var(--font-color);
  --muted: var(--color-08);
  --tag: #a9b7cb;
  --shell-width: 64.9%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--page-bg); font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 1rem; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, .carousel-track:focus-visible { outline: 0.15rem solid #436c9f; outline-offset: 0.15rem; }
.site-shell { width: var(--shell-width); margin: 0 auto; }
.sr-only { position: absolute; width: .0625rem; height: .0625rem; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; background: var(--white-color-095); padding: .75rem 1rem; }
.skip-link:focus { top: .5rem; }
.site-header { background: var(--page-bg); }
.header-top { display: flex; align-items: center; gap: 1.25rem; min-height: 1.95rem; }
.brand { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand-oval { display: block; width: 1.55rem; height: 1.05rem; }
.top-nav { display: flex; align-items: center; gap: 1.35rem; font-size: .69rem; }
.top-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.login-text { margin-left: auto; font-size: .59rem; }
.menu-toggle { display: none; }
.searchbar { display: flex; align-items: center; width: 100%; height: 2.6rem; background: var(--white-color-095); border: .0625rem solid #e5e6ea; }
.search-label { flex: 0 0 auto; font-size: .68rem; padding: 0 .85rem; }
.searchbar input { flex: 1; width: 0; min-width: 0; padding: 0 1rem; border: 0; outline: none; color: #262930; font-size: .85rem; background: transparent; }
.searchbar input::placeholder { color: #b6b6bc; }
.searchbar > .search-submit { align-self: stretch; display: grid; place-items: center; width: 2.8rem; border: none; background: transparent; }
.searchbar svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: #242931; stroke-width: 1.7; }
/* 검색 필터는 브라우저 기본 details/summary로 작동합니다. */
.search-form { position: relative; z-index: 12; }
.searchbar .search-submit { flex: 0 0 2.8rem; }
.search-filter-details { height: 100%; flex: 0 0 auto; }
.search-filter-details > summary { position: relative; display: flex; height: 100%; align-items: center; justify-content: center; gap: .3rem; padding: 0 .8rem;  cursor: pointer; list-style: none; font-size: .69rem; white-space: nowrap; }
.search-filter-details > summary::after{
  content:'';
  display: block;
  position: absolute;
  top: .5rem;
  right: -.0625rem;
  bottom: .5rem;
  border-left: .0625rem solid var(--line);
}
.search-filter-details > summary::-webkit-details-marker { display: none; }
.search-filter-details[open] > summary { background: #edf1f6; }
.filter-chevron { font-size: 1.2rem; line-height: 0; }
.search-filter-details[open] .filter-chevron { transform: rotate(180deg); }
.search-filter-panel { position: absolute; z-index: 12; top: calc(100% + .3rem); left: 0; right: 0; max-height: 43rem; overflow-y: auto; padding: 1.5rem; background: var(--white-color-095); border: .0625rem solid #d0d6de; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.12); }
.filter-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; padding-bottom: 1rem; border-bottom: .0625rem solid var(--line); }
.filter-header strong { font-size: 1.03rem; }
.filter-header span { font-size: .75rem; color: var(--muted); }
.filter-groups { display: grid; grid-template-columns: 50% 50%; row-gap: 1.5rem; padding-top: 1.25rem; }
.filter-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-group:nth-child(odd) { padding-right: 1rem; }
.filter-group:nth-child(even) { padding-left: 1rem; }
.filter-group legend { padding: 0 0 .7rem; font-size: .9rem; font-weight: 700; }
.filter-range { display: flex; align-items: center; gap: .35rem; width: 100%; }
.filter-range label { flex: 1; min-width: 0; }
.filter-range input { display: block; width: 100%; min-width: 0; height: 2.35rem; border: .0625rem solid #cfd4db; border-radius: .2rem; background: var(--white-color-095); padding: .4rem .5rem; font-size: .79rem; }
.filter-unit, .range-separator { font-size: .77rem; color: #666; flex: 0 0 auto; }
.size-filters { display: flex; flex-direction: column; gap: .55rem; }
.size-filter-row { display: flex; align-items: center; gap: .6rem; }
.size-filter-row > span { flex: 0 0 2rem; font-size: .75rem; color: #62656c; }
.size-filter-row .filter-range > input { flex: 1; width: 0; }
.filter-pills { display: flex; gap: .35rem; flex-wrap: wrap; }
.filter-choice { position: relative; display: inline-flex; cursor: pointer; }
.filter-choice input { position: absolute; width: .0625rem; height: .0625rem; opacity: 0; }
.filter-choice span { display: inline-flex; align-items: center; justify-content: center; min-height: 2.05rem; padding: .37rem .7rem; border: .0625rem solid #cbd0d8; border-radius: .2rem; background: var(--white-color-095); font-size: .73rem; }
.filter-choice input:checked + span { border-color: #273442; background: #273442; color: var(--white-color-095); }
.filter-choice input:focus-visible + span { outline: .15rem solid #436c9f; outline-offset: .12rem; }
.filter-actions { position: sticky; bottom: 0; z-index: 2; background: var(--white-color-095); display: flex; justify-content: flex-end; align-items: center; gap: .6rem; padding-top: 1.4rem; margin-top: 1.35rem; border-top: .0625rem solid var(--line); }
.filter-reset, .filter-apply { display: inline-flex; justify-content: center; align-items: center; min-height: 2.5rem; padding: .55rem 1.2rem; border: .0625rem solid #273442; border-radius: .2rem; font-size: .78rem; }
.filter-reset { color: #273442; background: var(--white-color-095); }
.filter-apply { color: var(--white-color-095); background: #273442; }
.filter-apply:hover { background: #475c72; }
.quick-nav { display: flex; gap: .45rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .75rem 0 .85rem; scrollbar-width: none; cursor: grab; }
.quick-nav::-webkit-scrollbar { display: none; }
.quick-item { position: relative; display: flex; flex: 0 0 auto; align-items: center; gap: .45rem; min-height: 2.45rem; background: var(--white-color-095); border-radius: .3rem; padding: .4rem .62rem; font-size: .65rem; white-space: nowrap; }
.quick-item:hover { background: var(--color-primary-005); }
.quick-item.ad::before {
  content: 'AD';
  display: block;
  left:1.6rem;
  bottom: 1.6rem;
  position: absolute;
  background-color: var(--font-color);
  border-radius: 10rem;
  color: var(--white-color-095);
  font-size: .5625em;
  padding: .25em .5em;
}
.quick-logo { overflow: hidden; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-weight: 700; font-size: .625rem; color: var(--white-color-095); background-color: var(--font-color); }
.oval-mini { background-color: transparent; }
/* 메인 비주얼: 배너 전환 + 슬라이드별 0~100% 진행 막대 */
.hero { position: relative; width: 100%; aspect-ratio: 1113 / 360; overflow: hidden; background: #c0d0cd; isolation: isolate; }
/* 텍스트를 이미지 슬라이드와 분리 */
.hero-captions {
    position: absolute;
    inset: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

/* 기본: 텍스트 숨김 */
.hero-captions .hero-caption {
    position: absolute;
    left: 3%;
    bottom: 15%;

    opacity: 0;
    visibility: hidden;
    /* transform: translateY(0.6rem); */

    transition:
        opacity 0.65s ease,
        /* transform 0.65s ease, */
        visibility 0s linear 0.65s;
}

/* 현재 슬라이드 텍스트 */
.hero-captions .hero-caption.is-active {
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); */

    transition:
        opacity 0.65s ease,
        /* transform 0.65s ease, */
        visibility 0s;
}

/* 컨트롤이 텍스트보다 위에 오도록 */
.hero-controls-wrap {
    z-index: 3;
}

.hero-slides { position: absolute; inset: 0; display: flex; transform: translate3d(0%, 0, 0); transition: transform .55s ease; touch-action: pan-y; cursor: grab; }
.hero-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hero-slides.is-dragging { cursor: grabbing; }
.hero-slides, .hero-slides * { user-select: none; -webkit-user-select: none; }
.hero-slide > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slide--art { background: linear-gradient(120deg, #232e3a, #7f919d); }
.hero-slide--tmanif { background: linear-gradient(120deg, #2c3a38, #78928d); }
.hero-slide--art > img, .hero-slide--tmanif > img { position: absolute; width: 35%; height: 83%; left: 56%; top: 8.5%; object-fit: contain; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,28,32,.30), transparent 72%), linear-gradient(0deg, rgba(17,28,32,.22), transparent 44%); pointer-events: none; }
.hero-slide--art .hero-shade, .hero-slide--tmanif .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.30), transparent 85%); }
.hero-caption { position: absolute; left: 3.1%; bottom: 17%; right: 4%; color: var(--color-fff); text-shadow: 0 .05rem .5rem rgba(0,0,0,.18); }
.hero-caption h2 { margin: 0 0 .45rem; font-size: clamp(1rem, 1.7rem, 2.1rem); font-weight: 700; letter-spacing: -.045em; }
.hero-caption p { margin: 0; font-size: .88rem; }
.hero-controls-wrap { display:flex; gap:1em; align-items:center; position: absolute; z-index: 3; left: 3%; right: 3%; bottom: 7%;}
.hero-progress-track { flex:1 ;height: .0625rem; overflow: hidden; background: rgba(255,255,255,.5); }
.hero-line { display: block; width: 0%; height: 100%; background: var(--color-fff); transition: width 0s linear; }
.hero-controls { flex: none; display: flex; align-items: center; color: var(--color-fff); text-shadow: 0 .05rem .35rem rgba(0,0,0,.2); }
.hero-counter { font-size: .77rem; text-align: center; }
.hero-control-button { display: grid; place-items: center; min-width: 1.65rem; min-height: 1.65rem; padding: 0 .15rem; border: 0; background: transparent; color: inherit; font-size: 1.3rem; line-height: 1; text-shadow: inherit; }
.hero-control-prev::after,
.hero-control-next::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border: 0.0625rem solid var(--color-fff);
  border-top: none;
  border-right: none;
  transform: rotate(45deg);
  margin-right: -0.2rem;
}
.hero-control-next::after {
  transform: rotate(-135deg);
  margin-right: 0;
  margin-left: -0.2rem;
}
.hero-control-button:hover { background: rgba(0,0,0,.18); }
.hero-pause { font-size: .68rem; }
.main-content { min-height: 10rem; }
.collection-section { scroll-margin-top: 2rem; }
.art-section { padding-top: 2.1rem; }
.section-heading { text-align: center; margin: 0 0 1.25rem; }
.section-heading h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 .35rem; letter-spacing: -.045em; }
.section-heading p { margin: 0; font-size: .79rem; color: #3d414a; }
.featured-carousel { width: 127%; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 19.7%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; border-left: .0625rem solid var(--line); border-top: .0625rem solid var(--line); }
.carousel-track-wrap {position: relative;}
.carousel-track-wrap::after { pointer-events: none; z-index: 4; content: ''; display: block; width: 10%; position: absolute;right:0; top: 0; bottom: 0;    background: linear-gradient(-90deg, var(--page-bg), transparent);}
.carousel-track::-webkit-scrollbar { display: none; }
.quick-nav.is-dragging, .carousel-track.is-dragging { cursor: grabbing; }
.quick-nav.is-dragging *, .carousel-track.is-dragging * { user-select: none; -webkit-user-select: none; pointer-events: none; }
.hero-slide img, .carousel-track img { -webkit-user-drag: none; }
.artwork-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 19.2rem; border-right: .0625rem solid var(--line); border-bottom: .0625rem solid var(--line); scroll-snap-align: start; }
.artwork-card:hover { background: var(--color-primary-005); }
.card-tags { position: absolute; z-index: 1; top: 0; left: 0; display: flex; align-items: center; }
.tag { display: inline-block; padding: .18rem .28rem; font-size: .6rem; line-height: 1; white-space: nowrap; }
.tag-primary { background: var(--tag); color: #152231; }
.tag-discount { background: var(--white-color-095); color: #2b2d30; }
.artwork-link { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0; padding: .9rem .45rem 2.25rem; }
.artwork-visual { width: 100%; height: 10.8rem; display: flex; align-items: center; justify-content: center; padding: 1.3rem .15rem; }
.artwork-visual img { display: block; max-width: 70%; max-height: 100%; object-fit: contain; }
.artwork-info { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; gap: .12rem; color: var(--color-095); font-size: .67rem; line-height: 1.3; text-align: center; }
.artwork-info > * { max-width: 100%; }
/* .artist { font-weight: 700; } */
.artwork-title { display: block; width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
.artwork-price { font-weight: 500; }
.carousel-actions, .gallery-actions { display: flex; align-items: center; gap: .4rem; margin-top: .8rem; }
.arrow-btn, .outline-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.2rem; border: .0625rem solid #c3cfdf; border-radius: .25rem; background: transparent; color: #222b37; }
.arrow-btn { width: 2.2rem; font-size: 1.65rem; line-height: 1; padding: 0; font-weight: 300; }
.arrow-btn:hover:not(:disabled), .outline-btn:hover { background: #e8edf5; }
.arrow-btn:disabled { opacity: .4; cursor: default; }
.arrow-prev::after,.arrow-next::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border: 0.0625rem solid currentColor;
  border-top: none;
  border-right: none;
  transform: rotate(45deg);
  margin-right: -0.2rem;
}
.arrow-next::after {
  transform: rotate(-135deg);
  margin-right: 0;
  margin-left: -0.2rem;
}
.outline-btn { min-width: 8.5rem; padding: .4rem .9rem; font-size: .7rem; }
.tmanif-section { padding-top: 1.75rem; }
.artwork-grid { display: grid; grid-template-columns: repeat(4, 25%); border-left: .0625rem solid var(--line); border-top: .0625rem solid var(--line); }
.artwork-grid .artwork-card { min-height: 19.5rem; }
.artwork-grid .artwork-visual { height: 10.8rem; }
.gallery-actions { margin-top: .9rem; }
.empty-state { padding: 4rem 1rem; text-align: center; border: .0625rem solid var(--line); color: var(--muted); }
.search-result-message { margin: 1.4rem 0 .75rem; padding: 1rem 1.1rem; border: .0625rem solid var(--line); font-size: .88rem; }
.search-result-message a { margin-left: .7rem; text-decoration: underline; }
.site-footer { display: flex; align-items: flex-start; gap: 2rem; padding: 3.5rem 0 1.25rem; font-size: .67rem; }
.footer-mark { flex: 0 0 auto; padding-top: .3rem; }
.footer-mark .brand-oval { width: 2.6rem; height: 1.85rem; }
.footer-copy { flex: 1; min-width: 0; }
.footer-copy p { margin: .25rem 0; color: #52565e; line-height: 1.5; }
.footer-links { display: flex; gap: 1.15rem; flex-wrap: wrap; margin-bottom: .7rem; font-weight: 700; }
.footer-right { min-width: 10rem; text-align: right; line-height: 1.55; }
.social-icons { display: flex; justify-content: flex-end; gap: .65rem; margin-bottom: 1rem; font-size: 1.1rem; }
.detail-page { padding-top: 3rem; }
.back-btn { margin-bottom: 2rem; }
.detail-grid { display: grid; grid-template-columns: 50% 50%; border: .0625rem solid var(--line); }
.detail-image { display: flex; align-items: center; justify-content: center; min-height: 27rem; padding: 3rem; border-right: .0625rem solid var(--line); }
.detail-image img { display: block; max-width: 100%; max-height: 24rem; object-fit: contain; }
.detail-content { padding: 3rem; }
.detail-artist { margin: 2rem 0 .2rem; font-size: 1.1rem; }
.detail-content h1 { margin: 0 0 2rem; font-size: 2rem; }
.detail-content dl { border-top: .0625rem solid var(--line); }
.detail-content dl div { display: flex; gap: 1.2rem; padding: 1rem 0; border-bottom: .0625rem solid var(--line); }
.detail-content dt { width: 32%; color: var(--muted); }
.detail-content dd { margin: 0; flex: 1; }
.demo-note { margin-top: 2rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 70rem) {
  :root { --shell-width: 76%; }
  .site-footer { gap: 1.3rem; }
  .featured-carousel {
    width: 116%;
  }
  .carousel-track {
        grid-auto-columns: 21.5%;
  }
  .hero-captions .hero-caption {
      bottom: 18%;
  }
}
@media (max-width: 52rem) {
  :root { --shell-width: 90%; }
  .header-top { min-height: 3rem; }
  .top-nav { gap: .85rem; }
  .hero { aspect-ratio: 2.2 / 1; }
  .hero-caption h2 { font-size: 1.65rem; }
  .carousel-track { grid-auto-columns: 33.333%; }
  .artwork-grid { grid-template-columns: repeat(3, 33.333%); }
  .artwork-info { font-size: .75rem; }
  .site-footer { flex-wrap: wrap; }
  .carousel-track {
        grid-auto-columns: 28.7%;
  }
  .hero-controls-wrap {left:5%; right: 5%; }
}
@media (max-width: 48rem) {
    .hero-captions .hero-caption {
        left: 5%;
        bottom: 20%;
    }
}
@media (max-width: 38rem) {
  :root { --shell-width: 92%; }
  .header-top { gap: .85rem; position: relative; }
  .brand-oval { width: 1.9rem; height: 1.3rem; }
  .menu-toggle { 
    display: flex; 
    margin-left: auto; 
    flex-direction: column; justify-content: center; gap: .3rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; 
    padding: .55rem 0 .55rem 1.1rem;
  }
  .menu-toggle[aria-expanded="true"] {
    position: fixed;
    right:4%;
    top:0.25rem;
    z-index: 14;
  }
  .brand:has(~.menu-toggle[aria-expanded="true"]) {
    position: fixed;
    left:4%;
    top:0.85rem;
    z-index: 14;
  }
  .menu-toggle span { display: block; width: 100%; border-top: .13rem solid var(--color-095); }
  .top-nav { display: none; padding-top: 3rem; position: fixed; z-index: 13; top: 0; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white-color-095); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08); }
  .top-nav.is-open { display: flex; }
  .top-nav a { padding: 1rem; border-bottom: .0625rem solid var(--line); font-size: .85rem; }
  .search-filter-panel { z-index: 13;position: fixed; z-index: 5; top: 0; left: 0; right: 0; bottom: 0; }
  .login-text { display: none; }
  .searchbar { height: 2.9rem; }
  .search-filter-details > summary { padding: 0 .5rem; font-size: .64rem; }
  .search-filter-panel { padding: 1rem; max-height: 36rem; }
  .filter-groups { grid-template-columns: 100%; row-gap: 1.25rem; }
  .filter-group:nth-child(odd), .filter-group:nth-child(even) { padding: 0; }
  .filter-header span { font-size: .7rem; }
  .filter-choice span { min-height: 2.2rem; }
  .search-label { font-size: .67rem; padding: 0 .6rem; }
  .searchbar input { font-size: .78rem; padding: 0 .65rem; }
  .quick-nav { padding: .7rem 0; }
  .quick-item { font-size: .7rem; min-height: 2.3rem; }
  .quick-logo img {width: 100%;height: 100%;object-fit: cover;}
  .hero { aspect-ratio: 1.45 / 1; }
  .hero-slide--photo > img { object-position: 54% center; }
  .hero-caption { left: 5%; bottom: 20%; right: 5%; }
  .hero-progress-track { left: 5%; bottom: 11%; width: 38%; }
  .hero-controls { right: 5%; bottom: 5%; }
  .hero-slide--art > img, .hero-slide--tmanif > img { width: 58%; height: 57%; left: 35%; top: 9%; }
  .hero-caption h2 { font-size: 1.25rem; }
  .hero-caption p { font-size: .77rem; }
  .hero-counter { right: 5%; bottom: 3%; }
  .art-section { padding-top: 1.65rem; }
  .section-heading h2 { font-size: 1.42rem; }
  .carousel-track { grid-auto-columns: 50%; }
  .artwork-grid { grid-template-columns: repeat(2, 50%); }
  .artwork-card, .artwork-grid .artwork-card { min-height: 19rem; }
  .artwork-info { font-size: .69rem; }
  .artwork-visual, .artwork-grid .artwork-visual { height: 11.5rem; }
  .site-footer { padding-top: 2.5rem; gap: .8rem; }
  .footer-mark { width: 100%; }
  .footer-copy { flex-basis: 100%; }
  .footer-right { width: 100%; text-align: left; }
  .social-icons { justify-content: flex-start; }
  .detail-grid { grid-template-columns: 100%; }
  .detail-image { min-height: 18rem; border-right: 0; border-bottom: .0625rem solid var(--line); }
  .detail-content { padding: 1.5rem; }
  .detail-content h1 { font-size: 1.5rem; }
  .carousel-track {
        grid-auto-columns: 43%;
  }
}
@media (max-width: 22rem) {
  .artwork-link { padding-left: .2rem; padding-right: .2rem; }
  .artwork-info { font-size: .63rem; }
  .tag { font-size: .54rem; }
  .artwork-visual, .artwork-grid .artwork-visual { height: 9.2rem; }
  .artwork-card, .artwork-grid .artwork-card { min-height: 17rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-slides { transition: none; } }

/* ============================================================
   v4: 전체화면 검색 / 상세필터 + 모바일 전체화면 내비게이션
   크기 단위는 %, em, rem만 사용
   ============================================================ */
body.has-fullscreen-layer { overflow: hidden; }
.searchbar--trigger { position: relative; }
.searchbar--trigger input[readonly] { cursor: text; }
.search-filter-trigger { align-self: stretch; border: 0; border-right: .0625rem solid var(--line); background: transparent; color: inherit; cursor: pointer; white-space: nowrap; }
.search-filter-trigger:hover { background: #f1f2f4; }
.search-overlay[hidden] { display: none !important; }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--background-color);
  color: #202124;
}
.search-overlay-content {
  position: relative;
  width: min(90%, 46rem);
  min-height: 100%;
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
}
.search-overlay-close {
  position: absolute;
  right: 0;
  top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #323438;
  font-size: 2rem;
  line-height: 1;
}
.search-overlay-close:hover { background: #e9e9eb; }
.search-overlay-searchbar {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 5rem;
  padding: .5rem 1.15rem;
  border-radius: 1.2rem;
  background: var(--white-color-095);
  box-shadow: 0 .18rem .7rem rgba(0,0,0,.13);
}
.search-overlay-searchbar > button {
  display: grid;
  place-items: center;
  flex: 0 0 2.2rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.search-overlay-searchbar svg { width: 2rem; height: 2rem; fill: none; stroke: #222; stroke-width: 1.65; }
.search-overlay-searchbar input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 3.5rem;
  padding: 0 .55rem;
  border: 0;
  outline: none;
  background: transparent;
  color: #171717;
  font-size: 1.35rem;
  font-weight: 600;
}
.search-overlay-searchbar input::placeholder { color: #9b9b9f; }
.search-suggestions { padding: 1.7rem 1rem 0; }
.search-suggestions-label { margin: 0 0 .75rem; color: #98989a; font-size: .9rem; }
.search-keywords { display: flex; flex-wrap: wrap; gap: .85rem .75rem; }
.search-keyword {
  min-height: 2.9rem;
  padding: .55rem 1.05rem;
  border: 0;
  border-radius: .5rem;
  background: #ededee;
  color: #242427;
  font-size: 1rem;
  white-space: nowrap;
}
.search-keyword:hover, .search-keyword:focus-visible { background: #e2e3e5; }
.search-overlay .search-filter-details { display: block; height: auto; margin: 2.5rem 1rem 0; }
.search-overlay .search-filter-details > summary.overlay-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  min-height: 3.25rem;
  padding: .6rem 0;
  border-bottom: .0625rem solid #dedee2;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.search-overlay .search-filter-details > summary::after { display: none; }
.search-overlay .search-filter-details[open] > summary { background: transparent; }
.overlay-filter-chevron { display: inline-block; transition: transform .2s ease; }
.search-overlay .search-filter-details[open] .overlay-filter-chevron { transform: rotate(180deg); }
.search-overlay .search-filter-panel {
  position: static;
  inset: auto;
  z-index: auto;
  max-height: none;
  overflow: visible;
  padding: 1.4rem 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.search-overlay .filter-groups { grid-template-columns: repeat(2, minmax(0, 50%)); }
.search-overlay .filter-actions { background: var(--background-color); padding-bottom: 1rem; }
.search-overlay .filter-choice span { border-color: #dadde2; border-radius: .45rem; }
.search-overlay .filter-range input { background: var(--white-color-095); }

@media (max-width: 38rem) {
  /* 메뉴가 열린 동안 상단 전체 높이를 차지하도록 기존 모바일 규칙 덮어쓰기 */
  .top-nav {
    position: fixed;
    inset: 0;
    z-index: 13;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    padding: 5.5rem 5% 3rem;
    background: var(--background-color);
    box-shadow: none;
  }
  .top-nav.is-open { display: flex; }
  .top-nav a {
    display: block;
    padding: 1.25rem .5rem;
    border-bottom: .0625rem solid #dfdfe3;
    font-size: 1.35rem;
    font-weight: 600;
  }
  .menu-toggle[aria-expanded="true"] { z-index: 15; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.42rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.42rem) rotate(-45deg); }
  .search-overlay-content { width: 92%; padding-top: 5rem; }
  .search-overlay-close { top: 1.25rem; }
  .search-overlay-searchbar { min-height: 4rem; padding: .4rem .7rem; border-radius: .8rem; }
  .search-overlay-searchbar svg { width: 1.5rem; height: 1.5rem; }
  .search-overlay-searchbar input { height: 2.85rem; font-size: 1.05rem; }
  .search-suggestions { padding: 1.5rem .2rem 0; }
  .search-keywords { gap: .6rem .5rem; }
  .search-keyword { min-height: 2.5rem; padding: .55rem .75rem; font-size: .86rem; }
  .search-overlay .search-filter-details { margin: 1.6rem .2rem 0; }
  .search-overlay .search-filter-panel { position: static; max-height: none; padding: 1rem 0 0; }
  .search-overlay .filter-groups { grid-template-columns: 100%; }
  .search-overlay .filter-choice span { min-height: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .overlay-filter-chevron { transition: none; }
}

/* 목록 페이지 전용 메인 비주얼 */
.hero.hero--listing {
    height: 14rem;
    aspect-ratio: auto;
}

/* 목록 페이지 타이틀 */
.hero.hero--listing .hero-captions .hero-caption {
    bottom: 28%;
}

.hero.hero--listing .hero-caption h2 {
    font-size: 1.4rem;
}

.hero.hero--listing .hero-caption p {
    font-size: .8rem;
}

/* 태블릿 */
@media (max-width: 52rem) {
    .hero.hero--listing {
        height: 12rem;
    }
}

/* 모바일 */
@media (max-width: 38rem) {
    .hero.hero--listing {
        height: 10rem;
    }

    .hero.hero--listing .hero-captions .hero-caption {
        bottom: 30%;
    }

    .hero.hero--listing .hero-caption h2 {
        font-size: 1.1rem;
    }

    .hero.hero--listing .hero-caption p {
        font-size: .7rem;
    }
}
.search-highlight {
    background: #e1eaf5;
    color: inherit;
    border-radius: .1em;
    padding: 0 .08em;
    font-weight: 700;
}