@charset "UTF-8";
/* 검색결과 탭 (상품 / 브랜드관 / 기획전) — 검색 진입(keywords)일 때만 노출 */

.srt-tabs {
  border-block-end: 1px solid #e9e9e9;
}
/* 탭 바가 구분선을 겸하므로 검색어 헤더의 굵은 밑줄은 지운다(선이 겹쳐 보임) */
main.product-list[data-srt-tab] .product-list__search-keyword-wrap {
  border-block-end: 0;
}
.srt-tabs__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.srt-tab {
  flex: 1;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #8b8b8b;
  line-height: 1.2;
  padding: 13px 0 11px;
  border-block-end: 2px solid transparent;
  margin-block-end: -1px;
  white-space: nowrap;
}
.srt-tab.is-active {
  color: #1a1a1a;
  font-weight: 700;
  border-block-end-color: #1a1a1a;
}
.srt-tab__count {
  color: var(--color-point, #207eff);
  font-weight: 600;
  margin-inline-start: 4px;
}

/* 상품 외 탭에서는 샵바이 기본 상품목록 영역을 감춘다 */
main.product-list[data-srt-tab='brand'] total-count-and-sort,
main.product-list[data-srt-tab='brand'] product-list-items,
main.product-list[data-srt-tab='event'] total-count-and-sort,
main.product-list[data-srt-tab='event'] product-list-items {
  display: none !important;
}

.srt-panel__hint {
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.5;
  padding: 14px 20px 0;
}
.srt-panel__empty {
  text-align: center;
  color: #8b8b8b;
  font-size: 14px;
  padding: 70px 20px;
}

/* 브랜드관 */
.srt-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 20px 50px;
}
.srt-brand-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  color: inherit;
}
.srt-brand-cell__label {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}
.srt-brand-cell__name {
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.srt-brand-cell__count {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-point, #207eff);
  flex-shrink: 0;
}
.srt-brand-cell__arrow {
  color: #c9c9c9;
  font-size: 13px;
  margin-inline-start: 4px;
}
/* 랭킹 시트를 읽었을 때만 썸네일 셀로 전환한다(시트 실패 시 기존 텍스트 셀 유지) */
.srt-brand-grid--thumb .srt-brand-cell {
  padding: 8px 10px;
}
.srt-brand-grid--thumb .srt-brand-cell__label {
  flex: 1 1 auto;
}
.srt-brand-cell__thumb {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-inline-end: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.srt-brand-cell__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 기획전 */
.srt-event-grid {
  list-style: none;
  margin: 0;
  padding: 4px 20px 50px;
}
.srt-event-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-block-start: 12px;
  color: inherit;
}
/* 기획전 대표이미지 실제 규격이 1.8:1(720x400·450x250) 이라 3:1 카드에선 세로 40%가 잘렸다 → 원본 비율로 */
.srt-event-card__img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  display: block;
  background: #f2f2f2;
}
.srt-event-card__body {
  display: block;
  padding: 12px 14px 14px;
}
.srt-event-card__badge {
  display: inline-block;
  background: #eef5ff;
  color: var(--color-point, #207eff);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 7px;
  margin-block-end: 7px;
}
.srt-event-card__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.srt-event-card__period {
  display: block;
  font-size: 12px;
  color: #8b8b8b;
  margin-block-start: 5px;
}
