@charset "utf-8";
/* 11/2026 mall restyle — catalog pages (see public/css/theme-mall.css). Every rule is scoped to this area.
   Pages: /item?code= (.prd_list_wrap.il PC + .item_list_mo phone), /item?top_search= (.prd_list_wrap + .search_result_box),
   /item/sub_list (CSS module in src/app/item/sub_list), /used (.used_list), /shop/[m_idx] (.shop_wrap).
   Look = the home's .lx (public/css/home.css): radius 14 photos, 20 panels, pill chips / tabs, round 40px pagers,
   1px #e3e6ee lines, navy primary, brass for small highlights, sale red only for discounts.
   Spacing 4/8/12/16/20/24/32/48/64. */

/* --------------------------------------------------------------------------
   Base: container width, font, box model
   -------------------------------------------------------------------------- */
#container:is(.prd_list_wrap, .item_list_mo, .used_list),
#container .shop_wrap {
  font-family: var(--ui-font);
  color: var(--nb-ink);
}
#container:is(.prd_list_wrap, .item_list_mo, .used_list) *,
#container .shop_wrap * { box-sizing: border-box; }
#container.prd_list_wrap { padding: 40px 0 96px; background: #fff; }
#container.prd_list_wrap > .inner,
#container .shop_wrap {
  width: calc(100% - 48px);
  max-width: var(--ui-container, 1400px);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
#container.used_list {
  width: calc(100% - 48px);
  max-width: var(--ui-container, 1400px);
  margin: 0 auto;
  padding: 40px 0 96px;
}

/* page heads (eyebrow + title + desc) */
:is(.prd_list_wrap, .used_list) .ui-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: none;
}
:is(.prd_list_wrap, .used_list) .ui-eyebrow { margin-bottom: 8px; color: var(--brass-ink); }
:is(.prd_list_wrap, .used_list) .ui-page-title { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; color: var(--nb-ink); }
:is(.prd_list_wrap, .used_list) .ui-page-desc { margin-top: 8px; font-size: 15px; color: var(--nb-muted); }
.prd_list_wrap .ui-page-desc b { color: var(--nb-ink); font-weight: 800; }
.prd_list_wrap .il-head__sub { color: var(--nb-muted); font-weight: 700; }

/* shared keyboard focus */
:is(.prd_list_wrap, .item_list_mo, .used_list, .shop_wrap) :is(a, button, select, input):focus-visible {
  outline: 2px solid var(--brand-800);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Category tiles (PC) — quiet white tiles, navy line when on
   -------------------------------------------------------------------------- */
.prd_list_wrap .category_tab { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 20px; }
.prd_list_wrap .category_tab .cat_btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 !important;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  background: #fff;
  transition: border-color .2s var(--nb-ease), background-color .2s var(--nb-ease);
}
.prd_list_wrap .category_tab .cat_btn:hover { transform: none; border-color: var(--nb-ink); background: #fff; }
.prd_list_wrap .category_tab .cat_btn.on { border-color: var(--brand-800); background: var(--brand-800); }
.prd_list_wrap .category_tab .cat_btn .ico { flex: none; width: 32px; height: 32px; margin: 0; border-radius: 50%; background: var(--nb-mist); overflow: hidden; }
.prd_list_wrap .category_tab .cat_btn.on .ico { background: #fff; }
.prd_list_wrap .category_tab .cat_btn .ico img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.prd_list_wrap .category_tab .cat_btn .txt { margin: 0; font-size: 14px; font-weight: 600; color: var(--nb-ink-2); white-space: nowrap; }
.prd_list_wrap .category_tab .cat_btn:hover .txt { color: var(--nb-ink); }
.prd_list_wrap .category_tab .cat_btn.on .txt { color: #fff; }

/* sub-category chips */
.prd_list_wrap.il .tab_category .snb_list01 li a {
  min-height: 40px;
  height: auto;
  padding: 0 18px;
  border-color: var(--nb-line);
  color: var(--nb-ink-2);
  transition: border-color .2s var(--nb-ease), color .2s var(--nb-ease), background-color .2s var(--nb-ease);
}
.prd_list_wrap.il .tab_category .snb_list01 li a:hover { border-color: var(--nb-ink); color: var(--nb-ink); }
.prd_list_wrap.il .tab_category .snb_list01 li.on a { border-color: var(--nb-ink); background: var(--nb-ink); color: #fff; }

/* --------------------------------------------------------------------------
   PLUS panel
   -------------------------------------------------------------------------- */
.prd_list_wrap.il .il-plus {
  margin-bottom: 48px;
  padding: 28px 28px 32px !important;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  background: var(--nb-mist);
}
.prd_list_wrap.il .il-plus .main_ttl .ui-eyebrow { color: var(--brass-ink); }
.prd_list_wrap.il .il-plus .main_ttl strong { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); }
.prd_list_wrap.il .il-plus .ad_link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--nb-ink);
}
.prd_list_wrap.il .il-plus .control_box button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--nb-line);
  border-radius: 50%;
  background: #fff center / 14px 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
