/* ✅ 스킨 모드 전체 레이아웃 */
body.skin-mode #shopContent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  padding-top: 10px;
}

/* ✅ 세로형 카드 기본 스타일 */
body.skin-mode .item-box {
  width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;

  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  position: relative;
  box-sizing: border-box;
}

/* ✅ 이미지 영역 */
body.skin-mode .item-image-wrapper {
  width: 160px;
  height: 120px;
  margin-bottom: 10px;
}

body.skin-mode .item-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

body.skin-mode .item-img.wide-image {
  height: 120px;
  object-fit: contain;
}

body.skin-mode .item-img.tall-image {
  width: auto;
  height: 160px;
  object-fit: contain;
}

body.skin-mode .item-img.square-image {
  height: 150px;
  object-fit: contain;
}

/* ✅ 배지 위치 */
body.skin-mode .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 12px;
  font-weight: bold;
}

/* ✅ 이름 */
body.skin-mode .item-name {
  font-size: 16px;
  font-weight: bold;
  margin: 4px 0 6px;
  display: block;              /* ✅ 줄바꿈을 위한 블록 요소 지정 */
  text-align: center;          /* ✅ 가운데 정렬 */
}

/* ✅ 찜, 수량, 장바구니 한 줄 */
body.skin-mode .item-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

body.skin-mode .item-actions input[type="number"] {
  width: 45px;
  padding: 4px;
  font-size: 14px;
  text-align: center;
}

body.skin-mode .item-actions .wishlist {
  font-size: 18px;
  cursor: pointer;
}

body.skin-mode .item-actions .add-to-cart {
  padding: 4px 10px;
  font-size: 14px;
  background-color: #ffde59;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ✅ 설명 */
body.skin-mode .item-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

/* ✅ 가격 */
body.skin-mode .item-price {
  font-size: 15px;
  font-weight: bold;
  color: #222;
}

/* ✅ 스킨 필터 영역 */
#skinTypeFilter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

#skinTypeSelect {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

body.skin-mode .item-info-header {
  display: flex;
  flex-direction: column;   /* ✅ 수직 정렬 */
  align-items: center;
  gap: 4px;
}
