@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap);
/* 예시파일 */

:root {
  --layout-color: #fff;
}

@charset 'utf-8';

:root {
  --whole-color: #fff;
  --background-color: #f5f6f8;
  --point-color: #f92626;
  --point-color-secondary: #2869f7;
  --black-color: #111;
  --dark-gray-color: #262626;

  --empty-color: #f5f6f8;
  --default-color: #ddd;
  --blue-gray-color: #3f434c;
  --gray-color: #999;
  --gray-font-color: #828282;
  --tooltip-bg-color: #f7f7f7;

  --default-font-color: #181818;
}

html,
body,
#app {
  max-width: 100%;
  overflow-x: clip;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.product-thumb-brand {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--black-color);
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

/* 브랜드만 노출: 이미지 너비 기준 가운데 정렬, 긴 이름은 두 줄까지 */
.product-thumb-brand--only {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  width: 100%;
  margin-bottom: 10px;
  padding: 2px 0 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.thumb-item__info:has(.product-thumb-brand--only) {
  text-align: center;
}

.thumb-item__info:has(.product-thumb-brand--only) > a {
  display: block;
  width: 100%;
}

/* 상품 이미지: 비율 유지 + 흰 여백(Fit & Pad). 크롭/늘리기/확대 없음 */
.thumb-item__media:has(.thumb-item__img img),
.product-section .thumb-item__media,
.product-section--slide .thumb-item__media {
  background-color: #fff;
  background-image: none;
}

.thumb-item__img,
.product-section .thumb-item__img,
.product-section--slide .thumb-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.thumb-item__img img,
.product-section .thumb-item__img img,
.product-section--slide .thumb-item__img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-list__index {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 10px 8px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--light-gray-border-color, #ececec);
  -webkit-overflow-scrolling: touch;
}

.brand-list__index-link {
  flex: 1 0 auto;
  min-width: 18px;
  padding: 4px 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #8a8a8a;
  text-align: center;
  text-decoration: none;
}

.brand-list__index-link:not(.is-disabled) {
  color: #111;
}

.brand-list__index-link.is-disabled {
  pointer-events: none;
  opacity: 0.35;
}

.brand-list__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #111;
}

.brand-list__search-submit {
  display: flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  color: #111;
  background: none;
  border: 0;
  cursor: pointer;
}

.brand-list__search-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: inherit;
}

.brand-list__search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  border: 0;
  outline: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.brand-list__search-input::placeholder {
  font-size: 16px;
  color: #8a8a8a;
  opacity: 1;
}

.brand-list__status {
  padding: 40px 16px;
  color: var(--gray-font-color);
  text-align: center;
}

.brand-list__section {
  scroll-margin-top: 46px;
}

.brand-list__letter {
  padding: 28px 16px 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #111;
}

.brand-list__items {
  list-style: none;
  margin: 0;
  padding: 0 16px;
}

.brand-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 0;
  font-size: 15px;
  color: #111;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--light-gray-border-color, #ececec);
  cursor: pointer;
}

.brand-list__item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-list__item-count {
  flex: 0 0 auto;
  color: #8a8a8a;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.brand-list__item.is-active {
  font-weight: 600;
}

.brand-list__item.is-active .brand-list__item-count {
  font-weight: 400;
}

.page:has(.breadcrumb--plp) .header.header--tab {
  padding-bottom: 0;
}

.page:has(.breadcrumb--plp) .header__title {
  visibility: hidden;
  pointer-events: none;
}

