@charset "UTF-8";
/* 상품목록 페이지 스타일 파일입니다. */
.product-list__display-type-btn {
  background-color: unset;
  border: unset;
}
.product-list__search-keyword-wrap {
  font-weight: 700;
  padding-block-start: 10px;
  padding-block-end: 15px;
  margin-inline: 15px;
  border-block-end: 2px solid var(--color-base-black);
}
.product-list__search-keyword {
  font-style: normal;
  color: var(--color-point);
}
.product-list__sort {
  background-color: var(--color-base-white);
  max-width: max-content;
  height: 32px;
}
.product-list .pagination {
  padding-top: 60px;
}

.product-list-items {
  margin-block-end: 20px;
}
.product-list-items :where(.thumb-LIST) {
  padding-inline: 20px;
}
.product-list-items .skeleton__wrap {
  margin-bottom: 10px;
}
.product-list-items .skeleton__wrap--has-item {
  margin-top: 24px;
}
.product-list-items .skeleton--list .skeleton__media {
  flex: 1;
  height: auto;
}

/* 스켈레톤 너비 조정 */
/* 갤러리 뷰: 한 줄에 2개씩 표시 */
.thumb-GALLERY .skeleton--gallery {
  width: calc(50% - 5px);
  min-width: 0;
}

.thumb-GALLERY .skeleton--gallery .skeleton__media {
  width: 100%;
  min-height: 200px;
}

.thumb-GALLERY .skeleton--gallery .skeleton__line {
  width: 100%;
}

.thumb-GALLERY .skeleton--gallery .skeleton__line:nth-child(3) {
  width: 60%;
}

.skeleton--list {
  width: 100%;
}

.skeleton--list .skeleton__media {
  width: 120px;
  min-width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.skeleton--list .skeleton__media + div {
  flex: 1;
  min-width: 0;
  padding-left: 15px;
}

.skeleton--list .skeleton__line--product-name {
  width: 100%;
  max-width: 100%;
}

.skeleton--list .skeleton__line--product-price {
  width: 50%;
  margin-top: 8px;
}

.product-list-category-slider {
  background-color: var(--gray100);
}
.product-list-category-slider .category-slider__item {
  font-size: 14px;
}
.product-list-category-slider .category-slider__item-count {
  font-size: 12px;
  color: var(--gray600);
}
.thumb-item .rank { 
  display: inline-block; 
  text-align: center; 
  background-color: #000; 
  position: absolute; 
  top: 0px; 
  left: 0px; 
  z-index: 1; 
  width: 30px; 
  height: 30px; 
}
.thumb-item .rank em { 
  color: #fff; 
  line-height: 30px; 
  font-size: 14px; 
  font-style: normal; 
  font-weight: 500; 
}

/* 브랜드명 브레드크럼 스타일 */
.breadcrumb__section {
  text-align: center;
}

.breadcrumb__section .breadcrumb__item {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-base-black);
  line-height: 1.6;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

.breadcrumb__section .breadcrumb__item:hover {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

/* 브랜드명 한글 스타일 */
.breadcrumb__brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-base-black);
  letter-spacing: -0.02em;
}

/* 브랜드명 영문 스타일 */
.breadcrumb__brand-name-en {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray600);
  letter-spacing: 0.01em;
  opacity: 0.8;
}

/* total-sort sticky 제거 */
.total-sort {
  position: static !important;
  top: auto !important;
}

/* 브랜드 설명 영역 스타일 */
.brand-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 15px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-description__image-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #fff;
}

.brand-description__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-description__image:hover {
  transform: scale(1.02);
}

.brand-description__text-wrapper {
  width: 100%;
}

.brand-description__text {
  font-size: 14px;
  line-height: 1.8;
  color: #3e3e3e;
  font-weight: 400;
  word-break: keep-all;
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.brand-description__text br {
  display: block;
  content: '';
  margin: 0.5em 0;
}

.brand-description__text p {
  display: block;
  margin: 0;
  padding: 0;
  margin-bottom: 1em;
}

.brand-description__text p:last-child {
  margin-bottom: 0;
}

.brand-description__text span {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  font-family: inherit;
}

/* 이미지만 있을 때 */
.brand-description:has(.brand-description__image-wrapper):not(:has(.brand-description__text-wrapper)) {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-description:has(.brand-description__image-wrapper):not(:has(.brand-description__text-wrapper)) .brand-description__image-wrapper {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 텍스트만 있을 때 */
.brand-description:has(.brand-description__text-wrapper):not(:has(.brand-description__image-wrapper)) {
  padding: 24px;
}