.prd_list_wrap.il .il-plus .control_box button.next_btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
.prd_list_wrap.il .il-plus .control_box button:hover { border-color: var(--nb-ink); }

/* --------------------------------------------------------------------------
   Toolbar: title, sort pills, page size, in-category search
   -------------------------------------------------------------------------- */
.prd_list_wrap.il .il-toolbar { gap: 12px 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--nb-line); }
.prd_list_wrap .list_ttl_row .list_ttl strong { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); }
.prd_list_wrap .item_detail_tab {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: var(--nb-mist);
  scrollbar-width: none;
}
.prd_list_wrap .item_detail_tab::-webkit-scrollbar { display: none; }
.prd_list_wrap .item_detail_tab button {
  flex: none;
  height: auto;
  min-height: 40px;
  margin: 0 !important;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-muted);
  cursor: pointer;
  transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease);
}
.prd_list_wrap .item_detail_tab button::before,
.prd_list_wrap .item_detail_tab button::after { display: none !important; }
.prd_list_wrap .item_detail_tab button:hover { color: var(--nb-ink); }
.prd_list_wrap .item_detail_tab button.active { background: var(--nb-ink); color: #fff; box-shadow: none; }

.prd_list_wrap.il .il-search select {
  height: 44px;
  padding: 0 32px 0 16px;
  border: 1px solid var(--nb-line);
  border-radius: 12px;
  background-color: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--nb-ink-2);
}
.prd_list_wrap.il .il-search__box { height: 44px; padding: 3px; border-color: var(--nb-line); border-radius: 12px; }
.prd_list_wrap.il .il-search__box:focus-within { border-color: var(--brand-800); box-shadow: 0 0 0 3px rgba(31, 49, 92, .12); }
#wrap .prd_list_wrap.il .il-search__box input { height: 36px; font-family: inherit; color: var(--nb-ink); }
#wrap .prd_list_wrap.il .il-search__box input:focus-visible { outline: none; }
.prd_list_wrap.il .il-search__box button {
  height: 36px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--brand-800);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.prd_list_wrap.il .il-search__box button:hover { background: var(--brand-700); }

/* --------------------------------------------------------------------------
   Product card = home .lx-card (no frame; the 4:3 photo carries the shape)
   -------------------------------------------------------------------------- */
.prd_list_wrap.il .itme_type01,
.prd_list_wrap .search_result_list,
.item_list_mo .sear_list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prd_list_wrap.il .itme_type01 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.prd_list_wrap .itme_type01 > li,
.prd_list_wrap .search_result_list > li,
.item_list_mo .sear_list > li { width: auto !important; min-width: 0; margin: 0 !important; padding: 0; border: 0; }

