/** Shopify CDN: Minification failed

Line 151:16 Expected ":"

**/
.ps-sbb {
  color: rgb(var(--color-foreground));
}

.ps-sbb__inner {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Header */
.ps-sbb__header {
  margin-bottom: 28px;
}

.ps-sbb__header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 6px;
}

.ps-sbb__title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ps-sbb__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 1;
}

.ps-sbb__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgb(var(--color-foreground));
  opacity: 1;
}

.ps-sbb__all-link:hover {
  opacity: 1;
}

.ps-sbb__chev {
  font-size: 18px;
  line-height: 1;
}

/* Layout */
.ps-sbb__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  align-items: start;
}

/* Left nav */
.ps-sbb__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  align-items: flex-start; /* ✅ stretch 방지 */
}

.ps-sbb__nav-item {
  appearance: none;
  border: 1px solid rgb(var(--color-border));
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  border-radius: 999px;
  padding: 0.2rem 1.8rem;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  width: fit-content;
  height: fit-content;
  font-weight: 600;
}

.ps-sbb__nav-item:hover {
  border-color: rgb(var(--color-foreground));
}

.ps-sbb__nav-item.is-active {
  background: rgb(var(--color-foreground));
  border-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}

/* Content panels */
.ps-sbb__content {
  min-width: 0;
}

.ps-sbb__panel {
  display: none;
}

.ps-sbb__panel.is-active {
  display: block;
}

/* 👉 이미지 높이 기준으로 전체 행 높이가 늘어나지 않도록 */
.ps-sbb__panel-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
  align-items: start;
}

/* Hero */
.ps-sbb__hero {
  border-radius: var(--onz-radius);
  overflow: hidden;
  background: rgb(var(--color-secondary-background));
}

.ps-sbb__hero-img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* ✅ 1:1 */
  object-fit: cover;
  display: block;
}

.ps-sbb__hero-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgb(var(--color-secondary-background));
}

/* Details */
.ps-sbb__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;s
}

/* Brand header */
.ps-sbb__brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* 🔒 로고 영역 높이 고정 */
.ps-sbb__brand-mark {
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ps-sbb__brand-logo {
  display: block;
  max-height: 100%;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

.ps-sbb__brand-fallback {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.ps-sbb__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-decoration: none;
  color: rgb(var(--color-foreground));
  opacity: 1;
  font-weight: 600;
  white-space: nowrap;
}

.ps-sbb__brand-link:hover {
  opacity: 1;
}

/* 🔒 Description: 줄 수 제한 */
.ps-sbb__desc {
  font-size: 14px;
  line-height: 1.4;
  opacity: 1;
  margin-bottom: 14px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* ✅ 4줄 제한 */
  overflow: hidden;
}

/* 🔒 Features: 최대 높이 제한 */
.ps-sbb__features {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 96px;      /* 약 3~4줄 */
  overflow: hidden;
}

.ps-sbb__feature {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.85;
}

.ps-sbb__feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgb(var(--color-border));
}

/* Products */
.ps-sbb__products {
  margin-top: auto;
}

.ps-sbb__products-title {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: auto;
}

.ps-sbb__products-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ps-sbb__thumbs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.ps-sbb__thumb {
  border-radius: var(--onz-radius);
  overflow: hidden;
  background: rgb(var(--color-secondary-background));
  display: block;
  border: 1px solid rgb(var(--color-border));
  text-decoration: none;
}

.ps-sbb__thumb:hover {
  border-color: rgb(var(--color-border));
}

.ps-sbb__thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ps-sbb__thumb-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgb(var(--color-secondary-background));
}

.ps-sbb__go {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgb(var(--color-border));
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.ps-sbb__go .ps-sbb__icon { padding: 0; }

.ps-sbb__go:hover {
  border-color: rgb(var(--color-foreground));
}

.ps-sbb__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.ps-sbb__icon svg {
  display: block;
  width: 12px;
  height: 12px;
}

/* Mobile */
@media (max-width: 989px) {


  .ps-sbb__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ps-sbb__nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    flex-wrap: wrap;
  }

  .ps-sbb__nav-item {
    white-space: nowrap;
  }

  .ps-sbb__panel-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ps-sbb__brand-mark {
    height: 30px;
  }

  .ps-sbb__brand-logo {
    max-width: 200px;
  }
}

