@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 {
  --mall-width: 600px;
  --app-header-h: 44px;
  --whole-color: #fff;
  --background-color: #f5f6f8;
  --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:root {
  --caution-color: var(--point-color);
}

html,
body,
#app {
  max-width: 100%;
  overflow: visible;
  overflow-anchor: none;
}

.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;
}

.l-content .page-heading {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px 16px 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #111;
  text-align: left;
  text-transform: none;
}

.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) .app-chrome,
.page:has(.product-detail) .app-chrome {
  position: sticky;
  top: 0;
  z-index: 8;
  box-sizing: border-box;
  height: var(--app-header-h);
  background: #fff;
  box-shadow: 0 1px 0 #eee;
  overflow-anchor: none;
}

.page:has(.breadcrumb--plp) .app-chrome:has(.header--search-open),
.page:has(.product-detail) .app-chrome:has(.header--search-open) {
  height: auto;
  z-index: 160;
}

.page:has(.breadcrumb--plp) .header.header--app,
.page:has(.product-detail) .header.header--app {
  position: relative;
  top: auto;
  z-index: auto;
  box-sizing: border-box;
  height: var(--app-header-h);
  min-height: var(--app-header-h);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: none;
  overflow-anchor: none;
}

.page:has(.product-detail) .l-content,
.page:has(.breadcrumb--plp) .l-content,
.page:has(.product-detail) .page__content.site,
.page:has(.breadcrumb--plp) .page__content.site,
.page:has(.product-detail) .page-inner,
.page:has(.breadcrumb--plp) .page-inner,
.page:has(.product-detail) .page,
.page:has(.breadcrumb--plp) .page {
  overflow: visible;
  transition: none;
}

.page:has(.product-detail) .product-detail .tabs {
  position: sticky;
  top: var(--app-header-h);
  z-index: 7;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-top: 0;
  transition: none;
  overflow-anchor: none;
}

.plp-stick {
  position: sticky;
  top: var(--app-header-h);
  z-index: 7;
  background: #fff;
  overflow-anchor: none;
}

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

.plp-chrome {
  position: relative;
  top: auto;
  z-index: auto;
  background: #fff;
  transition: none;
  transform: none;
}

.plp-stick.is-scroll-hidden > .plp-chrome,
.plp-stick.is-scroll-hidden > .breadcrumb--plp {
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

.plp-chrome .breadcrumb--plp {
  position: relative;
  top: auto;
  z-index: auto;
  transform: none;
  pointer-events: auto;
}

.breadcrumb--plp {
  position: relative;
  top: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  height: 44px;
  margin: 0;
  padding: 0 16px;
  overflow: visible;
  background: #fff;
  transition: none;
  transform: none;
  overflow-anchor: none;
}

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

.breadcrumb--plp .breadcrumb__section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  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 {
  display: contents;
}

.page:has(.category-filter) .l-panel {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

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

.category-filter__count {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 8px 0 19px;
  font-size: 13px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #111;
  white-space: nowrap;
  background: #fff;
}

.breadcrumb--plp .category-filter__count {
  flex: 0 0 auto;
  height: auto;
  margin-left: auto;
  padding: 0;
}

.category-filter__count .highlight {
  margin: 0 1px;
  color: #111;
  font-style: normal;
  font-weight: 600;
}

.page:has(.plp-stick) .category-filter__chips {
  position: relative;
  top: auto;
}

.category-filter__chips {
  position: sticky;
  top: var(--app-header-h);
  z-index: 4;
  width: 100%;
  min-width: 0;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  transition: none;
  overflow-anchor: none;
}

.category-filter__chips-scroll {
  width: 100%;
  min-width: 0;
  padding: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-filter__chips-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: max-content;
}

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

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

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

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

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  max-width: none;
  padding: 0 10px;
  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: var(--point-color);
  border-color: var(--point-color);
}

.category-chip__text {
  flex: 0 0 auto;
}

.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--category {
  max-height: min(70vh, 420px);
  overflow: auto;
  min-width: 168px;
}

.category-chip-menu__item.is-child {
  padding-left: 28px;
}

.category-depth-panel-wrap {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.category-depth-panel {
  background: #fff;
}

.category-depth-panel__trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px 0;
  font-size: 12px;
  line-height: 1.3;
  color: #8a8a8a;
}

.category-depth-panel__trail-item {
  display: inline-flex;
  align-items: center;
}

.category-depth-panel__trail-sep {
  margin: 0 6px;
  color: #c4c4c4;
}

.category-depth-panel__trail-btn {
  padding: 0;
  font-size: 12px;
  color: #8a8a8a;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-depth-panel__pills {
  display: flex;
  gap: 6px;
  padding: 12px 16px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #666 #eee;
  -webkit-overflow-scrolling: touch;
}

.category-depth-panel__pills::-webkit-scrollbar {
  height: 4px;
}

.category-depth-panel__pills::-webkit-scrollbar-track {
  background: #eee;
}

.category-depth-panel__pills::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 999px;
}