:is(.prd_list_wrap, .item_list_mo) .prd_item {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 14px;
  background: none;
  box-shadow: none;
  color: var(--nb-ink);
  transform: none !important;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item:hover { border: 0; box-shadow: none; }
:is(.prd_list_wrap, .item_list_mo) .prd_item .thumb {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: var(--nb-mist) url('/img/main/lx/no-image.svg') center / 44px no-repeat;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 21, 33, .05);
  pointer-events: none;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item .thumb span {
  display: block;
  height: 0;
  padding-top: 75%;
  border-radius: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .6s var(--nb-ease);
}
:is(.prd_list_wrap, .item_list_mo) .prd_item:hover .thumb span { transform: scale(1.05); }
:is(.prd_list_wrap, .item_list_mo) .prd_item .txt,
.prd_list_wrap .prd_sec .prd_item .txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  max-width: none;
  min-width: 0;
  padding: 0;
  border: 0;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item .seller_id { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; }
:is(.prd_list_wrap, .item_list_mo) .prd_item .seller {
  overflow: hidden;
  min-width: 0;
  font-size: 12px;
  color: var(--nb-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item .seller_id .level {
  flex: none;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brass-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--brass-ink);
}
:is(.prd_list_wrap, .item_list_mo) .prd_item .seller_id .level:empty,
:is(.prd_list_wrap, .item_list_mo) .prd_item .seller_id .level i { display: none; }
:is(.prd_list_wrap, .item_list_mo) .prd_item .subject {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--nb-ink);
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
:is(.prd_list_wrap, .item_list_mo) .prd_item:hover .subject { text-decoration: underline; text-underline-offset: 3px; }
:is(.prd_list_wrap, .item_list_mo) .prd_item .price_row { margin: auto 0 0; padding-top: 2px; font-size: 14px; color: var(--nb-ink-2); }
:is(.prd_list_wrap, .item_list_mo) .prd_item .price_row strong { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--nb-ink); }
.prd_list_wrap .prd_item .review_row { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--nb-muted); }
.prd_list_wrap .prd_item .review_row .star { font-weight: 700; color: var(--brass-ink); }
.prd_list_wrap .prd_item .review_row .count { font-weight: 500; color: var(--nb-muted); }

/* PLUS slider cards: same card, five in a row */
.prd_list_wrap.il .il-plus .slide_itemwrap { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.prd_list_wrap.il .il-plus .slide_itemwrap[style*='none'] { display: none !important; }
.prd_list_wrap.il .il-plus .slider_item { width: auto !important; min-width: 0; margin: 0 !important; }

/* empty state */
.prd_list_wrap .il-empty,
.used_list .used_empty,
.shop_wrap .shop_empty {
  padding: 80px 16px;
  border: 1px dashed var(--nb-line);
  border-radius: 20px;
  background: #fff;
  font-size: 15px;
  color: var(--nb-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Search results head
   -------------------------------------------------------------------------- */
.prd_list_wrap .search_result_box { margin-top: 24px; padding-bottom: 0; }
.prd_list_wrap .search_result_box .list_ttl_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nb-line);
}
.prd_list_wrap .search_result_box .search_ttl { min-width: 0; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -0.03em; color: var(--nb-ink-2); word-break: keep-all; overflow-wrap: break-word; }
.prd_list_wrap .search_result_box .search_ttl strong { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); }
.prd_list_wrap .search_result_box .search_ttl span { font-weight: 800; color: var(--nb-ink); }
.prd_list_wrap .search_result_box .item_detail_tab { margin: 0; }
.prd_list_wrap .search_none { padding: 64px 16px; border: 1px dashed var(--nb-line); border-radius: 20px; }
.prd_list_wrap .search_none img { max-width: 100%; height: auto; }
.prd_list_wrap .search_none h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); }
.prd_list_wrap .search_none h3 span { color: var(--brand-800); }
.prd_list_wrap .search_none p { font-size: 15px; color: var(--nb-muted); }