/* ══ Figma Shop by Brand: 상단 가로 탭 + 좌 브랜드소개 / 우 상품 ══ */

/* 1) 탭을 상단 가로로 (좌측 세로 → 위) */
.ps-sbb__layout{
  display: block;
}

.ps-sbb__nav{
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;                     /* Best Sellers 탭과 동일 */
  margin-bottom: 24px;
}

.ps-sbb__nav-fade{ display: none; }

/* 탭 모양도 Best Sellers 와 통일 (캡슐 X · 활성 밑줄) */
.ps-sbb__nav-item{
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 0 6px;
  color: rgb(var(--color-foreground));
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  height: auto;
}

.ps-sbb__nav-item.is-active{
  background: transparent;
  color: rgb(var(--color-foreground));
  font-weight: 600;
  border-bottom-color: rgb(var(--color-foreground));
}

/* 2) Figma 에 없는 대형 히어로 이미지 · 상품수 라벨 · 중복 화살표 제거
      (화살표는 'Shop brand' 링크와 목적지가 같다) */
.ps-sbb__hero{ display: none; }
.ps-sbb__products-title{ display: none; }
.ps-sbb__go{ display: none; }

/* 3) 좌: 로고·설명·버튼 / 우: 상품 */
.ps-sbb__panel-grid{
  grid-template-columns: 1fr;
  gap: 0;
}

.ps-sbb__details{
  display: grid;
  grid-template-columns: 526px 1fr;   /* Figma: Banner Contents 526px */
  column-gap: 64px;
  align-items: start;
}

.ps-sbb__details > *{ grid-column: 1; }

.ps-sbb__products{
  grid-column: 2;
  grid-row: 1 / span 20;
  margin: 0;
}

@media (max-width: 989px){
  .ps-sbb__details{ grid-template-columns: 1fr; row-gap: 20px; }
  .ps-sbb__details > *,
  .ps-sbb__products{ grid-column: 1; grid-row: auto; }
  .ps-sbb__nav{ gap: 20px; }
  .ps-sbb__nav-item{ font-size: 16px; }
}

/* 브랜드 상품: Figma = 정식 상품 카드 3장 */
.ps-sbb__thumbs{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--onz-card-gap);
  align-items: start;
}

.ps-sbb__products-row{
  display: block;
  position: relative;
}

.ps-sbb__go{
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-140%);
}

