.shop-remaining-price-btn {
  padding: 4px 10px;
  background: #222;
  color: #eee;
  border: 1px solid #555;
  border-radius: 5px;
  font-weight: bold;
  font-size: 13px;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
}
.shop-remaining-price-btn:disabled {
  background: #333;
  color: #888;
  border: 1px solid #444;
}
.shop-remaining-price-btn .label {
  margin-right: 6px;
}
.shop-remaining-price-btn .price-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shop-price-icon {
  width: 16px;
  vertical-align: middle;
  margin-right: 2px;
}
.shop-buy-btn {
  padding: 6px 18px;
  background: #444;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.shop-buy-btn:disabled {
  background: #555;
  color: #ccc;
  cursor: not-allowed;
}
.shop-buy-all-btn {
  padding: 4px 10px;
  background: #777;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  margin-left: 6px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
  height: 32px;
}
 .shop-buy-all-btn .label {
  margin-right: 6px;
}
 .shop-buy-all-btn .price-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
 .shop-price-icon {
  width: 16px;
  vertical-align: middle;
  margin-right: 2px;
}
 .shop-buy-all-btn:disabled {
  background: #555;
  color: #ccc;
  cursor: not-allowed;
}


/* 상점 */

.shop-section {
  margin-top: 24px;
  padding: 12px;
  border: 2px solid #666;
  border-radius: 8px;
  background-color: #222;
  color: white;
}

.shop-header h2 {
  margin-bottom: 10px;
}

.shop-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.shop-toggle-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.shop-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.shop-content {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.shop-content.collapsed {
  max-height: 0;
}

.shop-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.shop-filter {
  padding: 4px 12px;
  border: none;
  background-color: #444;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.shop-filter.selected {
  background-color: #888;
}

.shop-item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.shop-item {
  border: 1px solid #555;
  background-color: #333;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
}

.shop-item img {
  width: 80px;
  object-fit: contain;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .shop-item-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  #shop-remaining-price-bar {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }    
}