/* --------------------------------------------------------------------------
   Pagination: round 40px buttons (legacy .next_prev_box + mobile .pager)
   -------------------------------------------------------------------------- */
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box { display: flex; justify-content: center; margin: 56px auto 0; }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li { float: none; }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: auto;
  height: 40px;
  margin: 0 !important;
  padding: 0 6px;
  outline: none;
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--nb-ink-2);
  transition: border-color .2s var(--nb-ease), color .2s var(--nb-ease), background-color .2s var(--nb-ease);
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a:hover { border-color: var(--nb-ink); color: var(--nb-ink); }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a:focus-visible { outline: 2px solid var(--brand-800); outline-offset: 2px; }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li.on a,
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a.on,
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a[aria-current='page'] {
  border-color: var(--brand-800);
  background-color: var(--brand-800);
  color: #fff;
  font-weight: 700;
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a[aria-disabled='true'] { opacity: .4; pointer-events: none; }
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li :is(.first_page, .preview, .next, .last_page) {
  width: 40px;
  padding: 0;
  background: #fff center / 14px 14px no-repeat;
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li .first_page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 18l-6-6 6-6M18 18l-6-6 6-6'/%3E%3C/svg%3E");
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li .preview {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li .next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
:is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li .last_page {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 6l6 6-6 6M6 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   /used list: head, category chips, filter panel, sort, price range
   -------------------------------------------------------------------------- */
.used_list .used_header_sell_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-800);
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transform: none;
  transition: background-color .2s var(--nb-ease);
}
.used_list .used_header_sell_btn::before { content: '+'; font-size: 18px; font-weight: 600; line-height: 1; }
.used_list .used_header_sell_btn:hover { background: var(--brand-700); transform: none; }

.used_list .used_cates { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.used_list .used_filter_chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.used_list .used_filter_chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--nb-ease), color .2s var(--nb-ease), background-color .2s var(--nb-ease);
}
.used_list .used_filter_chip:hover { border-color: var(--nb-ink); color: var(--nb-ink); }
.used_list .used_filter_chip.active { border-color: var(--nb-ink); background: var(--nb-ink); color: #fff; }
.used_list .used_filter_bar .used_filter_chip { min-height: 36px; padding: 0 14px; font-size: 13px; }

.used_list .used_filter_bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  background: #fff !important;
  box-shadow: none;
}
.used_list .used_filter_row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.used_list .used_filter_groups { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.used_list .used_filter_label { margin-right: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--nb-muted); }
.used_list .used_hide_sold { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.used_list .used_hide_sold input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-800); pointer-events: none; }
.used_list .used_hide_sold a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--nb-ink-2); text-decoration: none; }
.used_list .used_hide_sold a:hover { color: var(--nb-ink); }

.used_list .used_sort { display: inline-flex; flex: none; gap: 4px; padding: 4px; border-radius: 999px; background: var(--nb-mist); }
.used_list .used_sort a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nb-muted);
  text-decoration: none;
  transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease);
}
.used_list .used_sort a:hover { color: var(--nb-ink); }
.used_list .used_sort a.on { background: var(--nb-ink); color: #fff; }

.used_list .used_price_row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 16px; border-top: 1px solid var(--nb-line); }
.used_list .used_price_form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.used_list .used_price_form input {
  width: 140px;
  max-width: none;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--nb-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--nb-ink);
}
.used_list .used_price_form input:focus { border-color: var(--brand-800); outline: none; box-shadow: 0 0 0 3px rgba(31, 49, 92, .12); }
.used_list .used_price_sep { color: var(--nb-muted); }
.used_list .used_price_form button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-800);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.used_list .used_price_form button:hover { background: var(--brand-700); }
.used_list .used_price_reset { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--mall-sale); }
.used_list .used_paging { margin-top: 0; }

/* --------------------------------------------------------------------------
   Used / shop card = home .lx-card
   -------------------------------------------------------------------------- */