@media (max-width: 989px){
  .ps-sbb__thumbs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 탭을 타이틀 우측으로 (Best Sellers 헤더와 동일한 배치) */
@media (min-width: 990px){
  .ps-sbb__inner{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 24px;
    align-items: baseline;   /* 타이틀·링크·탭을 같은 밑줄에 */
  }
  .ps-sbb__header{ grid-column: 1; grid-row: 1; margin-bottom: 28px; }
  .ps-sbb__layout{ display: contents; }
  .ps-sbb__nav{
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    margin: 0 0 28px;
  }
  .ps-sbb__content{ grid-column: 1 / -1; grid-row: 2; }
}

/* 타이틀과 옆 링크도 같은 밑줄에 (Top10 헤더와 동일) */
.ps-sbb__header-row{ align-items: baseline; }

/* 아래 여백은 다음 섹션이 갖는다 · 우측 상품열이 빈 행을 만들지 않게 */
.ps-sbb__inner{ padding-bottom: 0; }

/* 우측 상품열이 span 20 이라 좌측에 빈 행 17개가 생겼다 → 빈 행 높이 0 */
@media (min-width: 990px){
  .ps-sbb__details{ grid-auto-rows: min-content; }
}

/* 로고 → 설명 → 특징 → 버튼 순. 버튼은 brand-row 안에 있어
   그 줄을 투명하게(display:contents) 만들어 각자 행을 잡게 한다. */
@media (min-width: 990px){
  .ps-sbb__details{
    grid-template-rows: auto auto auto auto 1fr;
  }
  .ps-sbb__brand-row{ display: contents; }
  .ps-sbb__brand-mark{ grid-column: 1; grid-row: 1; margin-bottom: 32px; }
  .ps-sbb__desc      { grid-column: 1; grid-row: 2; margin-bottom: 18px; }
  .ps-sbb__features  { grid-column: 1; grid-row: 3; margin-bottom: 32px; }
  .ps-sbb__brand-link{ grid-column: 1; grid-row: 4; justify-self: start; }
  .ps-sbb__products  { grid-row: 1 / -1; }
}

/* 모바일에서는 상품을 2개만 */
@media (max-width: 989px){
  .ps-sbb__thumbs{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ps-sbb__thumbs > *:nth-child(n+3){ display: none; }
}

/* 탭을 타이틀 아래로 (앞서 우측 배치한 그리드를 되돌린다) */
@media (min-width: 990px){
  .ps-sbb__inner{ display: block; }
  .ps-sbb__layout{ display: block; }
  .ps-sbb__nav{
    justify-content: flex-start;
    margin: 12px 0 24px;
  }
}

/* 섹션 설명은 표시하지 않는다 */
.ps-sbb__subtitle{ display: none; }

/* 설명 글자 조금 키우기 */
.ps-sbb__desc,
.ps-sbb__desc p{ font-size: 16px; line-height: 1.6; }
.ps-sbb__features{ font-size: 15px; }

/* Figma: Shop brand 는 캡슐 버튼 — 평소 테두리만, 올리면 채워진다 */
.ps-sbb__brand-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: rgb(var(--color-foreground));
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
}
.ps-sbb__brand-link:hover{
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
  transform: scale(1.02);
}
.ps-sbb__brand-link .ps-sbb__icon{ display: none; }
/* 헤더 CTA — 우측 끝 · 화살표 · 탭 줄은 끝까지 펼침 */
.ps-sbb__header-row{ display: flex; width: 100%; align-items: baseline; }

.ps-sbb__all-link{
  font-size: 16px;
  font-weight: 400;
  margin-left: auto;
}
.ps-sbb__all-link svg{ display: none; }
.ps-sbb__all-link::after{
  content: '\2192';           /* → */
  font-size: 18px;
  line-height: 1;
  margin-left: 8px;
}

/* 화살표를 글자에 붙인다 (링크에 남아 있던 gap 제거) */
.ps-sbb__all-link{ gap: 0; }
.ps-sbb__all-link::after{ margin-left: 6px; }

/* 탭은 왼쪽부터 나란히 (Best Sellers 와 동일) */
@media (min-width: 990px){
  .ps-sbb__nav{ justify-content: flex-start; gap: 32px; width: auto; }
}

/* 화살표를 글꼴 문자 대신 SVG 로 (문자는 글꼴마다 모양이 달라진다) */
.ps-sbb__all-link::after{
  content: '';
  display: inline-block;
  width: 22px;
  height: 13px;
  margin-left: 7px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2014%22%3E%3Cpath%20d%3D%22M1%207h21M16%201.5%2022%207l-6%205.5%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2014%22%3E%3Cpath%20d%3D%22M1%207h21M16%201.5%2022%207l-6%205.5%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

/* 버튼 크기 = 히어로 기준 */
.ps-sbb__brand-link{ font-size:16px; font-weight:500; padding:8px 20px; min-height:43px; border-radius:999px; letter-spacing:normal; }

/* 대소문자·자간도 다른 버튼과 통일 (히어로 기준) */
.ps-sbb__brand-link{ text-transform: none; letter-spacing: normal; }

/* 모바일도 같은 순서: 로고 → 설명 → 특징 → 버튼
   (데스크톱 규칙이 min-width 990 안에만 있어 버튼이 로고 옆에 남아 있었다) */
@media (max-width: 989px){
  .ps-sbb__brand-row{ display: contents; }
  .ps-sbb__details{ display: grid; grid-template-columns: 1fr; }
  .ps-sbb__brand-mark{ order: 1; margin-bottom: 24px; }
  .ps-sbb__desc      { order: 2; margin-bottom: 14px; }
  .ps-sbb__features  { order: 3; margin-bottom: 24px; }
  .ps-sbb__brand-link{ order: 4; justify-self: start; margin-bottom: 32px; }
  .ps-sbb__products  { order: 5; }
}

/* 슬라이더 최대값(320)까지 커질 수 있게 상한을 올린다 */
.ps-sbb__brand-logo{ max-width: 320px; }

/* Shopify 가 이미지 초점을 인라인으로 박아 로고가 한쪽으로 치우쳤다
   (로고에는 초점 개념이 필요 없다) */
.ps-sbb__brand-logo{
  object-fit: contain;
  object-position: left center !important;
  height: auto;
}