.breadcrumb--plp {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  margin-top: -44px;
  padding: 0 48px;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.breadcrumb--plp.is-open {
  z-index: 30;
}

.breadcrumb--plp .breadcrumb__section {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}

.breadcrumb--plp .breadcrumb__link,
.breadcrumb--plp .breadcrumb__link a,
.breadcrumb--plp .breadcrumb__current,
.breadcrumb--plp .breadcrumb__toggle span {
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb--plp .breadcrumb__sep {
  display: none;
}

.breadcrumb--plp .breadcrumb__link::after {
  content: none !important;
  display: none !important;
}

.breadcrumb--plp .breadcrumb__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: visible;
  cursor: pointer;
}

.breadcrumb--plp .breadcrumb__toggle span::after {
  content: none !important;
  display: none !important;
}

.breadcrumb--plp .breadcrumb__icon {
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  overflow: visible;
}

.breadcrumb--plp .breadcrumb__toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.breadcrumb--plp .category-callout {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 30;
  max-height: min(70vh, 480px);
  overflow: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
}

.breadcrumb--plp .category-callout__btn,
.breadcrumb--plp .category-callout__link {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.3;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-filter {
  position: sticky;
  top: 44px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.page:has(.category-filter) .l-panel {
  padding-top: 0;
}

.page:has(.category-filter) .total-sort {
  display: none;
}

.category-filter__count {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
}

.category-filter__count .highlight {
  margin: 0 1px;
  color: var(--point-color, #f92626);
  font-style: normal;
  font-weight: 600;
}

.category-filter__chips {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-filter__chips.is-menu-open {
  overflow: visible;
}

.category-filter__chips::-webkit-scrollbar {
  display: none;
}

.category-chip-wrap {
  position: relative;
  flex: 0 0 auto;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  max-width: 148px;
  padding: 0 12px;
  font-size: 13px;
  color: #111;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
}

.category-chip.is-active {
  color: #fff;
  background: #111;
  border-color: #111;
}

.category-chip__text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-chip__chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  overflow: visible;
}

.category-chip-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 4;
  min-width: 132px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-chip-menu__item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #111;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-chip-menu__item.is-active {
  font-weight: 600;
}

.category-chip-menu--colors {
  left: auto;
  right: 0;
  min-width: 176px;
  padding: 8px;
}

.category-chip-menu--sort {
  left: auto;
  right: 0;
}

.category-chip-menu--colors .category-chip-menu__item {
  padding: 8px 10px;
}

.category-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 32px);
  gap: 10px;
  padding: 8px 6px 6px;
}

.category-color-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-color-swatch {
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.category-color-swatch.is-light {
  border-color: #cfcfcf;
}

.category-color-swatch.is-multi {
  background: conic-gradient(#e11d48, #efc220, #2f8f4e, #2f6fed, #7a3ad8, #e11d48) !important;
}

.category-color-btn.is-active .category-color-swatch {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111;
}

.category-chip__swatch {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.category-chip.is-active .category-chip__swatch {
  border-color: rgba(255, 255, 255, 0.55);
}

.category-menu__list {
  display: block;
  column-count: 3;
  column-gap: 16px;
  margin: 0;
  padding: 10px 16px 8px;
  list-style: none;
}

.category-menu__list > li {
  break-inside: avoid;
}

.category-menu__list .category-menu__link {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.brand-list__clear {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 0;
  padding: 12px 0;
  font-size: 14px;
  color: #111;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--light-gray-border-color, #ececec);
  cursor: pointer;
}

.category-brand-filter__modal .title-modal__content {
  overflow: auto;
}

/* 파페치 앱형 상단: 삼선·로고·백을 같은 44px 바에 맞춤 */
.header--app {
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0 4px 10px;
}

.header .header__bar {
  position: relative;
  width: 100%;
}

.header--app .header__bar,
.header--search-page .header__bar,
.header--tab .header__bar,
.header--sub .header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
}

.header .header__icon-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #222;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.header .header__menu-btn,
.header .header__left-btn {
  left: 0;
}

.header .header__left-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.header .header__cart-btn.header__icon-btn {
  top: 50%;
  right: 0;
  left: auto;
  transform: translateY(-50%);
}

.header .header__icon {
  display: block;
  width: 24px;
  height: 24px;
}

.header--app .header__title {
  position: relative;
  z-index: 0;
  max-width: calc(100% - 96px);
  padding: 0;
  line-height: 0;
}

.header--app .header__logo-img {
  width: auto !important;
  height: 26px;
  max-width: 220px;
  max-height: 26px;
  object-fit: contain;
}

.header.header--app,
.header.header--tab,
.header.header--search-page,
.header.header--sub {
  min-height: 0;
}

.header--sub {
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.header__cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  color: #fff;
  text-align: center;
  background: #222;
  border-radius: 7px;
}

.header--app .header__search-wrap {
  margin: 4px 12px 0;
}

.header--search-page,
.header--tab {
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0 16px 10px;
}

.header--search-page .header__title,
.header--tab .header__title,
.header--sub .header__title {
  max-width: calc(100% - 96px);
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.header__search-wrap {
  overflow: hidden;
  max-height: 52px;
  margin-top: 8px;
  opacity: 1;
  transition: max-height 0.28s ease, margin 0.28s ease, opacity 0.2s ease;
}

.header--search-hidden .header__search-wrap {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
}

.header__search-form {
  width: 100%;
}

.header__search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  color: #8a8a8a;
  text-align: left;
  background: #f2f2f2;
  border: 0;
  border-radius: 8px;
}

.header__search-submit {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.header__search-trigger-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.header__search-input {
  flex: 1;
  min-width: 0 !important;
  max-width: 100%;
  height: 100%;
  padding: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  background: transparent;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.header--sub .header__search-input,
.header--search-page .header__search-input,
.header--tab .header__search-input {
  font-size: 16px;
}

.header__search-input::placeholder {
  font-size: 16px;
  color: #8a8a8a;
}

.header__search-input::-webkit-search-decoration,
.header__search-input::-webkit-search-cancel-button,
.header__search-input::-webkit-search-results-button,
.header__search-input::-webkit-search-results-decoration {
  display: none;
}

.page__content.site {
  position: relative;
}

.header.header--search-open {
  position: fixed;
  top: var(--search-overlay-top, 0px);
  left: var(--search-overlay-left, 0px);
  z-index: 160;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  width: var(--search-overlay-w, 100%);
  max-width: 500px;
  height: var(--search-overlay-h, 100dvh);
  min-height: 0;
  margin: 0;
  padding: 8px 16px 0;
  overflow: hidden;
  background: #fff;
}

.header--search-open .header__search-wrap,
.header--app.header--search-open .header__search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.search-overlay__bar .header__search-form,
.header--search-open .header__search-form {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
}

.search-overlay {
  position: absolute;
  inset: 0;
  z-index: 140;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #fff;
}

.search-overlay__bar,
.header--search-open .header__search-wrap {
  flex: 0 0 auto;
}

.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

.search-overlay__cancel {
  flex: 0 0 auto;
  flex-shrink: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1;
  color: #111;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.search-discover {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px 0 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.search-discover__section + .search-discover__section {
  margin-top: 8px;
}

.search-discover__title {
  margin: 16px 16px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.search-discover__products {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 16px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.search-discover__product {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  padding: 0;
  background: transparent;
  border: 0;
}

.search-discover__product-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
}

.search-discover__product-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  border-radius: 50%;
}

.search-discover__thumb,
.search-discover__thumb .thumb-item,
.search-discover__thumb .thumb-item__img,
.search-discover__thumb img {
  width: 88px;
  height: 88px;
}

.search-discover__thumb {
  display: block;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 2px;
}

.search-discover__thumb .thumb-item__info {
  display: none;
}

.search-discover__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-discover__list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.search-discover__row {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  font-size: 15px;
  line-height: 1.3;
  color: #111;
  text-align: left;
  background: transparent;
  border: 0;
}

.search-discover__clock {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #8a8a8a;
}

.search-discover__empty {
  margin: 0 16px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #8a8a8a;
}

.search-discover__remove {
  flex: 0 0 auto;
  padding: 16px;
  font-size: 18px;
  line-height: 1;
  color: #b3b3b3;
  background: transparent;
  border: 0;
}

.search-discover {
  padding-top: 0;
}

.search-hub {
  padding-bottom: 0;
}

.category-tree {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 160px);
  background: #fff;
}

.category-tree__nav {
  display: flex;
  flex: 0 0 96px;
  flex-direction: column;
  width: 96px;
  background: #f3f3f3;
}

.category-tree__nav-btn {
  min-height: 52px;
  padding: 14px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #8a8a8a;
  text-align: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-tree__nav-btn.is-active {
  font-weight: 700;
  color: #111;
  background: #fff;
}

.category-tree__panel {
  flex: 1;
  min-width: 0;
  padding: 0 0 24px;
  background: #fff;
}

.category-tree__all,
.category-tree__group-btn,
.category-tree__group-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.category-tree__all {
  font-weight: 500;
}

.category-tree__group-btn.is-open {
  border-bottom-color: transparent;
}

.category-tree__arrow {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid #8a8a8a;
  border-bottom: 1.5px solid #8a8a8a;
  transform: rotate(45deg);
}

.category-tree__group-btn.is-open .category-tree__arrow {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.category-tree__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0 8px 8px 16px;
  list-style: none;
  border-bottom: 1px solid #eee;
}

.category-tree__grid-link {
  display: block;
  padding: 10px 8px 10px 0;
  font-size: 13px;
  line-height: 1.35;
  color: #111;
  text-decoration: none;
}

.category-tree__grid-link.is-sale,
.category-tree__group-link.is-sale,
.category-tree__group-btn .is-sale {
  color: #f92626;
}

.category-tree__empty {
  margin: 24px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #8a8a8a;
}

.search-hub__tabs {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.search-hub__tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 4px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #8a8a8a;
  letter-spacing: 0.04em;
  text-align: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

.search-hub__tab.is-active {
  color: #111;
  border-bottom-color: var(--point-color);
}

.search-hub__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-hub__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  font-size: 15px;
  line-height: 1.3;
  color: #111;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.search-hub__item--sale {
  font-weight: 600;
  color: #f92626;
}

.search-hub__chevron {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.search-hub__empty {
  margin: 24px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #8a8a8a;
}

.page__content.site:has(.search-hub) .footer {
  display: none;
}

.page__content.site.is-search-open {
  min-height: 0;
  overflow: hidden;
}

.page__content.site.is-search-open .fab-top-down,
.page__content.site.is-search-open .l-content,
.page__content.site.is-search-open .footer {
  display: none !important;
}

.page__content.site,
.l-content,
.hero,
.product-section {
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 500px) {
  .page,
  .page-inner,
  .page__content,
  .page__content.site {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip;
  }
}

html.is-search-open,
body.is-search-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  scrollbar-gutter: auto;
}

html.is-search-open .page .bottom-nav,
body.is-search-open .page .bottom-nav {
  display: none !important;
}

html.is-search-open .search-discover {
  touch-action: pan-y;
}

/* 메인 히어로: 스켈레톤이 이미지와 세로로 쌓여 흰 공간이 생기는 것 방지 */
.hero {
  overflow: hidden;
}

.hero .swiper-slide {
  position: relative;
}

.custom-banner,
.hero .swiper-slide a {
  display: block;
  position: relative;
}

.custom-banner img,
.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.custom-banner__skeleton,
.hero .skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.custom-banner__skeleton .skeleton,
.custom-banner__skeleton .skeleton__media,
.hero .skeleton__media {
  width: 100%;
  height: 100%;
}

/* 하단 5탭 */
.bottom-nav {
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav__link::before,
.bottom-nav__link:not(:first-child)::before {
  display: none;
  width: 0;
  height: 0;
  content: none;
}

.bottom-nav__home {
  margin-top: 0;
}

.bottom-nav__link {
  gap: 4px;
  justify-content: center;
  color: #111;
}

.bottom-nav__link.is-active {
  font-weight: 600;
}

.bottom-nav__icon,
.bottom-nav__link svg {
  display: block;
  width: 22px;
  height: 22px;
}

.bottom-nav__icon--home {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bottom-nav__label {
  margin-top: 0;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.page .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  right: auto;
  z-index: 150;
  width: 100%;
  max-width: 500px;
  transform: translateX(-50%);
}

@media (min-width: 1001px) {
  .page .bottom-nav {
    left: 50%;
    right: auto;
    width: 500px;
    max-width: 500px;
    transform: none;
  }
}

body:has(.bottom-nav) .l-content {
  padding-bottom: 88px;
}

/* 회사소개·이용약관 등 전체 모달이 하단 네비(z-index: 150) 뒤로 깔리지 않게 */
.portal:has(.full-modal),
.portal:has(.title-modal--full) {
  z-index: 300;
}

.need-sign-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40vh;
  padding: 40px 16px;
  text-align: center;
}

.need-sign-in__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #8a8a8a;
}

.need-sign-in__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #111;
}

.total-sort {
  top: 0;
}

.total-sort__select-box.select-box.select-box--sort {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  min-width: 132px;
  height: 36px !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d2d2d2 !important;
}

.total-sort__select-box.select-box.select-box--sort::before {
  top: 50% !important;
  left: 10px !important;
  transform: translateY(-50%);
}

.total-sort__select-box.select-box.select-box--sort::after {
  content: none !important;
}

.total-sort__select-box select {
  display: block !important;
  width: 100%;
  height: 36px !important;
  padding: 0 14px 0 40px !important;
  overflow: hidden;
  font-size: 13px;
  line-height: 36px;
  color: #111;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.page:has(.category-filter) .product-gallery {
  padding-top: 8px !important;
}

.product-gallery {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 28px 8px;
  padding: 8px 8px 24px !important;
}

.product-gallery .thumb-item {
  width: calc(50% - 4px) !important;
  margin: 0 !important;
}

.product-gallery .thumb-item__media {
  aspect-ratio: 3 / 4;
}

.product-gallery .thumb-item__info {
  padding: 10px 2px 0;
}

.product-gallery .product-thumb-brand {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  white-space: normal !important;
  word-break: break-word;
}

.product-gallery .product-thumb-title {
  display: block !important;
  overflow: visible !important;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #111;
  text-overflow: clip !important;
  white-space: normal !important;
}

.product-gallery .product-thumb-title-product-name {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  overflow: hidden !important;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #111;
  text-overflow: ellipsis;
  white-space: normal !important;
  word-break: break-word;
}

.product-gallery .product-thumb-price-info {
  margin: 6px 0 0;
  font-size: 13px;
  color: #111;
}

.product-gallery .product-thumb-price {
  font-style: normal;
  font-weight: 700;
}

.product-card__like {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #111;
  background: none;
  border: 0;
  cursor: pointer;
}

.product-card__like-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.my-info {
  padding: 28px 20px 24px;
  color: #111;
  background: #fff;
}

.my-info__id {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.my-info__grade {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  text-align: left;
  background: transparent;
  border: 0;
}

