/* 프라임 회원 스토어 스타일 */
.prime-store-container {
  width: 100%;
}

.prime-store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.prime-store-header h2 {
  font-size: 24px;
  font-weight: bold;
  color: #dd553a;
}

.prime-store-register a {
  font-size: 16px;
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prime-store-register a:hover {
  background-color: #555;
}

.prime-store-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
}

.prime-store-item {
  width: calc(20% - 20px); /* 기본: 한 줄에 5개의 아이템 */
  background-color: white;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.prime-store-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 반응형 디자인 */
/* 화면이 1200px 이하일 때 한 줄에 4개 */
@media (max-width: 1200px) {
  .prime-store-item {
    width: calc(25% - 20px); /* 한 줄에 4개의 아이템 */
  }
}

/* 화면이 992px 이하일 때 한 줄에 3개 */
@media (max-width: 992px) {
  .prime-store-item {
    width: calc(33.33% - 20px); /* 한 줄에 3개의 아이템 */
  }
  .prime-store-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #dd553a;
  }
  .prime-store-register a {
    padding: 5px;
    font-size: 14px;
  }
  .prime-store-register a {
    font-size: 14px;
  }
}

/* 화면이 768px 이하일 때 한 줄에 2개 */
@media (max-width: 768px) {
  .prime-store-item {
    width: calc(50% - 20px); /* 한 줄에 2개의 아이템 */
  }
}

/* 화면이 480px 이하일 때 한 줄에 1개 */
@media (max-width: 480px) {
  .prime-store-item {
    width: calc(50% - 20px); /* 한 줄에 2개의 아이템 */
  }
}