:is(.used_list, .shop_wrap) .used_grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; padding: 0; }
:is(.used_list, .shop_wrap) .used_card_wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
:is(.used_list, .shop_wrap) .used_card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 14px !important;
  background: none;
  box-shadow: none;
  color: var(--nb-ink);
  transform: none !important;
}
:is(.used_list, .shop_wrap) .used_card_wrap .used_card { height: auto; flex: 1; }
:is(.used_list, .shop_wrap) .used_card:hover { box-shadow: none; }
:is(.used_list, .shop_wrap) .used_card_thumb_wrap {
  padding-top: 75%;
  border: 0;
  border-radius: 14px;
  background: var(--nb-mist);
}
:is(.used_list, .shop_wrap) .used_card_thumb_wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 21, 33, .05);
  pointer-events: none;
}
:is(.used_list, .shop_wrap) .used_card_thumb_wrap img { transition: transform .6s var(--nb-ease); }
:is(.used_list, .shop_wrap) .used_card:hover .used_card_thumb_wrap img { transform: scale(1.05); }
:is(.used_list, .shop_wrap) .used_badge { top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; }
:is(.used_list, .shop_wrap) .used_badge_reserved { background: var(--brass); color: var(--brand-950); }
:is(.used_list, .shop_wrap) .used_badge_sold { background: var(--nb-ink); }
:is(.used_list, .shop_wrap) .used_badge_condition { right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(18, 23, 37, .86); font-size: 11px; font-weight: 700; }
:is(.used_list, .shop_wrap) .used_dim_overlay { border-radius: inherit; background: rgba(18, 23, 37, .5); font-size: 15px; }
:is(.used_list, .shop_wrap) .used_card_body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 0; }
:is(.used_list, .shop_wrap) .used_card_title {
  height: auto;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--nb-ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}
:is(.used_list, .shop_wrap) .used_card:hover .used_card_title { text-decoration: underline; text-underline-offset: 3px; }
:is(.used_list, .shop_wrap) .used_card_price { margin: auto 0 0; padding-top: 2px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--nb-ink); }
:is(.used_list, .shop_wrap) .used_card_price small { margin-left: 1px; font-size: 14px; font-weight: 400; color: var(--nb-ink-2); }
:is(.used_list, .shop_wrap) .used_card_meta { gap: 8px; margin: 0; font-size: 12px; color: var(--nb-muted); }
.used_list .used_card_seller {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  min-height: 32px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  color: var(--nb-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}
.used_list .used_card_seller:hover { color: var(--nb-ink); text-decoration: underline; }

/* --------------------------------------------------------------------------
   /shop/[m_idx]: seller head as a panel, tabs as pills
   -------------------------------------------------------------------------- */
#container .shop_wrap { padding-top: 40px; padding-bottom: 96px; }
.shop_wrap .shop_head {
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  background: #fff;
}
.shop_wrap .shop_avatar { flex: none; border-radius: 50%; background-color: var(--nb-mist); }
.shop_wrap .shop_head_info { min-width: 0; flex: 1; }
.shop_wrap .shop_name { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); word-break: keep-all; overflow-wrap: break-word; }
.shop_wrap .shop_type { padding: 2px 9px; border-radius: 999px; background: var(--nb-mist); font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--nb-ink-2); vertical-align: middle; }
.shop_wrap .shop_type.corp { background: var(--brass-soft); color: var(--brass-ink); }
.shop_wrap .shop_stats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 14px; color: var(--nb-ink-2); }
.shop_wrap .shop_stars { color: var(--brass); }
.shop_wrap .shop_intro { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--nb-muted); }
.shop_wrap .shop_head_btn button,
.shop_wrap .shop_head_btn a {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
}