.category-depth-panel__pill {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  color: #111;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.category-depth-panel__pill.is-active {
  color: #fff;
  background: #111;
}

.category-depth-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 4px 8px 16px;
}

.category-depth-panel__col {
  margin: 0;
  padding: 0 8px;
  list-style: none;
  border-right: 1px solid #eee;
}

.category-depth-panel__col:last-child {
  border-right: 0;
}

.category-depth-panel__grid-btn {
  display: block;
  width: 100%;
  padding: 10px 4px;
  font-size: 13px;
  line-height: 1.35;
  color: #111;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-depth-panel__grid-btn.is-active,
.category-depth-panel__trail-btn.is-current {
  font-weight: 700;
}

.category-depth-panel__empty {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 13px;
  color: #8a8a8a;
}

.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;
}

.category-filter-tree-modal .title-modal__content {
  overflow: hidden;
  padding: 0;
}

.category-tree--picker {
  min-height: calc(100vh - 52px);
  height: calc(100vh - 52px);
}

.category-tree--picker .category-tree__panel {
  overflow: auto;
}

.category-tree--picker .category-tree__all,
.category-tree--picker .category-tree__group-link,
.category-tree--picker .category-tree__grid-link {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.category-tree--picker .category-tree__all.is-active,
.category-tree--picker .category-tree__group-btn.is-active,
.category-tree--picker .category-tree__group-link.is-active,
.category-tree--picker .category-tree__grid-link.is-active {
  font-weight: 700;
}

/* 파페치 앱형 상단: 삼선·로고·백을 같은 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--app:not(:has(.header__search-wrap)) {
  padding-bottom: 0;
}

.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;
  color: #222;
  background: transparent;
  border: 0;
  cursor: pointer;
  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: 0;
  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: var(--mall-width);
  height: var(--search-overlay-h, 100dvh);
  min-height: 0;
  margin: 0;
  padding: 8px 16px 0;
  overflow: hidden;
  background: #fff;
}

.header.header--app.header--search-open {
  position: relative;
  top: auto;
  left: auto;
  z-index: 160;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 4px 10px;
  overflow: visible;
}

.header--app.header--search-open .search-discover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 155;
  flex: none;
  height: calc(100dvh - 100% - 88px);
  min-height: 0;
}

.header--search-open .header__search-wrap,
.header--app.header--search-open .header__search-wrap {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 4px 12px 0;
  padding: 0;
  overflow: visible;
}

.search-overlay__bar .header__search-form,
.header--search-open .header__search-form {
  width: 100%;
}

.header__search-cancel {
  flex: 0 0 auto;
  margin-left: 4px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #111;
  white-space: nowrap;
  background: transparent;
  border: 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__suggest {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-discover__suggest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: transparent;
  border: 0;
}

.search-discover__suggest-thumb,
.search-discover__suggest-thumb .thumb-item,
.search-discover__suggest-thumb .thumb-item__img,
.search-discover__suggest-thumb img {
  width: 56px;
  height: 56px;
}

.search-discover__suggest-thumb {
  flex: 0 0 56px;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 4px;
}

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

.search-discover__suggest-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.search-discover__suggest-text em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

.search-discover__suggest-text strong {
  overflow: hidden;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-discover__brand-mark {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  background: #f1f5f9;
  border-radius: 50%;
}

.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: var(--point-color);
}

.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: var(--point-color);
}

.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;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  column-gap: 20px;
  row-gap: 8px;
  margin: 16px 0 20px;
}

.footer__nav > div {
  flex: 0 0 auto;
  margin-right: 0 !important;
}

.footer__nav .footer__link {
  display: inline-block;
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  border-left: 0 !important;
}

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

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

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

.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: visible;
  }
}

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

body.is-layer-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

html.is-layer-open #app,
html.is-layer-open .page,
html.is-layer-open .page__content {
  overflow: hidden !important;
  overscroll-behavior: none;
}

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 {
  color: var(--point-color);
  font-weight: 600;
}

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

.bottom-nav__icon--home {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url(https://storefront.cdn-nhncommerce.com/copy/mall-81966/benew2643-7175/home-icon..png?244fff80b4a93f9b1e11) center / contain no-repeat;
  mask: url(https://storefront.cdn-nhncommerce.com/copy/mall-81966/benew2643-7175/home-icon..png?244fff80b4a93f9b1e11) center / contain no-repeat;
}

.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: var(--mall-width);
  transform: translateX(-50%);
}

html.is-search-open .page .bottom-nav,
body.is-search-open .page .bottom-nav {
  z-index: 170;
}

.product-summary {
  padding: 24px 20px 0;
}

.product-summary--loading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-summary__placeholder {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #f2f2f2 25%, #e9e9e9 37%, #f2f2f2 63%);
  background-size: 400% 100%;
  animation: product-summary-shimmer 1.4s ease-in-out infinite;
}

.product-summary__placeholder--brand {
  width: 120px;
  height: 27px;
}

.product-summary__placeholder--title {
  width: 78%;
  height: 21px;
}

.product-summary__placeholder--price {
  width: 148px;
  height: 30px;
  margin-top: 8px;
}

@keyframes product-summary-shimmer {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.product-summary__brand-name {
  display: inline-block;
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.product-summary__title {
  margin: 8px 0 0;
  color: #111;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.product-summary__title .editor {
  margin: 0;
  font: inherit;
}

.product-summary__price-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-top: 16px;
}

.product-summary__duty {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.3;
}

.product-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid #eee;
}

.product-summary__meta-line {
  margin: 0;
  color: #111;
  font-size: 13px;
  line-height: 1.4;
}

.product-summary__meta-sep {
  margin: 0 6px;
  color: #bbb;
}

.product-summary__eta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
}

.product-summary__eta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.product-summary__eta-label {
  color: #888;
  font-size: 13px;
  line-height: 1.4;
}

.product-summary__eta-date {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.product-summary__eta-hint {
  color: #888;
  font-size: 13px;
  line-height: 1.4;
}

.product-detail > .product-summary + * {
  margin-top: 0;
}

.editor .product-info-card,
.product-info-card {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 22px 20px;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: -0.3px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.editor .product-info-card__title,
.product-info-card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.product-info-card__bar {
  display: inline-block;
  width: 4px;
  height: 13px;
  background: #0f172a;
  border-radius: 2px;
}

.product-info-card__sub {
  margin-left: 2px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
}

.editor .product-info-card__list,
.product-info-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.editor .product-info-card__row,
.product-info-card__row {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #f8fafc;
  list-style: none;
}

.product-info-card__row:last-child {
  border-bottom: 0;
}

.editor .product-info-card__label,
.product-info-card__label {
  flex: 0 0 96px;
  width: 96px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.editor .product-info-card__value,
.product-info-card__value {
  flex: 1 1 auto;
  min-width: 0;
  color: #1e293b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  word-break: break-word;
}

.product-info-card__value--brand {
  color: #0f172a;
  font-weight: 600;
}

.editor .product-info-card__swatch,
.product-info-card__swatch {
  box-sizing: border-box;
  display: inline-block;
  /* .product-content__editor-box 의 width: auto !important 를 피하려고 min/max 로 고정한다 */
  min-width: 12px;
  max-width: 12px;
  height: 12px;
  margin: 0 6px 0 0;
  vertical-align: -1px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.product-info-card__swatch.is-light {
  border-color: #cfcfcf;
}

.product-info-card__swatch.is-multi {
  background: conic-gradient(#e11d48, #efc220, #2f8f4e, #2f6fed, #7a3ad8, #e11d48);
}

.product-content-shipping-claim {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.product-content-shipping-claim .editor ul {
  padding: 0;
  list-style: none;
}

.product-content-inquiry {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  color: #334155;
  letter-spacing: -0.3px;
}

.product-content-inquiry .product-inquiry-summary {
  box-sizing: border-box;
  padding: 22px 20px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  text-align: left;
}

.product-content-inquiry .product-inquiry-summary__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.product-content-inquiry .product-inquiry-summary__title::before {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  width: 4px;
  height: 13px;
  background: #0f172a;
  border-radius: 2px;
}

.product-content-inquiry .product-inquiry-summary__sub {
  margin-left: 2px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
}

.product-content-inquiry .product-inquiry-summary__description {
  margin: 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  word-break: keep-all;
}

.product-content-inquiry .product-inquiry-summary__write-btn {
  width: 100%;
  height: 42px;
  margin: 16px 0 0;
  padding: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: #0f172a;
  border: 0;
  border-radius: 8px;
}

.product-content-inquiry .product-board-list {
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.product-content-inquiry .product-board-list__search {
  display: flex;
  align-items: center;
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.product-content-inquiry .product-board-list__search p {
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

.product-content-inquiry .product-board-list__total-count {
  margin-left: 4px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 400;
}

.product-content-inquiry .product-board-list__total-count em {
  margin-right: 2px;
  font-size: 12.5px;
  font-weight: 700;
}

.product-content-inquiry .product-board-list__empty {
  padding: 34px 0 36px;
}

.product-content-inquiry .product-board-list__empty-notes {
  padding: 6px 0 0;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 400;
}

.product-content-inquiry .inquiry-item {
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
}

.product-content-inquiry .inquiry-item:last-child {
  border-bottom: 0;
}

.product-content-inquiry .inquiry-item__top {
  margin-bottom: 6px;
}

.product-content-inquiry .inquiry-item__top .inquiry-item__info,
.product-content-inquiry .inquiry-item__top .inquiry-item__info p,
.product-content-inquiry .inquiry-item__top button,
.product-content-inquiry .inquiry-item__date {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 400;
}

.product-content-inquiry .inquiry-item__status-label {
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
}

.product-content-inquiry .inquiry-item__status-label--answered {
  color: #1e40af;
  background: #f0f6ff;
  border: 1px solid #dbeafe;
}

.product-content-inquiry .inquiry-item__status-label--ready {
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.product-content-inquiry .inquiry-item__title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}

.product-content-inquiry .inquiry-item__qna-text,
.product-content-inquiry .inquiry-item__qna-text .editor,
.product-content-inquiry .inquiry-item__qna-text p {
  color: #475569;
  font-size: 12.5px;
  line-height: 1.6;
}

.product-content-inquiry .inquiry-item__text--answer {
  margin-top: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.product-content-inquiry .inquiry-item__text--answer .inquiry-item__date {
  display: block;
  margin-top: 6px;
}

.product-content-inquiry .board-form__buttons--small button {
  height: 30px;
  padding: 0 12px;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.product-content__common-notice {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  color: #334155;
  font-size: 13.5px;
  letter-spacing: -0.3px;
  line-height: 1.6;
}

.product-content__gallery {
  width: 100%;
}

.product-content__gallery-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.product-content__gallery--collapsed .product-content__gallery-box {
  overflow: hidden;
}

.product-content__gallery-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.product-content__gallery-more,
.product-detail .product-content__content .product-content__more-btn {
  width: 100%;
  margin-top: 12px;
  background: transparent;
}

.product-content__gallery-more::before,
.product-detail .product-content__content .product-content__more-btn::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 50px;
  left: 0;
  height: 30px;
  background-image: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.product-content__gallery--collapsed .product-content__gallery-more,
.product-detail .product-content__content.hidden .product-content__more-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin-top: 0;
}

.product-content__gallery-more button,
.product-detail .product-content__content .product-content__more-btn button {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 3.57143rem;
  color: #111;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: -0.3px;
  text-align: center;
  background: #fff;
  border: 0;
  border-top: 1px solid #eee;
}

.product-detail .product-image-slider .swiper-slide,
.product-detail .product-image-slider .thumb-item,
.product-detail .product-image-slider .thumb-item__media,
.product-detail .product-image-slider .thumb-item__img-box,
.product-detail .product-image-slider .thumb-item__img {
  height: auto;
}

/* 높이는 1:1로 고정하고, 세로가 긴 이미지는 잘리지 않게 박스 안에서 축소한다. */
.product-detail .product-image-slider .thumb-item__media {
  aspect-ratio: 1 / 1;
}

.product-detail .product-image-slider .thumb-item__img-box,
.product-detail .product-image-slider .thumb-item__img {
  height: 100%;
}

/* scale-down: 원본보다 크게 늘리지 않고, 박스 안에서 가운데 정렬한다. */
.product-detail .product-image-slider img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: scale-down;
  object-position: center;
}

.product-image-slider.swiper {
  overflow: hidden;
}

.product-image-slider.swiper .swiper-pagination.swiper-pagination-horizontal {
  position: static;
  left: auto;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 2px;
  margin: 10px 0 0;
  padding: 0 16px;
  transform: none;
}

.product-image-slider .swiper-pagination-bullet {
  flex: 1 1 0;
  width: auto;
  height: 2px;
  margin: 0 2px !important;
  border-radius: 0;
  background: #d8d8d8;
  opacity: 1;
}

.product-image-slider .swiper-pagination-bullet-active {
  background: #111;
}

.purchase,
.purchase.product-detail {
  left: 50%;
  right: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--mall-width);
  padding-left: 20px;
  padding-right: 20px;
  /* 옵션 영역이 위로 열리므로 sticky 탭(z-index 7)보다 위에 있어야 한다. */
  z-index: 7;
  transform: translateX(-50%);
}

.product-detail .tabs {
  z-index: 6 !important;
  transition: none;
}

.product-detail .tabs .tabs__item,
.product-detail .tabs .tabs__item button {
  font-size: 14px;
}

.purchase__button-wrap {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.purchase__share-btn,
.purchase__like-btn {
  box-sizing: border-box;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 2px;
}

.purchase__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
  background: #fff;
  border: 1px solid var(--default-color);
  border-radius: 4px;
  cursor: pointer;
}

.purchase__share-btn svg {
  display: block;
  width: 40px;
  height: 40px;
}

.purchase__buy-btn,
.purchase__restock-btn {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
}

.purchase__opener {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* 기본 스킨의 좌우 -11px 마진이 옵션 영역(overflow-x: auto)을 넘겨 가로 스크롤을 만든다. */
.purchase__total {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1001px) {
  .page-inner {
    max-width: calc(500px + var(--mall-width)) !important;
  }

  .page__content.site {
    width: var(--mall-width);
    max-width: var(--mall-width);
    min-width: var(--mall-width);
  }

  .page .bottom-nav,
  .purchase,
  .purchase.product-detail {
    left: calc(50% - (var(--mall-width) - 500px) / 2);
    right: auto;
    width: var(--mall-width);
    max-width: var(--mall-width);
    transform: none;
  }

  /* 기본 스킨은 500px 몰 기준이라 600px에선 화살표가 안쪽으로 들어온다. */
  .page .fab-top-down {
    right: calc(50% - (500px + var(--mall-width)) / 2 + 16px);
  }
}

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

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

/* alert·confirm은 전체 모달(z-index: 300) 위에 떠야 확인 버튼을 누를 수 있음 */
.portal:has(.modal__box--alert),
.portal:has(.modal__box--confirm) {
  z-index: 400;
}

.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: 0 !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-wrap {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
}

.product-card__like {
  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;
}

.member-modification-form__withdrawal {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.member-modification-form__withdrawal-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a8a8a;
  text-decoration: underline;
  background: none;
  border: 0;
}

.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;
}

/* 상품문의 작성 모달 */
.product-inquiry-modal .title-modal--full {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: 84vh;
}

.product-inquiry-modal .title-modal__content {
  flex: 0 1 auto;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  background: #f5f5f5;
}

.product-inquiry-modal .product-inquiry-form {
  padding: 0;
}

.product-inquiry-modal .board-product-item__description {
  align-items: center;
  margin: 0;
  padding: 12px 16px;
}

.product-inquiry-modal .board-product-item__image,
.product-inquiry-modal .board-product-item__image img {
  width: 64px;
  height: 64px;
}

.product-inquiry-modal .board-product-item__product {
  margin: 0 0 0 12px;
}

.product-inquiry-modal .board-product-item__product-name .editor {
  font-size: 13px;
  line-height: 1.4;
}

.product-inquiry-modal .product-inquiry-form__content {
  margin: 8px 0 0;
  padding: 16px;
}

.product-inquiry-modal .character-counter {
  margin: 0;
}

.product-inquiry-modal .product-inquiry-form__text {
  height: 128px;
  min-height: 128px;
  font-size: 14px;
}

.product-inquiry-modal .board-form__button-group {
  margin: 14px 0 0;
  padding: 0;
}

.product-inquiry-modal .board-form__button-group .btn {
  height: 44px;
  font-size: 14px;
}

.product-inquiry-modal .board-form__notes {
  margin: 8px 0 0;
  padding: 0;
}

.product-inquiry-modal .board-form__note {
  padding: 14px 16px 18px;
}

.product-inquiry-modal .board-form__note-title {
  font-size: 13px;
}

.product-inquiry-modal .board-form__note-text {
  font-size: 12px;
  line-height: 1.5;
}

/* 구매 옵션 - 사이즈 가이드 진입 */
.purchase__size-guide-btn {
  align-self: flex-start;
  margin: 8px 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* 사이즈 가이드·무이자 안내 레이어는 하단 네비(z-index: 150) 위에 떠야 함 */
.portal:has(.size-guide-modal),
.portal:has(.installment-modal) {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 300;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: max(16px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  overscroll-behavior: none;
}

.size-guide-modal .title-modal,
.installment-modal .title-modal {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: inherit;
}

.portal:has(.size-guide-modal) .dim {
  background-color: rgba(15, 23, 42, 0.38);
}

.size-guide-modal {
  width: min(720px, calc(100vw - 32px));
  max-height: 86vh;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.size-guide-modal .title-modal__header {
  flex: 0 0 auto;
  height: 56px;
  border-bottom: 1px solid #f1f5f9;
}

.size-guide-modal .title-modal__title {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.size-guide-modal .title-modal__close-btn {
  right: 16px;
}

.size-guide-modal .title-modal__content {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 18px;
  background: #f8fafc;
}

.size-guide__notes {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.size-guide__notes li {
  position: relative;
  padding-left: 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}

.size-guide__notes li + li {
  margin-top: 4px;
}

.size-guide__notes li::before {
  content: '*';
  position: absolute;
  left: 0;
}

.size-guide__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.size-guide__tab {
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.2px;
  cursor: pointer;
}

.size-guide__tab.is-active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
}

.size-guide__table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.size-guide__table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.size-guide__table th,
.size-guide__table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

.size-guide__table th {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 96px;
  border-right: 1px solid #f1f5f9;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
}

.size-guide__table tr:last-child th,
.size-guide__table tr:last-child td {
  border-bottom: 0;
}

.size-guide__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: -0.2px;
}

.size-guide__legend dt {
  color: #0f172a;
  font-weight: 700;
}

.size-guide__legend dd {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .size-guide-modal .title-modal__content {
    padding: 14px;
  }

  .size-guide__table th,
  .size-guide__table td {
    padding: 8px 9px;
  }

  .size-guide__table th {
    min-width: 84px;
  }
}

/* 무이자 할부 안내 */
.product-summary__installment {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid #eee;
  background: none;
  cursor: pointer;
}

.product-summary__installment-label {
  color: #888;
  font-size: 13px;
}

.product-summary__installment-value {
  flex: 1;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.product-summary__installment-arrow {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #999;
  border-right: 1.5px solid #999;
  transform: rotate(45deg);
}

.portal:has(.installment-modal) .dim {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.38);
  touch-action: none;
}

.installment-modal {
  width: min(432px, 100%);
  max-width: 100%;
  max-height: min(86dvh, calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.installment-modal .title-modal__header {
  flex: 0 0 auto;
  height: 56px;
  border-bottom: 1px solid #f1f5f9;
}

.installment-modal .title-modal__title {
  padding: 0 40px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.installment-modal .title-modal__close-btn {
  right: 16px;
}

.installment-modal .title-modal,
.installment-modal .title-modal__content,
.installment-modal__frame-box {
  min-width: 0;
  max-width: 100%;
}

.installment-modal .title-modal__content {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 16px 18px;
  background: #f8fafc;
}

.installment-modal__lead {
  margin: 0 0 10px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

/* KCP 페이지는 400px 고정. 헤더를 먼저 자른 뒤 zoom으로 맞춰 스크롤바 클릭이 빗나가지 않게 한다. */
.installment-modal__frame-box {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.installment-modal__frame-scale {
  width: 400px;
  height: 360px;
  overflow: hidden;
  zoom: var(--kcp-scale, 1);
}

.installment-modal__frame {
  display: block;
  width: 400px;
  height: 420px;
  margin: -60px 0 0;
  border: 0;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
}

@supports not (zoom: 1) {
  .installment-modal__frame-box {
    height: calc(360px * var(--kcp-scale, 1));
  }

  .installment-modal__frame-scale {
    transform: scale(var(--kcp-scale, 1));
    transform-origin: top left;
  }
}

.installment-modal__note {
  margin: 12px 0 0;
  padding: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