.shop_wrap .shop_tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin: 24px 0 28px;
  padding: 4px;
  overflow-x: auto;
  border: 0;
  border-radius: 999px;
  background: var(--nb-mist);
  scrollbar-width: none;
}
.shop_wrap .shop_tabs::-webkit-scrollbar { display: none; }
.shop_wrap .shop_tabs a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-muted);
  transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease);
}
.shop_wrap .shop_tabs a:hover { color: var(--nb-ink); }
.shop_wrap .shop_tabs a.on { background: var(--nb-ink); color: #fff; }
.shop_wrap .shop_tabs a em { margin: 0; font-size: 12px; font-weight: 700; color: inherit; opacity: .7; }
.shop_wrap .shop_review_list > li { padding: 20px 0; border-bottom: 1px solid var(--nb-line); }
.shop_wrap .shop_review_goods { font-size: 13px; color: var(--nb-muted); }
.shop_wrap .shop_review_text { font-size: 15px; line-height: 1.6; color: var(--nb-ink); }

@media (prefers-reduced-motion: reduce) {
  :is(.prd_list_wrap, .item_list_mo) .prd_item .thumb span,
  :is(.used_list, .shop_wrap) .used_card_thumb_wrap img { transition: none; }
  :is(.prd_list_wrap, .item_list_mo) .prd_item:hover .thumb span,
  :is(.used_list, .shop_wrap) .used_card:hover .used_card_thumb_wrap img { transform: none; }
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .prd_list_wrap .search_result_list,
  :is(.used_list, .shop_wrap) .used_grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prd_list_wrap.il .il-plus .slide_itemwrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prd_list_wrap.il .il-plus .slide_itemwrap .slider_item:nth-child(n+9) { display: none; }
}
@media screen and (max-width: 1024px) {
  .prd_list_wrap.il .itme_type01,
  .prd_list_wrap .search_result_list,
  :is(.used_list, .shop_wrap) .used_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 14px; }
  .prd_list_wrap.il .il-search { flex-wrap: wrap; margin-left: 0; }
}

/* phones + small tablets (the /item list switches to its .item_list_mo markup here) */
@media screen and (max-width: 768px) {
  #container.prd_list_wrap,
  #container.used_list { padding-top: 24px; padding-bottom: 64px; }
  #container.prd_list_wrap > .inner,
  #container.used_list,
  #container .shop_wrap { width: calc(100% - 32px); }
  #container .shop_wrap { padding-top: 24px; padding-bottom: 64px; }
  :is(.prd_list_wrap, .used_list) .ui-page-title { font-size: 24px; }
  :is(.prd_list_wrap, .used_list) .ui-page-desc { font-size: 14px; }

  .prd_list_wrap .category_tab { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 16px; overflow-x: auto; scrollbar-width: none; }
  .prd_list_wrap .category_tab::-webkit-scrollbar { display: none; }
  .prd_list_wrap .category_tab .cat_btn { flex: none; min-height: 44px; }

  .prd_list_wrap .search_result_list,
  .item_list_mo .sear_list,
  :is(.used_list, .shop_wrap) .used_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  :is(.prd_list_wrap, .item_list_mo) .prd_item,
  :is(.used_list, .shop_wrap) .used_card { gap: 10px; }
  :is(.prd_list_wrap, .item_list_mo) .prd_item .subject,
  :is(.used_list, .shop_wrap) .used_card_title { font-size: 14px; }
  :is(.prd_list_wrap, .item_list_mo) .prd_item .price_row strong,
  :is(.used_list, .shop_wrap) .used_card_price { font-size: 16px; }
  .prd_list_wrap .search_result_box .search_ttl { font-size: 15px; }
  .prd_list_wrap .search_result_box .search_ttl strong { font-size: 20px; }
  .prd_list_wrap .item_detail_tab { width: 100%; }
  .prd_list_wrap .item_detail_tab button { flex: 1 0 auto; min-height: 44px; padding: 0 12px; }

  :is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box { margin-top: 40px; }
  :is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li a,
  :is(.prd_list_wrap, .used_list, .shop_wrap) .next_prev_box ul li :is(.first_page, .preview, .next, .last_page) { min-width: 44px; height: 44px; }

  /* /item phone markup (.item_list_mo) */
  #container.item_list_mo { padding: 0 0 64px; background: #fff; }
  .item_list_mo .item_seawrap .sear_box { margin-bottom: 0 !important; padding: 0; }
  .item_list_mo .item_seawrap .sear_box > .inner { width: calc(100% - 32px); max-width: none; margin: 0 auto; padding: 0; }
  .item_list_mo .sear_top.item_sear_top { gap: 12px; margin: 0 0 20px; padding: 20px 0 16px; border-bottom: 1px solid var(--nb-line); }
  .item_list_mo .item_sear_top .main_tit strong { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; color: var(--nb-ink); }
  .item_list_mo .sear_top.item_sear_top .sort_btn {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--nb-line);
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--nb-ink);
  }
  .item_list_mo .sear_top.item_sear_top form#search_mo { gap: 8px; }
  .item_list_mo .sear_top.item_sear_top form#search_mo select,
  .item_list_mo .sear_top.item_sear_top form#search_mo input[type="text"] {
    height: 44px;
    border: 1px solid var(--nb-line);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--nb-ink);
  }
  .item_list_mo .sear_top.item_sear_top form#search_mo input[type="text"] { padding: 0 12px; }
  .item_list_mo .sear_top.item_sear_top form#search_mo button {
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-800);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }

  /* phone pager (.pager list5_mo) */
  #container.item_list_mo .pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 0; padding: 0; }
  #container.item_list_mo .pager li { width: auto !important; height: auto !important; margin: 0; border: 0; }
  #container.item_list_mo .pager li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    border: 1px solid var(--nb-line);
    border-radius: 999px;
    background-color: #fff;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1 !important;
    color: var(--nb-ink-2);
  }
  #container.item_list_mo .pager li a.on { border-color: var(--brand-800); background-color: var(--brand-800); color: #fff; }

  /* /used */
  .used_list .used_list__head { align-items: flex-start; }
  .used_list .used_header_sell_btn { min-height: 44px; }
  .used_list .used_cates { flex-wrap: nowrap; margin: 0 -16px 16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .used_list .used_cates::-webkit-scrollbar { display: none; }
  .used_list .used_cates .used_filter_chip { flex: none; min-height: 44px; }
  .used_list .used_filter_bar { padding: 16px; border-radius: 16px; }
  .used_list .used_filter_bar .used_filter_chip,
  .used_list .used_sort a { min-height: 44px; }
  .used_list .used_hide_sold a,
  .used_list .used_price_reset { min-height: 44px; }
  .used_list .used_filter_label { flex-basis: 100%; }
  .used_list .used_sort { width: 100%; }
  .used_list .used_sort a { flex: 1 0 auto; justify-content: center; }
  .used_list .used_price_form { flex: 1 1 100%; flex-wrap: nowrap; }
  .used_list .used_price_form input { flex: 1 1 0; width: 0; min-width: 0; height: 44px; }
  .used_list .used_price_form button { flex: none; height: 44px; }
  .used_list .used_card_seller { min-height: 40px; }

  /* /shop */
  .shop_wrap .shop_head { flex-wrap: wrap; padding: 20px 16px; border-radius: 16px; }
  .shop_wrap .shop_name { font-size: 22px; }
  .shop_wrap .shop_head_btn { flex-basis: 100%; }
  .shop_wrap .shop_tabs { display: flex; }
  .shop_wrap .shop_tabs a { flex: 1 0 auto; justify-content: center; min-height: 44px; }
}

/* --------------------------------------------------------------------------
   /item category panel (.il-cats): top-level categories as an underlined tab row,
   the active one's sub-categories in a mist strip right under it
   -------------------------------------------------------------------------- */
.prd_list_wrap.il .il-cats { margin: 0 0 40px; overflow: hidden; border: 1px solid var(--nb-line); border-radius: 18px; background: #fff; }
.prd_list_wrap.il .il-cats .category_tab {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(max-content, 1fr);
  gap: 0;
  padding: 0 8px;
  border-bottom: 1px solid var(--nb-line);
}
.prd_list_wrap.il .il-cats .category_tab .cat_btn {
  position: relative;
  min-height: 60px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: none;
  transition: background-color .2s var(--nb-ease);
}
.prd_list_wrap.il .il-cats .category_tab .cat_btn::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-800);
  transform: scaleX(0);
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.prd_list_wrap.il .il-cats .category_tab .cat_btn:hover { background: var(--nb-mist); }
.prd_list_wrap.il .il-cats .category_tab .cat_btn.on { background: none; }
.prd_list_wrap.il .il-cats .category_tab .cat_btn.on::after { transform: scaleX(1); }
.prd_list_wrap.il .il-cats .category_tab .cat_btn .ico { width: 30px; height: 30px; }
.prd_list_wrap.il .il-cats .category_tab .cat_btn.on .ico { background: var(--nb-mist); box-shadow: inset 0 0 0 1.5px var(--brand-800); }
.prd_list_wrap.il .il-cats .category_tab .cat_btn .txt { font-size: 15px; color: var(--nb-ink-2); }
.prd_list_wrap.il .il-cats .category_tab .cat_btn.on .txt { font-weight: 800; color: var(--brand-800); }
.prd_list_wrap.il .il-cats .il-chips { margin: 0; padding: 14px 20px; background: var(--nb-mist); }
.prd_list_wrap.il .il-cats .tab_category .snb_list01 li a { min-height: 36px; padding: 0 16px; border-color: transparent; background: #fff; font-size: 14px; }
.prd_list_wrap.il .il-cats .tab_category .snb_list01 li a:hover { border-color: var(--nb-ink); }
.prd_list_wrap.il .il-cats .tab_category .snb_list01 li.on a { border-color: var(--brand-800); background: var(--brand-800); color: #fff; }

/* --------------------------------------------------------------------------
   /used filter panel (.uf): one labelled row per filter group
   -------------------------------------------------------------------------- */
.used_list .used_filter_bar.uf { align-items: stretch; gap: 0; padding: 4px 24px; }
.used_list .uf .uf-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--nb-line); }
.used_list .uf .uf-row:last-child { border-bottom: 0; }
.used_list .uf .used_filter_label { margin: 0; }
.used_list .uf .used_filter_chips { gap: 6px; }
.used_list .uf .uf-tail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-width: 0; }
.used_list .uf .uf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-left: auto; }

@media screen and (max-width: 768px) {
  .prd_list_wrap.il .il-cats .category_tab { overflow-x: auto; margin: 0; padding: 0 4px; scrollbar-width: none; }
  .prd_list_wrap.il .il-cats .category_tab .cat_btn { min-height: 52px; }
  .prd_list_wrap.il .il-cats .il-chips { padding: 12px 16px; }
  .prd_list_wrap.il .il-cats .tab_category .snb_list01 li a { min-height: 44px; }
  .used_list .used_filter_bar.uf { padding: 4px 16px; }
  .used_list .uf .uf-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .used_list .uf .uf-tools { width: 100%; margin-left: 0; }
}

/* small phones (owner review 11/2026, layout.cards-roomy): below 320px two columns make 90px cards, so the goods /
   중고 lists go to one card per row laid out sideways (picture left, text right). Phone-only. */
@media (max-width: 319px) {
  .prd_list_wrap .search_result_list,
  .item_list_mo .sear_list,
  :is(.used_list, .shop_wrap) .used_grid,
  .used_list .used_items { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :is(.prd_list_wrap, .item_list_mo, .used_list) .prd_item,
  :is(.used_list, .shop_wrap) .used_card { display: grid !important; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 12px; }
  :is(.prd_list_wrap, .item_list_mo, .used_list) .prd_item .thumb span { padding-top: 100%; }
  :is(.used_list, .shop_wrap) .used_card_thumb_wrap { aspect-ratio: 1 / 1; height: auto; }
}

/* /item phone sub-category tabs (#itemNav .prd2depth): a tab label stays on one line, the row scrolls sideways
   (text.not-squeezed: "사무/운영 지원" was squeezed to 3 lines) */
@media (max-width: 768px) {
  #itemNav .prd2depth ul li { flex: none; }
  #itemNav .prd2depth ul li a { white-space: nowrap; }
}
